You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SafeDep Cloud integration allows vet to sync its finding with SafeDep Cloud. The newly introduced ListPolicyViolation API can be used to provide a TUI in vet to continuously monitor for policy violations across all repositories and take action based on the policy violation. For example, notify a slack channel when a specific policy violation occurs.
Example usage:
vet cloud policy-violations monitor
This should start the TUI and interactively show all violations as and when they occur. The violations will be sorted by time and the most recent violation will be shown on top.
Optionally invoke an action when a new violation is found since a time
vet cloud policy-violations monitor --since now --exec 'python /path/to/script.py'
/path/to/script.py will be invoked with 1 arg containing file path to the JSON contents of the policy violation message.
The text was updated successfully, but these errors were encountered:
SafeDep Cloud integration allows
vet
to sync its finding with SafeDep Cloud. The newly introducedListPolicyViolation
API can be used to provide a TUI invet
to continuously monitor for policy violations across all repositories and take action based on the policy violation. For example, notify a slack channel when a specific policy violation occurs.Example usage:
This should start the TUI and interactively show all violations as and when they occur. The violations will be sorted by time and the most recent violation will be shown on top.
Optionally invoke an action when a new violation is found since a time
/path/to/script.py
will be invoked with 1 arg containing file path to the JSON contents of the policy violation message.The text was updated successfully, but these errors were encountered: