Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 842 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 842 Bytes

sds-managed-policy-mapper

Generate a HTML report mapping custom policies to managed policies in Sysdig Secure

Usage

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")

Building

go build -o sds-policy-mapper cmd/mapper.go