Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbogh/test-ssl-action

testssl.sh GitHub Action
https://github.com/mbogh/test-ssl-action

Last synced: 4 months ago
JSON representation

testssl.sh GitHub Action

Awesome Lists containing this project

README

        

# Testssl.sh Action

A GitHub Action for scanning a host with [testssl.sh](https://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

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