st2 rule-enforcement list
Get the list of the 50 most recent rule enforcements
Options
Name | Description |
---|---|
-h, --help | Show this help and exit |
-t, --token <TOKEN> | Access token for user authentication. Get ST2_AUTH_TOKEN from the environment variables by default |
--api-key <API_KEY> | Api Key for user authentication. Get ST2_API_KEY from the environment variables by default |
-j, --json | Print output in JSON format |
-y, --yaml | Print output in YAML format |
-tg, timestamp-gt <TIMESTAMP_GT> | Only return executions with timestamp greater than the one provided. Use time in the format '2000-01-01T12:00:00.000Z' |
-tl, timestamp-lt <TIMESTAMP_LT> | Only return executions with timestamp lower than the one provided. Use time in the format '2000-01-01T12:00:00.000Z' |
--attr <ATTR...> | List of attributes to include in the output. 'all' or unspecified will return all attributes |
-w, --width <WIDTH...> | Set the width of the columns in output |
--trigger_instance <TRIGGER_INSTANCE> | Trigger instance id to filter the list |
-e, --execution <EXECUTION> | Execution to filter the list |
-r, --rule <RULE> | Rule to filter the list |