-
Notifications
You must be signed in to change notification settings - Fork 55
CM-25773 - Support TF Plan scans #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add more tests
|
@artem-fedorov @MichalBor @MarshalX @avishaiamiel please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! 👏🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done!
|
@EfratIsrael pls re-request review when you will be ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good now. Thanks for your hard work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good structure of test files! i like that!
btw do we expect that tf plans files could be in the directory with another IaC related files? "scan path" will scan everything related to IaC.
im asking because i wonder that our user-firendly exception doesn't show the path to invalid tf plan file. will it be a problem for the user to find it in the provided path with many subfolders?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing ⭐
please wait for Ilya approval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
cycode/cli/code_scanner.py
Outdated
| custom_exceptions.TfplanKeyError: CliError( | ||
| soft_fail=True, | ||
| code='key_error', | ||
| message=f'\n{e!s}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rly hard work!

No description provided.