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

[New Resource]: aws_inspector2_cis_scan_configuration #40187

Open
petrzjunior opened this issue Nov 19, 2024 · 1 comment
Open

[New Resource]: aws_inspector2_cis_scan_configuration #40187

petrzjunior opened this issue Nov 19, 2024 · 1 comment
Labels
needs-triage Waiting for first response or review from a maintainer. service/inspector2 Issues and PRs that pertain to the inspector2 service.

Comments

@petrzjunior
Copy link

Description

AWS Inspector supports running CIS security scans on EC2 instances from the AWS Console. It is particularly useful with the Schedule option which triggers CIS scans periodically.

Requested Resource(s) and/or Data Source(s)

  • aws_inspector2_cis_scan_configuration

Potential Terraform Configuration

resource aws_inspector2_cis_scan_configuration monthly_cis {
  scan_name = "monthly-cis-scan"
  schedule = {
    monthly {
      day = "SAT"
      start_time = "12:45"
    }
  }
  security_level = "LEVEL_1"
  targets = {
    account_ids = "1234567980
    target_resource_tags = {
      "environment": ["dev", "prod"]
    }
  }
  tags = {
    "owner" = "terraform"
  }
}

References

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/inspector2#Client.CreateCisScanConfiguration

Would you like to implement a fix?

No

Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added service/inspector2 Issues and PRs that pertain to the inspector2 service. needs-triage Waiting for first response or review from a maintainer. labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Waiting for first response or review from a maintainer. service/inspector2 Issues and PRs that pertain to the inspector2 service.
Projects
None yet
Development

No branches or pull requests

1 participant