Commit Graph

36 Commits (d74e855c35139c1ee04eaf1cc8b7468654f7f603)

Author SHA1 Message Date
Murat Celep ff40aa55a0
Merge ignore pattern based tests into existing tests 2022-02-21 11:43:08 +01:00
Murat Celep 072e0bed58
Minor refactoring 2022-02-21 10:24:43 +01:00
Murat Celep caa10fedc0
rename test method to emphasize purpose of the test 2022-02-21 10:00:33 +01:00
Murat Celep c6b53668ba
add test for ignore pattern processing 2022-02-17 09:57:34 +01:00
Murat Celep 9ad22d51db
add test for ignore pattern processing 2022-02-17 09:57:22 +01:00
Murat Celep 428ab77d89
Add a new ignores flag to parse ignore patterns as array 2022-02-14 11:58:12 +01:00
Elie 1cdccb0be0
Move to @snyk 2021-12-06 14:29:39 +01:00
Elie e9dc238c94
Add resource type hierarchy for smart ignore 2021-10-14 15:08:25 +02:00
sundowndev 5f72640db0 refactor: normalize resource method names 2021-08-25 14:38:51 +02:00
Elie dada7a4b50
Remove `Resource` interface 2021-08-09 16:03:04 +02:00
Elie af824199d9
Ignore resource prior to scan 2021-07-26 16:23:26 +02:00
Elie 4c824fb8ad
Move driftignore init outside driftctl 2021-07-26 14:27:07 +02:00
Martin Guibert bb2e1e0f0f fix slash in gitignore syntax being special 2021-06-22 17:33:51 +02:00
Martin Guibert 437c20e0b7 append .* to prevent BC break 2021-06-22 17:33:51 +02:00
Martin Guibert 67231949db go-git gitignore to handle driftignore
Signed-off-by: Martin Guibert <martin@cloudskiff.com>
2021-06-22 17:33:51 +02:00
sundowndev eb04ec3513 refactor: unexport driftignorePath property 2021-06-21 14:48:03 +02:00
sundowndev 074900043f feat: add driftignore flag 2021-06-17 15:39:31 +02:00
Elie b5c48dbbfc
Finished refacto 2021-05-31 18:46:20 +02:00
William Beuil 18d406178e
Add aws_ebs_volume 2021-05-04 13:41:06 +02:00
Martin Guibert 80687e5029
Add hybrid resource behavior 2021-04-23 17:07:35 +02:00
William Beuil 0881b44577
Refactoring to filter on Cty.Value 2021-03-29 10:28:39 +02:00
Louis TOUSSAINT 0257b69bd2 Issue 232: Add tests to follow wildcard match checker updates 2021-03-15 12:44:33 +01:00
Louis TOUSSAINT 9780bdf725 Issue 232: Update DriftIgnore to implement new wildcard match checker 2021-03-15 12:44:33 +01:00
Louis TOUSSAINT d6595ff9f1 Issue 274: Add line number to logger when encounter invalid driftignore line 2021-03-09 11:59:39 +01:00
msfendourakis d9d1d01958 use continue instead of else to skip empty lines and comments 2021-02-01 14:37:57 +02:00
msfendourakis f926abe009 fix: add newline in the EOF 2021-02-01 14:11:14 +02:00
msfendourakis 6884ca9477 skip comments or empty lines after scan 2021-02-01 13:56:47 +02:00
msfendourakis 7b822ec534 check if line is empty or commented out after scan 2021-02-01 13:35:25 +02:00
msfendourakis d0b72d0a32 add empty line and comment 2021-02-01 13:32:02 +02:00
msfendourakis 7b2db4ca87 skip warnings on commented out and empty lines 2021-02-01 12:24:44 +02:00
Elie 97575cb27f
Make driftignore fields case-insensitive 2021-01-06 15:59:01 +01:00
Elie 6aceaff771
Some review fixes 2021-01-04 14:40:19 +01:00
Martin Guibert 2a363841ed refactor effective filtering into analyzer 2020-12-23 15:58:38 +01:00
Martin Guibert 42207e3be1 add ability to ignore field drift 2020-12-23 14:53:16 +01:00
William Beuil 539b525df5
Consistency across resources 2020-12-22 12:17:04 +01:00
Elie ff72de8e77
🍾 Initial release
Co-authored-by: William BEUIL <william.beuil@cloudskiff.com>
Co-authored-by: Martin GUIBERT <martin@cloudskiff.com>
2020-12-09 16:35:26 +01:00