Sign inSign up

djordjelukic1639080/cbx-example-github-web:1

Multi-platform
Manifest digest

sha256:aa424a904459e07b40735fc03f9f32bbf1301cf306df52210622ee595ee62375

Last pushed

17 days by djordjelukic1639080

Type

Sandbox Kit

Manifest digest

sha256:aa424a904459e07b40735fc03f9f32bbf1301cf306df52210622ee595ee62375

yaml
schemaVersion: "3"
displayName: GitHub on the web
description: 'Opens github.com and GitHub''s API and content hosts to the sandbox, for browsing, curl and tools that talk to GitHub. Composed with github-repo it lifts that mixin''s one-repository confinement: add it only when the agent should reach the rest of GitHub.'
version: 1.0.0
kind: mixin
provides:
    - [email protected]
capabilities:
    - group:
        name: github-web
        capabilities:
            - type: com.docker.sandbox/network-policy@2
              config:
                runtime:
                    allow:
                        - github.com
                        - api.github.com
                        - raw.githubusercontent.com
                        - codeload.github.com
                        - release-assets.githubusercontent.com
            - type: com.docker.sandbox/agent-context@1
              config:
                content: |
                    github.com, api.github.com and GitHub's content hosts
                    (raw.githubusercontent.com, codeload.github.com,
                    release-assets.githubusercontent.com) are reachable over HTTPS.