Run wiretap in headless modeStream violations to a file.
Avoid the Monitor UI
To use wiretap as a part of a pipeline or to integrate it into your CI/CD process, you can run wiretap in headless mode.
This will run wiretap as normal, except the violations that are captured will be streamed to a file.
This is in addition to being streamed to the monitor UI.
a flag to stream violations to a file:
By default the violations will be streamed to
wiretap-report.json in the current working directory. You can change this by using the
The report file will be created if it doesn’t exist, and will be overwritten if it does exist.
wiretap can be stopped whenever everything is captured, the log is streamed, so you can stop it at any time.