Generate a HTML report mapping custom policies to managed policies in Sysdig Secure
To generate a report, provide at minimum the URL to your Sysdig Secure instance and a Secure API token. The token will need to be generated by a user with permission to read runtime policies.
./sds-policy-mapper --help
sds-policy-mapper v0.1.0 - Sysdig Secure Managed Policy Mapper
Flags:
-browser
Automatically open report in browser
-help
Get help on the 'sds-policy-mapper' command.
-output string
Path to file for writing report (default "policies.html")
-secure-token string
API token for Sysdig Secure (env: SECURE_API_TOKEN)
-secure-url string
URL for Sysdig Secure (default "https://secure.sysdig.com")
go build -o sds-policy-mapper cmd/mapper.go