You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement] Only show errors/failures in output #425
Hi @bestickley can you elaborate a bit on what the solution you're looking for would look like? I'm not sure I fully understand what you would like to see. By default cfn-guard only shows failures. Are you looking for something that doesn't provide snippets of the template where the failure occurred?
@joshfried-aws, thanks for your response. I get hundreds of lines of:
Rule [SECRETSMANAGER_USING_CMK] is not applicable for template [manifest.json]
--
Evaluation of rules secretsmanager_using_cmk.guard against data abc-sh-app-stickb-AuthnMgmtApiStage.assets.json
--
Rule [SECRETSMANAGER_USING_CMK] is not applicable for template [abc-sh-app-stickb-AuthnMgmtApiStage.assets.json]
--
Evaluation of rules secretsmanager_using_cmk.guard against data tree.json
--
Rule [SECRETSMANAGER_USING_CMK] is not applicable for template [tree.json]
--
even when no failures when running: cfn-guard validate --rules ../../../.cfn-guard --data cdk.out
Activity
joshfried-aws commentedon Dec 4, 2023
Hi @bestickley can you elaborate a bit on what the solution you're looking for would look like? I'm not sure I fully understand what you would like to see. By default cfn-guard only shows failures. Are you looking for something that doesn't provide snippets of the template where the failure occurred?
bestickley commentedon Dec 4, 2023
@joshfried-aws, thanks for your response. I get hundreds of lines of:
even when no failures when running:
cfn-guard validate --rules ../../../.cfn-guard --data cdk.outjoshfried-aws commentedon Dec 4, 2023
Hi @bestickley which version of cfn-guard are you using?
bestickley commentedon Dec 4, 2023
@joshfried-aws,
dannyvassallo commentedon Feb 5, 2024
Hello @bestickley,
This has been fixed. Thank you for bringing this to our attention.
Closing the issue.