Checks the rules.yaml
and namespace
in the registry repo.
Add the following to your .github/workflows/scanner-registry.yml
:
name: Scan Rules DB and Namespaces
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- synchronize
jobs:
scan_job:
name: Scanner Registry Action
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Scan Registry
uses: boostsecurityio/scanner-registry-action@v1
with:
api_token: ${{ secrets.BOOST_API_TOKEN }}
The url for the boost backend. Defaults to https://api.boostsecurity.net
.
The authentication token for the boost backend.
The path to the module.yaml
file in the registry repo. Defaults to scanners/
.
The path to the rules.yaml
file in the registry repo. Defaults to rules-realm/
.
The url for boost documentation. Defaults to https://docs.boostsecurity.net
.