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(fsx): add new check fsx_file_system_copy_tags_to_volumes_enabled #5414

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MarioRgzLpz
Copy link
Member

Context

Add a new check to ensure Amazon FSx file systems (right now only OpenZFS allowed) are configured to copy tags to volumes. The control fails if the file system is not configured to copy tags to these resources.

Tags are critical for effective resource management, governance, and security. They help in categorizing AWS resources by attributes such as purpose, owner, or environment. By configuring FSx file systems to copy tags to volumes, you ensure that these important metadata are consistently applied, simplifying resource tracking and management.

Description

Added a new check fsx_file_system_copy_tags_to_volumes_enabled with respective unit tests and metadata.

Checklist

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@MarioRgzLpz MarioRgzLpz requested review from a team as code owners October 15, 2024 09:45
Base automatically changed from PRWLR-5043-create-new-service-for-f-sx to master October 15, 2024 13:01
…should-be-configured-to-copy-tags-to-backups-and-volumes
@github-actions github-actions bot added the provider/aws Issues/PRs related with the AWS provider label Oct 15, 2024
Copy link
Member

@sergargar sergargar left a comment

Choose a reason for hiding this comment

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

Make the check not to create findings when copy_tags_to_volumes is None.

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.27%. Comparing base (a491e39) to head (2a6aa91).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5414      +/-   ##
==========================================
+ Coverage   89.18%   89.27%   +0.08%     
==========================================
  Files        1040     1046       +6     
  Lines       32128    32247     +119     
==========================================
+ Hits        28653    28787     +134     
+ Misses       3475     3460      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants