-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d131eda
commit 269484a
Showing
4 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,54 @@ | ||
name: 'Sonatype GitHub Actions' | ||
description: 'A set of Sonatype actions for checking your applications for vulnerabilities' | ||
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: | ||
- uses: sonatype/actions/evaluate@v1 | ||
- name: Evaluate | ||
id: evaluate | ||
uses: sonatype/actions/[email protected] | ||
with: | ||
iq-server-url: ${{ inputs.iq-server-url }} | ||
username: ${{ inputs.username }} | ||
password: ${{ inputs.password }} | ||
application-id: ${{ inputs.application-id }} | ||
scan-targets: ${{ inputs.scan-targets }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters