fix: correct aikido references
All checks were successful
validate-shared-actions / validate-shared-actions (pull_request) Successful in 1m1s
All checks were successful
validate-shared-actions / validate-shared-actions (pull_request) Successful in 1m1s
This commit is contained in:
parent
a51fbccdc1
commit
d76b222340
8 changed files with 2 additions and 2 deletions
4
.forgejo/actions/internal-aikido-full-scan/Dockerfile
Normal file
4
.forgejo/actions/internal-aikido-full-scan/Dockerfile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
FROM aikidosecurity/local-scanner:latest
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
31
.forgejo/actions/internal-aikido-full-scan/action.yml
Normal file
31
.forgejo/actions/internal-aikido-full-scan/action.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
name: Aikido Security Release Scan
|
||||
description: Run an Aikido local full release scan (scheduled / post-merge)
|
||||
|
||||
inputs:
|
||||
apikey:
|
||||
description: Aikido CI API key
|
||||
required: true
|
||||
organization:
|
||||
description: Organization or owner name
|
||||
required: true
|
||||
repository-name:
|
||||
description: Repository name
|
||||
required: true
|
||||
branch-name:
|
||||
description: Branch to scan against
|
||||
default: main
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
args:
|
||||
- --apikey
|
||||
- ${{ inputs.apikey }}
|
||||
- --repositoryname
|
||||
- ${{ inputs.organization }}/${{ inputs.repository-name }}
|
||||
- --branchname
|
||||
- ${{ inputs.branch-name }}
|
||||
- --force-create-repository-for-branch
|
||||
- --include-dev-deps
|
||||
|
||||
2
.forgejo/actions/internal-aikido-full-scan/entrypoint.sh
Normal file
2
.forgejo/actions/internal-aikido-full-scan/entrypoint.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec aikido-local-scanner scan "${GITHUB_WORKSPACE:-.}" "$@"
|
||||
4
.forgejo/actions/internal-aikido-pr-scan/Dockerfile
Normal file
4
.forgejo/actions/internal-aikido-pr-scan/Dockerfile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
FROM aikidosecurity/local-scanner:latest
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
46
.forgejo/actions/internal-aikido-pr-scan/action.yml
Normal file
46
.forgejo/actions/internal-aikido-pr-scan/action.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
name: Aikido Security PR Scan
|
||||
description: Run an Aikido local PR diff scan (detects newly introduced issues)
|
||||
|
||||
inputs:
|
||||
apikey:
|
||||
description: Aikido CI API key
|
||||
required: true
|
||||
organization:
|
||||
description: Organization or owner name
|
||||
required: true
|
||||
repository-name:
|
||||
description: Repository name
|
||||
required: true
|
||||
base-commit-id:
|
||||
description: Base commit SHA
|
||||
required: true
|
||||
head-commit-id:
|
||||
description: Head commit SHA
|
||||
required: true
|
||||
branch-name:
|
||||
description: Branch name
|
||||
required: true
|
||||
fail-on:
|
||||
description: 'Minimum severity to fail on: low, medium, high, critical'
|
||||
default: high
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
args:
|
||||
- --apikey
|
||||
- ${{ inputs.apikey }}
|
||||
- --repositoryname
|
||||
- ${{ inputs.organization }}/${{ inputs.repository-name }}
|
||||
- --branchname
|
||||
- ${{ inputs.branch-name }}
|
||||
- --gating-mode
|
||||
- pr
|
||||
- --fail-on
|
||||
- ${{ inputs.fail-on }}
|
||||
- --base-commit-id
|
||||
- ${{ inputs.base-commit-id }}
|
||||
- --head-commit-id
|
||||
- ${{ inputs.head-commit-id }}
|
||||
- --include-dev-deps
|
||||
2
.forgejo/actions/internal-aikido-pr-scan/entrypoint.sh
Normal file
2
.forgejo/actions/internal-aikido-pr-scan/entrypoint.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec aikido-local-scanner scan "${GITHUB_WORKSPACE:-.}" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue