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(resource): New lacework_report_rule #237

Merged
merged 5 commits into from
Dec 2, 2021

Conversation

dmurray-lacework
Copy link
Collaborator

Issue: https://lacework.atlassian.net/browse/ALLY-756

Description:
Add new Terraform resource for report rules

Usage:

resource "lacework_report_rule" "example" {
  name            = var.name
  description     = var.description
  enabled         = true
  severities      = var.severities
  resource_groups = var.resource_groups
  email_alert_channels = var.channels

  aws_compliance_reports {
    pci    = true
    cis_s3 = true
  }

  weekly_snapshot = var.snapshot
}

Signed-off-by: Darren Murray <darren.murray@lacework.net>
@dmurray-lacework dmurray-lacework requested a review from a team November 29, 2021 12:31
Signed-off-by: Darren Murray <darren.murray@lacework.net>
examples/resource_lacework_report_rule/main.tf Outdated Show resolved Hide resolved
website/docs/r/report_rule.html.markdown Outdated Show resolved Hide resolved
website/docs/r/report_rule.html.markdown Outdated Show resolved Hide resolved
website/docs/r/report_rule.html.markdown Outdated Show resolved Hide resolved
website/docs/r/report_rule.html.markdown Outdated Show resolved Hide resolved
lacework/resource_lacework_report_rule.go Outdated Show resolved Hide resolved
lacework/resource_lacework_report_rule.go Outdated Show resolved Hide resolved
lacework/resource_lacework_report_rule.go Outdated Show resolved Hide resolved
Signed-off-by: Darren Murray <darren.murray@lacework.net>
Copy link
Contributor

@afiune afiune left a comment

Choose a reason for hiding this comment

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

tenor-234880856

dmurray-lacework and others added 2 commits December 2, 2021 16:31
Co-authored-by: Salim Afiune <afiune@lacework.net>
Signed-off-by: Darren Murray <darren.murray@lacework.net>
@dmurray-lacework dmurray-lacework merged commit c2928b6 into main Dec 2, 2021
@dmurray-lacework dmurray-lacework deleted the dmurray-lacework/ALLY-756 branch December 2, 2021 16:34
@lacework-releng lacework-releng mentioned this pull request Dec 6, 2021
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.

2 participants