1
0
Fork 0
Commit Graph

42 Commits

Author SHA1 Message Date
ssube 42ddb3ecd7
feat(rules): add npm package 2019-11-11 19:55:57 -06:00
ssube b84e7b80c6
fix(rules/gitlab): handle include 2019-11-11 19:26:45 -06:00
ssube 0b5fe3d5e5
feat(rules): add rules to validate json schemas 2019-11-10 19:11:55 -06:00
ssube 988b942fca fix(rules): filter gitlab jobs better
list other top-level keys and replace the patternProperties filter
with additionalProperties to prevent top-level keys from being
validated as jobs (which they will fail)
2019-11-03 13:13:24 -06:00
ssube b3c66dc702 fix(rules/tsconfig): flatten target-lib using data refs 2019-11-02 07:36:48 -05:00
ssube afeba99797
fix(rules): validate rule check/filter against full JSON schema metaschema 2019-11-01 07:31:55 -05:00
ssube 15933ba620
feat: add default rule selector 2019-06-30 21:03:12 -05:00
ssube 229a0c8304 feat(rules/grafana): add rule to ensure single env, add staging alert rule 2019-06-30 20:56:40 -05:00
ssube 62d58fe3a9
fix(rules/tsconfig): correctly enforce lib/target for esnext 2019-06-30 17:48:45 -05:00
ssube d11f3d68e0
feat(rules/tsconfig): check for suppressed errors 2019-06-30 17:45:59 -05:00
ssube 27843c6252
feat(rules): add tsconfig rules 2019-06-30 17:41:45 -05:00
ssube aa350ccb71
feat(rules): kubernetes rule to require labels 2019-06-30 17:19:13 -05:00
ssube f9e2b6818e lint(rules): make production alerts selector more specific 2019-06-26 07:46:55 -05:00
ssube 79e115be08 docs: comments and phrasing 2019-06-26 07:10:05 -05:00
ssube f2579d4a5a feat(rules): add example grafana rule 2019-06-25 19:07:52 -05:00
ssube 146bcc7268 docs: clean up readme 2019-06-24 22:32:39 -05:00
ssube 67d2b59302 fix kubernetes rules 2019-06-23 23:00:44 -05:00
ssube 03b3bfa2f4 fix: apply schema changes to data 2019-06-23 23:00:01 -05:00
ssube eb1fdd3f30 formalize visitor, results, etc 2019-06-23 22:48:07 -05:00
ssube aec3ea9e4e fix(rules): check numeric cpu limits 2019-06-22 12:44:51 -05:00
ssube 4112a1d778 fix(rules): validate source names 2019-06-22 12:33:50 -05:00
ssube 9eb41fc38e feat: load definitions from rules (fixes #2)
BREAKING CHANGE: adds a required `name` property (string) at the
top level of each `--rules` file, used as the schema name
2019-06-22 12:26:11 -05:00
ssube e02cd67164 fix(rules): remove test default 2019-06-22 11:51:10 -05:00
ssube 6f15d1c621 feat: display diff when rule modifies data (fixes #3) 2019-06-22 11:48:41 -05:00
ssube 97d5c7aac6 fix(rules): ensure low CPU limits are non-0 2019-06-17 06:55:46 -05:00
ssube 13159057d5 rules(gitlab-ci): start validating jobs 2019-06-16 19:16:52 -05:00
ssube 9c1b7ae13d rules(kubernetes): require positive value for numeric cpu limits 2019-06-16 19:16:32 -05:00
ssube 9a25fb97a8 feat: clean rules up with a bit of a visitor pattern 2019-06-16 13:30:04 -05:00
ssube cec3576506 build: add CI 2019-06-15 23:08:12 -05:00
ssube 0876e720bc feat(rules): add filename as tag 2019-06-15 22:54:40 -05:00
ssube 494d9f1a95 lint(rules): comment up the k8s rules 2019-06-15 22:51:03 -05:00
ssube 52095ed7ed fix(rules): make filter optional in meta-rules 2019-06-15 22:50:41 -05:00
ssube 9a7f8829c0 feat: make rule filters optional (fixes #4) 2019-06-15 22:46:27 -05:00
ssube 53018cfc01 rules(kubernetes): ensure deployments have replica counts 2019-06-15 20:53:39 -05:00
ssube 4604a1da62 rules(kubernetes): allow numeric resources, validate string resources more thoroughly 2019-06-15 20:53:20 -05:00
ssube dcb211c382 rules: add some basic ansible rules 2019-06-15 20:42:40 -05:00
ssube c58a94d703 examples: rename 2019-06-15 20:20:39 -05:00
ssube 9de751b62b rules: add meta-schema for rules 2019-06-15 19:43:01 -05:00
ssube deee5c0cbd rules(kubernetes): add example of minimum CPU limit 2019-06-15 19:25:47 -05:00
ssube 2e6b55ce9c docs: add repo url, fix example command 2019-06-15 18:33:50 -05:00
ssube 282e93d8c6 feat: make node selectors work 2019-06-15 17:53:07 -05:00
ssube 29aaa93f17 feat: run schema, do everything but select nodes 2019-06-15 17:38:05 -05:00