-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
102 lines (102 loc) · 4.07 KB
/
action.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
name: valint_discard
description: Discard evidence
author: ""
inputs:
target:
description: Target object name format=[<image:tag>, <dir path>, <git url>]
required: true
current:
description: Discard evidence attached to the current context
interactive:
description: Force interactive mode for the discard list
ref:
description: Evidence store refrence
silent:
description: Automatically accept the discard list
store:
description: Select evidence store
cache-enable:
description: Enable local cache
config:
description: Configuration file path
deliverable:
description: Mark as deliverable, options=[true, false]
env:
description: Environment keys to include in evidence
gate:
description: Policy Gate name
label:
description: Add Custom labels
level:
description: Log depth level, options=[panic fatal error warning info debug trace]
log-context:
description: Attach context to all logs
log-file:
description: Output log to file
output-directory:
description: Output directory path
default: ./scribe/valint
output-file:
description: Output file name
pipeline-name:
description: Pipeline name
predicate-type:
description: Custom Predicate type (generic evidence format)
product-key:
description: Product Key
product-version:
description: Product Version
scribe-client-id:
description: Scribe Client ID (deprecated)
scribe-client-secret:
description: Scribe Client Token
scribe-disable:
description: Disable scribe client
scribe-enable:
description: Enable scribe client (deprecated)
scribe-url:
description: Scribe API Url
structured:
description: Enable structured logger
timeout:
description: Timeout duration
verbose:
description: Log verbosity level [-v,--verbose=1] = info, [-vv,--verbose=2] = debug
runs:
using: docker
image: docker://scribesecuriy.jfrog.io/scribe-docker-public-local/valint:v1.5.14
args:
- discard
- ${{ inputs.target }}
- ${{ inputs.current && '--current=' }}${{ inputs.current }}
- ${{ inputs.interactive && '--interactive=' }}${{ inputs.interactive }}
- ${{ inputs.ref && '--ref=' }}${{ inputs.ref }}
- ${{ inputs.silent && '--silent=' }}${{ inputs.silent }}
- ${{ inputs.store && '--store=' }}${{ inputs.store }}
- ${{ inputs.cache-enable && '--cache-enable=' }}${{ inputs.cache-enable }}
- ${{ inputs.config && '--config=' }}${{ inputs.config }}
- --context-type=github
- ${{ inputs.deliverable && '--deliverable=' }}${{ inputs.deliverable }}
- ${{ inputs.env && '--env=' }}${{ inputs.env }}
- ${{ inputs.gate && '--gate=' }}${{ inputs.gate }}
- ${{ inputs.label && '--label=' }}${{ inputs.label }}
- ${{ inputs.level && '--level=' }}${{ inputs.level }}
- ${{ inputs.log-context && '--log-context=' }}${{ inputs.log-context }}
- ${{ inputs.log-file && '--log-file=' }}${{ inputs.log-file }}
- ${{ inputs.output-directory && '--output-directory=' }}${{ inputs.output-directory }}
- ${{ inputs.output-file && '--output-file=' }}${{ inputs.output-file }}
- ${{ inputs.pipeline-name && '--pipeline-name=' }}${{ inputs.pipeline-name }}
- ${{ inputs.predicate-type && '--predicate-type=' }}${{ inputs.predicate-type }}
- ${{ inputs.product-key && '--product-key=' }}${{ inputs.product-key }}
- ${{ inputs.product-version && '--product-version=' }}${{ inputs.product-version }}
- ${{ inputs.scribe-client-id && '--scribe.client-id=' }}${{ inputs.scribe-client-id }}
- ${{ inputs.scribe-client-secret && '--scribe.client-secret=' }}${{ inputs.scribe-client-secret }}
- ${{ inputs.scribe-disable && '--scribe.disable=' }}${{ inputs.scribe-disable }}
- ${{ inputs.scribe-enable && '--scribe.enable=' }}${{ inputs.scribe-enable }}
- ${{ inputs.scribe-url && '--scribe.url=' }}${{ inputs.scribe-url }}
- ${{ inputs.structured && '--structured=' }}${{ inputs.structured }}
- ${{ inputs.timeout && '--timeout=' }}${{ inputs.timeout }}
- ${{ inputs.verbose && '--verbose=' }}${{ inputs.verbose }}
branding:
icon: shield
color: green