Skip to content
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

feat: add cfn-lint #8

Merged
merged 27 commits into from
Nov 30, 2023
Merged

feat: add cfn-lint #8

merged 27 commits into from
Nov 30, 2023

Conversation

vishnu-deepsource
Copy link
Contributor

No description provided.

vishnu-deepsource and others added 3 commits October 27, 2023 16:11
This commit fixes the style issues introduced in ff2612f according to the output
from Black and isort.

Details: #8
Copy link
Contributor

@srijan-deepsource srijan-deepsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that a good number of titles are in title-case. We use sentence-case for titles. Can you please take care of them?

Also, add a test for cfn lint's sarif file to make sure our sarif-parser works properly with this.
Ref: https://github.com/DeepSourceCorp/community-analyzers/tree/master/tests

vishnu-deepsource and others added 21 commits October 31, 2023 13:30
Co-authored-by: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com>
Signed-off-by: Vishnu Jayadevan <68588475+vishnu-deepsource@users.noreply.github.com>
This commit fixes the style issues introduced in 7034f03 according to the output
from Black and isort.

Details: #8
Changes:
  - Add end to end parsing test
  - Fix assets being copied in the Dockerfile
  - Explicitly log the info passed to sentry.raise_info
  - Add instruction about adding fixture for parsing test in readme
  - Change workdir
  - fix dependencies installation in the image
Changes:
- Check the artifact result's hash before parsing. Ignore the artifact
if the hash is same.
  - Raise sentry info alerts for unsanitised issues
  - fix type hints
  - add missing tests
Armory is an in-house github action to validate the Analyzer directories
and issues.
It highlights the issues in the PRs that can lead to unexpected
behaviours during analyzer syncs.

---------

Signed-off-by: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com>
Slither: https://github.com/crytic/slither

---------

Co-authored-by: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com>
This commit fixes the style issues introduced in 659eec1 according to the output
from Black and isort.

Details: #8
@vishnu-deepsource vishnu-deepsource marked this pull request as ready for review November 29, 2023 10:31
vishnu-deepsource and others added 2 commits November 30, 2023 12:47
Co-authored-by: Eshaan Bansal <eshaan@deepsource.io>
Signed-off-by: Vishnu Jayadevan <68588475+vishnu-deepsource@users.noreply.github.com>
@eshaan-deepsource
Copy link
Contributor

Can you add an entry for cfn-lint in the README.md as well?

@vishnu-deepsource vishnu-deepsource merged commit 553e450 into master Nov 30, 2023
7 checks passed
@vishnu-deepsource vishnu-deepsource deleted the cfn-lint branch November 30, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants