Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/workflows/example-fix-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: tj-actions/changed-files@v35
- uses: kubescape/github-action@main
with:
version: latest
account: ${{ secrets.KUBESCAPE_ACCOUNT }}
accessKey: ${{ secrets.KUBESCAPE_ACCESS_KEY }}
server: ${{ vars.KUBESCAPE_SERVER }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/example-fix-pr-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
uses: tj-actions/changed-files@v35
- uses: kubescape/github-action@main
with:
version: latest
account: ${{secrets.KUBESCAPE_ACCOUNT}}
accessKey: ${{secrets.KUBESCAPE_ACCESS_KEY}}
accessKey: ${{ secrets.KUBESCAPE_ACCESS_KEY }}
server: ${{ vars.KUBESCAPE_SERVER }}
files: ${{ steps.changed-files.outputs.all_changed_files }}
fixFiles: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/example-scan-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: kubescape/github-action@main
continue-on-error: true
with:
version: latest
image: quay.io/kubescape/kubescape:v3.0.3
format: sarif
outputFile: results.sarif
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/example-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: kubescape/github-action@main
continue-on-error: true
with:
version: latest
format: sarif
outputFile: results.sarif
# Kubescape Portal credentials
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [ -n "${INPUT_FRAMEWORKS}" ] && [ -n "${INPUT_CONTROLS}" ]; then
fi

if [ -z "${INPUT_FRAMEWORKS}" ] && [ -z "${INPUT_CONTROLS}" ] && [ -z "${INPUT_IMAGE}" ]; then
echo "Scannign scope is not specified. Scanning all frameworks"
echo "Scanning scope is not specified. Scanning all frameworks"
INPUT_FRAMEWORKS="all"
fi

Expand Down
Loading