Commit c7bcce2
3.0.0 (#382)
* bumping up to 3.0.0-alpha (#347)
* bumping up to 3.0.0 alpha
* typo
* updating workflow
* Populated filename in the output (#358)
* Populated filename in the output
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
---------
Co-authored-by: Akshay Rane <[email protected]>
* Support for some function expressions / stateful rules (#361)
* init commit for function resolution / stateful rules
* more tests + making test rules better
* fixed bugs with validation of functions
* small cleanup
* fixes as per comments
* cleanup
* add todo
* typos
* fixed logical error breaking tests
* added test for test command with a function
* fixed unit test
* added comment to clearly explain whats happening in regex_replace cause no one actually understands regex
* Combined structured output and updated default rule clause name to include file name (#360)
* Populated filename in the output
* Structured combine
* Changed FileData into DataFile and handle error differently
* Resolved lifetime issue with FileReport combine method
* Updated status and method
* Refactored to use existing DataFile struct
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
* Merged file report
* Interim commit for structured
* Resolved unit tests
* Temporary commit for default rule names
* Working prototype for formatting issue
---------
Co-authored-by: Akshay Rane <[email protected]>
* Clap Autocompletions (#340)
* temp
* fixing commands
* cleanup
* temp
* cleanup
* adding valuehints
* adding valuehints
* removed powershell
* cleanup
* removing derive
* removed unecessary ArgActions
* bumping up version
* refactor to use a function to generate commands
* removing unused imports
* removed random println
* updating readme
* fixes
* typo
* cleanup
* typo
* adding documentation for functions (#362)
* adding documentation for functions
* Combined structured output and updated default rule clause name to include file name (#360)
* Populated filename in the output
* Structured combine
* Changed FileData into DataFile and handle error differently
* Resolved lifetime issue with FileReport combine method
* Updated status and method
* Refactored to use existing DataFile struct
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
* Merged file report
* Interim commit for structured
* Resolved unit tests
* Temporary commit for default rule names
* Working prototype for formatting issue
---------
Co-authored-by: Akshay Rane <[email protected]>
* clarifying docs
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
* Deprecated migrate and previous engine (#364)
* Deprecated migrate and previous engine
* Removed a unit test for old engine
---------
Co-authored-by: Akshay Rane <[email protected]>
* 3.0.0 beta release changes (#365)
* Bump up version to 3.0.0-beta
* Updated README.md
* Add instances to rules integration tests (#351)
* Added 2 runners to integration tests for rules registry
* Fixed indent
* Added explicit shell name
* Moved shell to job parameters
* Added powershell commands for windows
* Removed test branch
* Updated README.md (#352)
* Updated README for Guard 3.0
* Update README.md
Co-authored-by: Ben Bridts <[email protected]>
---------
Co-authored-by: Ben Bridts <[email protected]>
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
* feat: Add cfn-guard-lambda deployment with SAM CLI (#354)
* feat: Add cfn-guard-lambda deployment with SAM CLI
* Renamed the logical ID for lambda in template & updated README.md
* Updated the instructions and added least privileged IAM access policy
---------
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
* Revert "Added deprecated short flag for print-json in parse-tree"
This reverts commit 93548a4
* Updated names of binaries to reflect v3
* Updated README.md to add new features
* Added rogue_one branch to docker workflow
* Bump enumflags2 to 0.7.7
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
* 3.0.0 Beta release (#366) (#369)
* bumping up to 3.0.0-alpha (#347)
* bumping up to 3.0.0 alpha
* typo
* updating workflow
* Populated filename in the output (#358)
* Populated filename in the output
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
---------
* Support for some function expressions / stateful rules (#361)
* init commit for function resolution / stateful rules
* more tests + making test rules better
* fixed bugs with validation of functions
* small cleanup
* fixes as per comments
* cleanup
* add todo
* typos
* fixed logical error breaking tests
* added test for test command with a function
* fixed unit test
* added comment to clearly explain whats happening in regex_replace cause no one actually understands regex
* Combined structured output and updated default rule clause name to include file name (#360)
* Populated filename in the output
* Structured combine
* Changed FileData into DataFile and handle error differently
* Resolved lifetime issue with FileReport combine method
* Updated status and method
* Refactored to use existing DataFile struct
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
* Merged file report
* Interim commit for structured
* Resolved unit tests
* Temporary commit for default rule names
* Working prototype for formatting issue
---------
* Clap Autocompletions (#340)
* temp
* fixing commands
* cleanup
* temp
* cleanup
* adding valuehints
* adding valuehints
* removed powershell
* cleanup
* removing derive
* removed unecessary ArgActions
* bumping up version
* refactor to use a function to generate commands
* removing unused imports
* removed random println
* updating readme
* fixes
* typo
* cleanup
* typo
* adding documentation for functions (#362)
* adding documentation for functions
* Combined structured output and updated default rule clause name to include file name (#360)
* Populated filename in the output
* Structured combine
* Changed FileData into DataFile and handle error differently
* Resolved lifetime issue with FileReport combine method
* Updated status and method
* Refactored to use existing DataFile struct
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
* Merged file report
* Interim commit for structured
* Resolved unit tests
* Temporary commit for default rule names
* Working prototype for formatting issue
---------
* clarifying docs
---------
* Deprecated migrate and previous engine (#364)
* Deprecated migrate and previous engine
* Removed a unit test for old engine
---------
* 3.0.0 beta release changes (#365)
* Bump up version to 3.0.0-beta
* Updated README.md
* Add instances to rules integration tests (#351)
* Added 2 runners to integration tests for rules registry
* Fixed indent
* Added explicit shell name
* Moved shell to job parameters
* Added powershell commands for windows
* Removed test branch
* Updated README.md (#352)
* Updated README for Guard 3.0
* Update README.md
---------
---------
* feat: Add cfn-guard-lambda deployment with SAM CLI (#354)
* feat: Add cfn-guard-lambda deployment with SAM CLI
* Renamed the logical ID for lambda in template & updated README.md
* Updated the instructions and added least privileged IAM access policy
---------
* Revert "Added deprecated short flag for print-json in parse-tree"
This reverts commit 93548a4
* Updated names of binaries to reflect v3
* Updated README.md to add new features
* Added rogue_one branch to docker workflow
* Bump enumflags2 to 0.7.7
---------
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
* removed uneeded printing of error parser error on parse-tree command (#368)
* improve error message for templates that cause an error (#370)
* improve erro message for empty templates
* addressing clippy lints for validate.rs
* addressed comment, removed uneeded code paths, and cleaned some stuff up
* Clippy lints + ci (#371)
* init
* aws_meta_appender_tests.rs clippy lints
* parser.rs clippy lints
* cfn_reporter.rs clippy lints
* files.rs clippy lints
* tf.rs clippy lints
* tracker.rs clippy lints
* operator.rs clippy lints
* values.rs clippy lints
* traversal.rs clippy lints
* path_value.rs clippy lints
* rules/mod.rs clippy lints
* eval.rs clippy lints
* rulegen.rs clippy lints
* summary_table.rs clippy lints
* aws_meta_appender.rs clippy lints
* path_value_tests.rs clippy lints
* eval_tests.rs clippy lints
* utils.mod.rs clippy lints
* parser_tests.rs clippy lints
* traversal_tests.rs clippy lints
* generic_summary.rs clippy lints
* a bunch of misc clippy lints
* tests/utils.rs clippy lints
* test_command.rs clippy lints
* main.rs clippy lints
* tests/validate.rs clippy lints
* tests/parse_tree.rs clippy lints
* functional.rs clippy lints
* helper.rs clippy lints
* eval_context clippy lints
* cfn.rs clippy lints
* value_tests.rs clippy lints
* last of the lints
* adding linting to ci
* last few lints
* evaluate_tests.rs lints
* fix for bug when introduced when rule fails and resource is not the parent of the node where the failure occurs + misc tests (#372)
* Updating reporters to all use serde for both json and yaml + misc improvements (#373)
* modifying json/yaml responses to ALL use serde_yaml/json for serialization
* adding type information to error message
* [Bugfix] Fixing improper console output when using single line summary (#378)
* changing count.rs to return a pathawarevalue instead of a primitive
* temp
* adding unit test for show summary all when failing using count fn
* removing unecesssary file
* [Enhancement] creating a new error code for rule failures (#379)
* temp
* adding new exit code for when a rule fails
* added integration test to validate error code for a failing test
* cleanup
* rebase + fix test
* removed unecessary double 0
* Refined documentation for functions, join path bugfix & version bump (#381)
* Updated table of contents and added a writeup for functions
* Bug fix for set path for returned PathAwareValue for join function
* Refined documentation for functions
* Version bump to 3.0.0
* Added more detailed explanation for function usage limitation
* Added integration test for join path bugfix
---------
Co-authored-by: Akshay Rane <[email protected]>
* 3.0.0 release changes (#383)
* 3.0.0 Beta release (#366)
* bumping up to 3.0.0-alpha (#347)
* bumping up to 3.0.0 alpha
* typo
* updating workflow
* Populated filename in the output (#358)
* Populated filename in the output
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
---------
Co-authored-by: Akshay Rane <[email protected]>
* Support for some function expressions / stateful rules (#361)
* init commit for function resolution / stateful rules
* more tests + making test rules better
* fixed bugs with validation of functions
* small cleanup
* fixes as per comments
* cleanup
* add todo
* typos
* fixed logical error breaking tests
* added test for test command with a function
* fixed unit test
* added comment to clearly explain whats happening in regex_replace cause no one actually understands regex
* Combined structured output and updated default rule clause name to include file name (#360)
* Populated filename in the output
* Structured combine
* Changed FileData into DataFile and handle error differently
* Resolved lifetime issue with FileReport combine method
* Updated status and method
* Refactored to use existing DataFile struct
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
* Merged file report
* Interim commit for structured
* Resolved unit tests
* Temporary commit for default rule names
* Working prototype for formatting issue
---------
Co-authored-by: Akshay Rane <[email protected]>
* Clap Autocompletions (#340)
* temp
* fixing commands
* cleanup
* temp
* cleanup
* adding valuehints
* adding valuehints
* removed powershell
* cleanup
* removing derive
* removed unecessary ArgActions
* bumping up version
* refactor to use a function to generate commands
* removing unused imports
* removed random println
* updating readme
* fixes
* typo
* cleanup
* typo
* adding documentation for functions (#362)
* adding documentation for functions
* Combined structured output and updated default rule clause name to include file name (#360)
* Populated filename in the output
* Structured combine
* Changed FileData into DataFile and handle error differently
* Resolved lifetime issue with FileReport combine method
* Updated status and method
* Refactored to use existing DataFile struct
* Changed FileData into DataFile and handle error differently
* Refactored to use existing DataFile struct
* Merged file report
* Interim commit for structured
* Resolved unit tests
* Temporary commit for default rule names
* Working prototype for formatting issue
---------
Co-authored-by: Akshay Rane <[email protected]>
* clarifying docs
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
* Deprecated migrate and previous engine (#364)
* Deprecated migrate and previous engine
* Removed a unit test for old engine
---------
Co-authored-by: Akshay Rane <[email protected]>
* 3.0.0 beta release changes (#365)
* Bump up version to 3.0.0-beta
* Updated README.md
* Add instances to rules integration tests (#351)
* Added 2 runners to integration tests for rules registry
* Fixed indent
* Added explicit shell name
* Moved shell to job parameters
* Added powershell commands for windows
* Removed test branch
* Updated README.md (#352)
* Updated README for Guard 3.0
* Update README.md
Co-authored-by: Ben Bridts <[email protected]>
---------
Co-authored-by: Ben Bridts <[email protected]>
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
* feat: Add cfn-guard-lambda deployment with SAM CLI (#354)
* feat: Add cfn-guard-lambda deployment with SAM CLI
* Renamed the logical ID for lambda in template & updated README.md
* Updated the instructions and added least privileged IAM access policy
---------
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
* Revert "Added deprecated short flag for print-json in parse-tree"
This reverts commit 93548a4
* Updated names of binaries to reflect v3
* Updated README.md to add new features
* Added rogue_one branch to docker workflow
* Bump enumflags2 to 0.7.7
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
* Removed unused import
---------
Co-authored-by: Josh Fried <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
* removing unused import
---------
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: Akshay Rane <[email protected]>
Co-authored-by: razcloud <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>1 parent a3992ca commit c7bcce2
File tree
80 files changed
+1762
-1380
lines changed- .github/workflows
- docs
- guard-ffi
- src
- guard-lambda
- src
- tests
- guard
- resources
- parse-tree/output-dir
- test-command
- data-dir
- functions
- data
- rules
- output-dir
- validate
- functions
- output
- rules
- output-dir
- src
- commands
- validate
- rules
- eval
- functions
- libyaml
- path_value
- utils
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
80 files changed
+1762
-1380
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
45 | | - | |
| 61 | + | |
46 | 62 | | |
47 | 63 | | |
48 | 64 | | |
| |||
141 | 157 | | |
142 | 158 | | |
143 | 159 | | |
144 | | - | |
| 160 | + | |
145 | 161 | | |
146 | 162 | | |
147 | | - | |
| 163 | + | |
148 | 164 | | |
149 | 165 | | |
150 | 166 | | |
| |||
158 | 174 | | |
159 | 175 | | |
160 | 176 | | |
161 | | - | |
| 177 | + | |
162 | 178 | | |
163 | 179 | | |
164 | 180 | | |
165 | 181 | | |
166 | 182 | | |
167 | | - | |
| 183 | + | |
168 | 184 | | |
169 | | - | |
| 185 | + | |
170 | 186 | | |
171 | 187 | | |
172 | 188 | | |
173 | 189 | | |
174 | 190 | | |
175 | 191 | | |
176 | | - | |
| 192 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
225 | | - | |
| 229 | + | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
| |||
489 | 493 | | |
490 | 494 | | |
491 | 495 | | |
492 | | - | |
| 496 | + | |
493 | 497 | | |
494 | 498 | | |
495 | 499 | | |
| |||
507 | 511 | | |
508 | 512 | | |
509 | 513 | | |
| 514 | + | |
510 | 515 | | |
511 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
512 | 553 | | |
513 | 554 | | |
514 | 555 | | |
515 | 556 | | |
516 | 557 | | |
517 | 558 | | |
518 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
519 | 562 | | |
520 | 563 | | |
521 | 564 | | |
| |||
541 | 584 | | |
542 | 585 | | |
543 | 586 | | |
| 587 | + | |
544 | 588 | | |
545 | 589 | | |
546 | 590 | | |
0 commit comments