The examples in this directory provide some executable files that demonstrate how to create specs, parsers and rules, and run them directly from the terminal.
- __init__.py - Make this directory a Python package
accessible in Python via
examples.rules
. - sample_script.py - A sample rule using an Insights
parser that can be run directly from a terminal using the command
./sample_script.py
. - stand_alone.py - A sample standalone spec, parser
and rule that can be run directly from a terminal using the command
./stand_alone.py
.