File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
src/rpdk/guard_rail/rule_library/tags Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 47
47
| | ` TAG009 ` | ` "Resource MUST provide 'cloudFormationSystemTags' {true\|false} if 'tagging.taggable' is true" ` |
48
48
| | ` TAG010 ` | ` "Resource MUST provide 'tagProperty' {/properties/Tags} if 'tagging.taggable' is true" ` |
49
49
| | ` TAG011 ` | ` "Resource MUST implement Tags property if 'tagging.taggable' is true" ` |
50
+ | | ` TAG012 ` | ` "Resource MUST provide 'permissions' if 'tagging.taggable' is true" ` |
50
51
| | ` TAG013 ` | ` "'tagProperty' MUST specify property defined in the schema" ` |
51
52
| | ` TAG014 ` | ` "'tagProperty' MUST NOT be a part of 'writeOnlyProperties'" ` |
52
53
Original file line number Diff line number Diff line change @@ -134,12 +134,12 @@ rule ensure_property_tags_exists_v2 when tagging exists {
134
134
>>
135
135
}
136
136
}
137
- tagging.permission exists
137
+ tagging.permissions exists
138
138
<<
139
139
{
140
140
"result": "WARNING",
141
141
"check_id": "TAG012",
142
- "message": "Resource MUST provide `permission ` if `tagging.taggable` is true"
142
+ "message": "Resource MUST provide `permissions ` if `tagging.taggable` is true"
143
143
}
144
144
>>
145
145
}
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ def test_exec_compliance_stateless_aws_verifiedpermissions_policy(
338
338
),
339
339
GuardRuleResult (
340
340
check_id = "TAG012" ,
341
- message = "Resource MUST provide `permission ` if `tagging.taggable` is true" ,
341
+ message = "Resource MUST provide `permissions ` if `tagging.taggable` is true" ,
342
342
path = "" ,
343
343
),
344
344
},
You can’t perform that action at this time.
0 commit comments