-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
42 lines (38 loc) · 1.52 KB
/
Copy pathaction.yml
File metadata and controls
42 lines (38 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'Burling AIP Conformance'
description: 'Validate AIP (Agent Identity Protocol) identity documents and capability tokens, emitting SARIF for code scanning.'
author: 'goweft'
branding:
icon: 'shield'
color: 'purple'
inputs:
token:
description: 'Path to the artifact to validate (a compact IBCT, or an identity document for validate-identity), relative to the repository root.'
required: true
command:
description: 'burling subcommand: lint (all checks, recommended), validate, validate-identity, or audit-chain.'
required: false
default: 'lint'
strict:
description: 'Promote WARNING findings to failures (passes --strict to burling). This affects the SARIF result levels burling reports.'
required: false
default: 'false'
fail-on-error:
description: 'Fail this step when burling reports an ERROR finding. Default false so a later upload-sarif step still runs; set true to gate the build here instead of in code scanning.'
required: false
default: 'false'
output:
description: 'Path to write the SARIF document, relative to the repository root.'
required: false
default: 'burling.sarif'
outputs:
sarif-file:
description: 'Path to the generated SARIF file. Feed this to github/codeql-action/upload-sarif.'
runs:
using: 'docker'
image: 'Dockerfile'
env:
BURLING_COMMAND: ${{ inputs.command }}
BURLING_TOKEN: ${{ inputs.token }}
BURLING_STRICT: ${{ inputs.strict }}
BURLING_FAIL_ON_ERROR: ${{ inputs.fail-on-error }}
BURLING_OUTPUT: ${{ inputs.output }}