Skip to content

Acunetix360/Acunetix-360-GitHub-Actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]
        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 }}"