-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating reporters to all use serde for both json and yaml + misc imp…
…rovements (#373) * modifying json/yaml responses to ALL use serde_yaml/json for serialization * adding type information to error message
- Loading branch information
1 parent
bea1ada
commit 0d030d6
Showing
10 changed files
with
501 additions
and
47 deletions.
There are no files selected for viewing
158 changes: 158 additions & 0 deletions
158
guard/resources/parse-tree/output-dir/parse_tree_functions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
assignments: | ||
- var: template | ||
value: | ||
AccessClause: | ||
query: | ||
- Key: Resources | ||
- AllValues: null | ||
- Filter: | ||
- null | ||
- - - Clause: | ||
access_clause: | ||
query: | ||
query: | ||
- Key: Type | ||
match_all: true | ||
comparator: | ||
- Eq | ||
- false | ||
compare_with: | ||
Value: | ||
path: '' | ||
value: AWS::New::Service | ||
custom_message: null | ||
location: | ||
line: 1 | ||
column: 29 | ||
negation: false | ||
match_all: true | ||
- var: type | ||
value: | ||
AccessClause: | ||
query: | ||
- Key: Resources | ||
- Key: newServer | ||
- Key: Type | ||
match_all: true | ||
guard_rules: | ||
- rule_name: SOME_RULE | ||
conditions: | ||
- - Clause: | ||
access_clause: | ||
query: | ||
query: | ||
- Key: '%type' | ||
match_all: true | ||
comparator: | ||
- Empty | ||
- true | ||
compare_with: null | ||
custom_message: null | ||
location: | ||
line: 5 | ||
column: 21 | ||
negation: false | ||
block: | ||
assignments: | ||
- var: lower | ||
value: | ||
FunctionCall: | ||
parameters: | ||
- AccessClause: | ||
query: | ||
- Key: '%type' | ||
match_all: true | ||
name: to_lower | ||
location: | ||
line: 6 | ||
column: 17 | ||
- var: upper | ||
value: | ||
FunctionCall: | ||
parameters: | ||
- AccessClause: | ||
query: | ||
- Key: '%type' | ||
match_all: true | ||
name: to_upper | ||
location: | ||
line: 10 | ||
column: 17 | ||
conjunctions: | ||
- - Clause: | ||
Clause: | ||
access_clause: | ||
query: | ||
query: | ||
- Key: '%lower' | ||
match_all: true | ||
comparator: | ||
- Eq | ||
- false | ||
compare_with: | ||
Value: | ||
path: '' | ||
value: aws::new::service | ||
custom_message: null | ||
location: | ||
line: 7 | ||
column: 5 | ||
negation: false | ||
- - Clause: | ||
Clause: | ||
access_clause: | ||
query: | ||
query: | ||
- Key: '%lower' | ||
match_all: true | ||
comparator: | ||
- Eq | ||
- false | ||
compare_with: | ||
Value: | ||
path: '' | ||
value: /aws::new::service/ | ||
custom_message: null | ||
location: | ||
line: 8 | ||
column: 5 | ||
negation: false | ||
- - Clause: | ||
Clause: | ||
access_clause: | ||
query: | ||
query: | ||
- Key: '%upper' | ||
match_all: true | ||
comparator: | ||
- Eq | ||
- false | ||
compare_with: | ||
Value: | ||
path: '' | ||
value: AWS::NEW::SERVICE | ||
custom_message: null | ||
location: | ||
line: 11 | ||
column: 5 | ||
negation: false | ||
- - Clause: | ||
Clause: | ||
access_clause: | ||
query: | ||
query: | ||
- Key: '%upper' | ||
match_all: true | ||
comparator: | ||
- Eq | ||
- false | ||
compare_with: | ||
Value: | ||
path: '' | ||
value: /AWS::NEW::SERVICE/ | ||
custom_message: null | ||
location: | ||
line: 12 | ||
column: 5 | ||
negation: false | ||
parameterized_rules: [] |
Oops, something went wrong.