-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
30 lines (29 loc) · 1.03 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
name: "NowSecure: Mobile SBOM"
description: "Generate a Mobile SBOM for an application and submit to the Dependency submission API"
inputs:
platform_token:
required: true
description: "NowSecure Platform token."
group_id:
required: true
description: "Group ID for the application in Platform."
app_file:
required: true
description: "Application binary to scan on NowSecure. Must be an Android or iOS application."
runs:
using: "composite"
steps:
- id: upload
uses: nowsecure/nowsecure-action/upload-app@v4
with:
platform_token: ${{ inputs.platform_token }}
app_file: ${{ inputs.app_file }}
group_id: ${{ inputs.group_id }}
- id: pull_report
uses: nowsecure/nowsecure-action/convert-sarif@v4
with:
report_id: ${{ steps.upload.outputs.report_id }}
platform_token: ${{ inputs.platform_token }}
group_id: ${{ inputs.group_id }}
enable_dependencies: true
enable_sarif: false