HUB
Sign inSign up

ajeetraina777/sbx-kits-blackduck:latest

Multi-platform
Manifest digest

sha256:24798f9f637f32d40703056b9dfff02d7d757e30141d0ee826b0d3d2b9f002fb

Last pushed

23 days by ajeetraina777

Type

Sandbox Kit

Manifest digest

sha256:24798f9f637f32d40703056b9dfff02d7d757e30141d0ee826b0d3d2b9f002fb

yaml
schemaVersion: "3"
displayName: Black Duck Detect
description: Black Duck Detect SCA scanner, bundled with a relocatable Temurin JRE so the overlay runs on any agent workload. Drops `detect` on PATH for software composition analysis against a Black Duck SCA (Hub) server.
sourceUrl: https://github.com/blackducksoftware/detect
version: 12.1.0
licenses:
    - LicenseRef-BlackDuck-Commercial
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        install:
            allow:
                - repo.blackduck.com
                - api.adoptium.net
                - github.com
                - objects.githubusercontent.com
        runtime:
            allow:
                - blackduck.example.com
    - type: com.docker.sandbox/credential@1
      config:
        apiKey:
            name: BLACKDUCK_API_TOKEN
        phase: runtime
        service: blackduck
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/blackduck-detect/blackduck-detect-context.md
args:
    blackduckHost:
        default: blackduck.example.com
        description: Hostname of your Black Duck SCA (Hub) server, used for BLACKDUCK_URL and the runtime egress allow-list
        pattern: ^[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$
        buildArg: BLACKDUCK_HOST
    javaVersion:
        default: "17"
        description: Temurin (Adoptium) JRE LTS feature version to bundle
        pattern: ^(11|17|21)$
        buildArg: JAVA_FEATURE_VERSION
    version:
        default: 12.1.0
        description: Black Duck Detect release to bundle (served from repo.blackduck.com)
        pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
        buildArg: DETECT_VERSION