Comments (4)
Don't worry about it. I'll update the doc and use this issue for the commit, then resolve it.
I apologize for it getting so buried. I didn't realize how far down the README it was till I saw this issue.
from cloudformation-guard.
I guess this could be related to #3
from cloudformation-guard.
There's a flag on the cfn-guard
tool that sounds like a match for what you're trying to do:
-s, --strict-checks Fail resources if they're missing the property that a rule checks
Essentially, if you define a rule for a resource type around a property and the resource doesn't have that property (even if it would normally be optional), the template will fail the check.
Looking at the README, this feature is a bit hard to discover from reading. We'll update the docs to make it more prevalent.
Let us know if that addresses your use-case.
from cloudformation-guard.
@nathanataws Good to know!!
Yeah I found the option here :) https://github.com/aws-cloudformation/cloudformation-guard/tree/master/cfn-guard#runtime-arguments
So should I close this issue or change the title & description to suggest explicit/clear documentation around that option?
from cloudformation-guard.
Related Issues (20)
- [BUG] cfn-guard validate JSON response is not standardised across CFN data and non-CFN data schemas HOT 2
- [BUG] Resource Policy Condition Keys - Handling it as non-case sensitive HOT 1
- Error messages need to be set for each check HOT 3
- [Feature Request]: Support for external json files as variables HOT 1
- [GENERAL ISSUE] Shouldn't `unresolved` be not `FAIL` but `ERROR` in unit testing? HOT 3
- [Enhancement] Add support to call functions inline
- Intrinsic functions handled differently when testing vs validating HOT 1
- CFN Guard validate does not work correctly when entire rule file is comments HOT 2
- [BUG] `empty` `exists` `!= null` don't work as documented HOT 2
- Check on specific Key Value pair[GENERAL ISSUE] HOT 2
- [BUG] install-guard.sh will fail with exit code 0 if GitHub raises a 403 HOT 2
- [GENERAL ISSUE] sam build fails due to certificate problem HOT 5
- [BUG] cfn-guard validate doesn't produce a parseable json/yaml output in 'custom_message' field HOT 2
- [BUG] Incorrect download URL for pre-built binary HOT 2
- [Enhancement] Show full path to file HOT 3
- [Enhancement] Add support for windows
- Add support for SARIF [Enhancement] HOT 2
- [GENERAL ISSUE] Documentation HOT 4
- [BUG] cfn-guard error via GitHub Actions HOT 2
- [Enhancement] Only show errors/failures in output HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudformation-guard.