v3.1.0 #489
joshfried-aws
announced in
Releases
v3.1.0
#489
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
New Contributors
Full Changelog: 3.0.3...3.1.0
Table of Contents
New Validate Reporters
-o
or--output-format
flag to request a JUnit report-o junit
-o
or--output-format
flag to request a Sarif report-o sarif
NOTE: If either junit, or sarif output-format is set, this requires the user to also pass
--structured
, and-S none
otherwise cfn-guard will return an errorNew Test Flag to Specify an Output
Cfn-Guard as a Library
Stabilized Converter Functions
NOTE: This feature was previously introduced in version 3.0.1, it is now stabilized as of version 3.1.0
To improve the user experience for validating templates when schemas use types that might be easier evaluated as a different type (i.e. a string thats actually a number) the 3.0.1 release adds support to convert between specific types.
The conversions allowed are the following
strings/floats-> ints
strings/ints -> floats
strings -> bools
bools/floats/ints -> strings
The following is an example of parsing a string into an int.
Given the following template:
We can write the following rule
This discussion was created from the release v3.1.0.
Beta Was this translation helpful? Give feedback.
All reactions