Closed jkelley-godaddy closed 1 month ago
@jkelley-godaddy Thanks for raising this issue! We'll prioritize updating those docs & help output shortly.
Hey @jkelley-godaddy! We made these changes in the linked PR here. The help text updates will go out with the next Guard release. Thanks for the call out!
Describe the issue We use AWS account specific variables in our rule evaluation. Guard supports the use of variables in rules (not templates) through a feature called "Input Parameters". However the Guard documentation does not have any information on this feature, how it works, or how to use it.
The only documentation I have been able to find is at the bottom of the GitHub release notes for version v2.1.0-pre-rc1 - see "Dynamic data lookup for inspection via multiple data files" section. Minimally I would expect this information to be in the official documentation. Ideally it would be expanded with additional examples and details so users have a complete understanding of this feature.
As we a looking to adopt Guard, official documentation of this feature would be very useful for providing guidance on how to use this feature and what it's limitations are.
Any examples Additionally help output shows the following and it appears that it may need to be updated due to confusing terminology around the definition of
data
:Note that in the larger help context
data
already signifiesCloudFormation templates
:However, in the context of
--input-params
the termdata
is overloaded, it refers toparam1.yaml
which is a parameter mapping, NOT a CloudFormation template like in the--data
flag.We would request that this help output also be updated for clarity and completeness.
Operating System: MacOS
OS Version Sonoma 14.5
Additional context Add any other context about the problem here.