st2 rule list
Get the list of the 50 most recent rules
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 |
--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 |
-n, --last <LAST> | List N most recent; use -n -1 to fetch the full result set |
--iftt | Show trigger and action in display list |
-p, --pack <PACK> | Only return resources belonging to the provided pack |
--enabled | Show enabled |
--disabled | Show disabled |
--action <ACTION> | Action reference to filter the list |
-g, --trigger <TRIGGER> | Trigger type reference to filter the list |