2 ms·
Agreed. I've not used it much, but I've done some fun things with it - mostly relating to adding linting checks for pipelines. For example we use troposphere
by stevekemp 5y ago
Agreed. I've not used it much, but I've done some fun things with it - mostly relating to adding linting checks for pipelines.
For example we use troposphere to generate cloudformation templates, so I wrote a linter which would ensure that every time we tried to create an elastic container registry on AWS we explicitly setup "security scanning" to be "on".
That kind of thing is trivial to write when you have the AST to manipulate:
* Find all calls to function "foo(...)".
* Error out if there is is no parameter "scan_on_push = True".