Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
lock

GitHub Action

testssl.sh Scan

v2

testssl.sh Scan

lock

testssl.sh Scan

A GitHub Action for scanning a host with testssl.sh and comparing the result against a minimum accepted grade

Installation

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

              

- name: testssl.sh Scan

uses: mbogh/test-ssl-action@v2

Learn more about this action in mbogh/test-ssl-action

Choose a version

Testssl.sh Action

A GitHub Action for scanning a host with testssl.sh and comparing the result against a minimum accepted grade.

Inputs

  • host: The host to scan with testssl.sh (Required)
  • image: Docker image to run testssl.sh (Default: drwetter/testssl.sh)
  • output: Folder for scan reports (Default: output)
  • grade: Minimum accepted grade (Default: A+)
  • options: Additionnal testssl.sh CLI options (Default: --jsonfile /data --csvfile /data --htmlfile /data)

Outputs

The scan result will be placed in the output folder, the result will be available as html, json and csv following the naming convension ${NODE}-p${port}${YYYYMMDD-HHMM}.(html|json|csv)

Example usage

- name: testssl.sh Scan
  uses: mbogh/test-ssl-action@v1
  with:
    host: 'example.com'
- uses: actions/upload-artifact@v2
  if: always()
  with:
    name: testssl.sh reports
    path: 'output/*'