-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
37 lines (34 loc) · 1.3 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
31
32
33
34
35
36
37
name: 'Akto CI/CD'
description: 'Secure your APIs using Akto scan in your GitHub workflow'
author: 'Akto'
inputs:
AKTO_DASHBOARD_URL:
required: true
description: 'URL of your Akto dashboard. Note that this should be whitelisted from your VPC for GitHub to access'
AKTO_API_KEY:
required: true
description: 'Akto API Key for CI/CD Integration'
AKTO_TEST_ID:
required: true
description: 'Id of the test that you want to run'
START_TIME_DELAY:
required: false
description: 'You can add a delay of N seconds before Akto starts testing your APIs. Please put the value more than the time it takes your API server to boot up and initialize'
OVERRIDDEN_TEST_APP_URL:
required: false
description: 'Run tests on a different application host'
WAIT_TIME_FOR_RESULT:
required: false
description: 'Time to wait for Akto test results to complete. If it takes more time that defined, pull requests passes. Set to 0 if you want to run tests, but not block the PR'
BLOCK_LEVEL:
required: false
description: 'If vulnerabilties equal to or higher are found, the PR is failed. Set as HIGH, MEDIUM, LOW, NONE'
GITHUB_COMMIT_ID:
required: false
description: 'Github commit head sha'
runs:
using: 'node16'
main: 'index.js'
branding:
icon: 'play'
color: 'purple'