Use this action to scan a web application with the StackHawk dynamic application security testing (DAST) scanner.
All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The StackHawk token. |
|
String |
Yes |
The StackHawk application ID. |
|
String |
Yes |
The application environment name. |
|
String |
Yes |
The authorization type. Supported types are:
|
|
String |
Yes |
The application paths to scan. |
|
String |
Yes |
The file path to comparison test, which contains known security vulnerabilities. |
|
String |
Yes |
The application URL. |
|
String |
Required only if |
The form field name of the application username. |
|
String |
Required only if |
The form field name of the application password. |
|
String |
Required only if |
The application username. |
|
String |
Required only if |
The application password. |
|
String |
Required only if |
The StackHawk domain. |
|
String |
Required only if |
The StackHawk client ID. |
|
String |
Required only if |
The StackHawk client secret. |
Usage examples
The following display an example of each authorization type in use.
No authorization
In the case of auth-type: "noauth"
:
- name: Scan with StackHawk noauth uses: cloudbees-io/stackhawk-dast-scan-environment@v1 with: token: ${{ secrets.STACKHAWK_TOKEN }} app-id: "your-application-id" environment: "Development" auth-type: "noauth" paths: "/components1,/components2" test-path: "/component-test" url: "https://example.com"