Skip to content
radio

GitHub Action

Acunetix 360 Scan

v0.1.0 Latest version

Acunetix 360 Scan

radio

Acunetix 360 Scan

Acunetix 360 Scanner allows client actions to start scan tasks

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Acunetix 360 Scan

uses: Acunetix360/Acunetix-360-GitHub-Actions@v0.1.0

Learn more about this action in Acunetix360/Acunetix-360-GitHub-Actions

Choose a version

Acunetix 360 Scan

This action requests a scan on Acunetix 360.

Inputs

website-id:

Required Unique Id for your website on Acunetix 360.

scan-type:

Required Requested scan type for scan.

profile-id:

Optional Unique profile Id for your requested website scan profile on Acunetix 360.

user-id:

Required User Id on Acunetix 360 API Credentials. Use GitHub Secrets.

api-token:

Required API Token on Acunetix 360 API Credentials. Use GitHub Secrets.

base-url:

Optional Website URL for Acunetix 360.

Outputs

scan-message:

Scan message for requested scan.

Example Scan Workflow

name: Acunetix 360 Scan Sample Workflow

on:
  push:
    branches: [ main ]

jobs:
  acunetix_scan_job:
    runs-on: ubuntu-20.04
    steps:
      # Starts actions with given inputs
      - name: Start Acunetix 360 Scan
        id: acunetix-360-scan-step
        uses: Acunetix360/Acunetix-360-GitHub-Actions@v0.1.0
        with:
          website-id: '******' # FILL HERE
          scan-type: 'FullWithSelectedProfile'
          profile-id: '******' # FILL HERE
          user-id: ${{ secrets.ACUNETIX_USER_ID }}
          api-token: ${{ secrets.ACUNETIX_API_TOKEN }}
          base-url: 'https://online.acunetix.com'
      # Displays output for action
      - name: Display Scan Request Message
        run: echo "${{ steps.acunetix-360-scan-step.outputs.scan-message }}"