-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
54 lines (48 loc) · 1.73 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
name: 'Sonatype GitHub Actions'
description: 'A set of actions to identify vulnerabilities in your workflows using Sonatype''s security solutions.'
author: 'Sonatype'
branding:
icon: 'shield'
color: 'purple'
# Define your inputs here.
inputs:
iq-server-url:
description: 'Lifecycle (IQ Server) URL (e.g. http://localhost:8070).'
required: true
username:
description: 'The username to authenticate with Lifecycle (IQ Server).'
required: true
password:
description: 'The password to authenticate with Lifecycle (IQ Server).'
required: true
application-id:
description:
'Lifecycle (IQ Server) application ID. When Automatic Applications is enabled and the application ID has not yet
been used, a new application will be created with the given ID.'
required: true
scan-targets:
description:
'Space-separated list of paths to specific files, directories, or docker images. Apache Ant-styled patterns are
allowed.'
required: true
# Define your outputs here.
outputs:
scan-id:
value: ${{ steps.evaluate.outputs.scan-id }}
description:
'Scan id result of the run operation. It can be used to access the Lifecycle report of related artifacts.'
report-url:
value: ${{ steps.evaluate.outputs.report-url }}
description: 'Link to navigate directly to the analysis report in Lifecycle (IQ Server).'
runs:
using: 'composite'
steps:
- name: Evaluate
id: evaluate
uses: sonatype/actions/evaluate@v1.1.2
with:
iq-server-url: ${{ inputs.iq-server-url }}
username: ${{ inputs.username }}
password: ${{ inputs.password }}
application-id: ${{ inputs.application-id }}
scan-targets: ${{ inputs.scan-targets }}