A GitHub Action for installing Mondoo Client within a workflow.
The Mondoo Setup Action has properties which are passed to the underlying image. These are passed to the action using with
.
Property | Required | Default | Description |
---|---|---|---|
args |
false | Additional arguments to pass to Mondoo Client. | |
log-level |
false | info | Sets the log level: error, warn, info, debug, trace (default "info") |
output |
false | compact | Set the output format for scan results: compact, yaml, json, junit, csv, summary, full, report (default "compact") |
service-account-credentials |
true | Base64 encoded service account credentials used to authenticate with Mondoo Platform |
Use this action to install Mondoo into an existing workflow and run mondoo
along with any subcommands using the args
property:
name: Mondoo status
on: push
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mondoohq/actions/setup@main
with:
service-account-credentials: ${{ secrets.MONDOO_SERVICE_ACCOUNT }}
args: status