Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions release/scan-image-vulnerabilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ URL of the ACS/RHACS Central instance to use for scanning.

Example: `"https://central.example.com"`

## Outputs

| Output | Description |
|----------------|----------------------------------------------------------------------|
| `result-path` | Path to the scan image result JSON for further inspection or upload. |

## Usage

The action integrates with the [stackrox/central-login](https://github.com/stackrox/central-login) action, which uses OIDC login for authentication of the `roxctl` CLI.
Expand Down
6 changes: 6 additions & 0 deletions release/scan-image-vulnerabilities/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ inputs:
description: "ACS Central URL"
required: true

outputs:
result-path:
description: "Path to a JSON file with the scan results"
value: ${{ steps.scan-image-vulnerabilities.outputs.result-path }}

runs:
using: composite
steps:
Expand All @@ -44,6 +49,7 @@ runs:
central-token: ${{ env.ROX_API_TOKEN }}

- name: Scan image for fixable vulnerabilities
id: scan-image-vulnerabilities
shell: bash
run: |
set -uo pipefail
Expand Down
Loading