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

[datadog_organization_settings] Add Security Contacts support #2396

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

alexandre-pocquet
Copy link
Contributor

Security Contacts can be configured on a Datadog organization to receive security notification.
Currently users must manually set this setting in the Datadog web UI.

This pull request makes it possible to do it from Terraform as well within a datadog_organization_settings resource.

Example:

resource datadog_organization_settings my_org {
    name = "My Organization"
    security_contacts = ["foo@example.org", "bar@example.org"]
}

@alexandre-pocquet alexandre-pocquet requested a review from a team May 7, 2024 07:45
@alexandre-pocquet alexandre-pocquet marked this pull request as ready for review May 7, 2024 08:32
@alexandre-pocquet alexandre-pocquet requested review from a team as code owners May 7, 2024 08:32
maycmlee
maycmlee previously approved these changes May 7, 2024
@alexandre-pocquet alexandre-pocquet changed the title Add Security Contacts support in datadog_organization_settings [datadog_organization_settings] Add Security Contacts support May 13, 2024
@sseg-dd sseg-dd requested review from louisthaboogie and a team May 13, 2024 14:23
Copy link

@daisukixci daisukixci left a comment

Choose a reason for hiding this comment

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

LGTM from T&S perspective

Copy link

@dshivara dshivara left a comment

Choose a reason for hiding this comment

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

LGTM from Core-app perspective

@nkzou nkzou merged commit 1e70655 into master Jun 27, 2024
10 checks passed
@nkzou nkzou deleted the alexandre.pocquet/security-contacts branch June 27, 2024 16:39
bharling pushed a commit to bharling/terraform-provider-datadog that referenced this pull request Jul 8, 2024
…g#2396)

* Upgrade datadog-api-client-go to v2.26.1-0.20240618193852-3e8041dde616

* Fix resource_datadog_organization_settings_test.go test naming

* Add Security Contacts support in datadog_organization_settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants