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

resource google_cloud_ids_endpoint #10694

Closed
omelnyk1 opened this issue Dec 6, 2021 · 9 comments · Fixed by GoogleCloudPlatform/magic-modules#6617
Closed

resource google_cloud_ids_endpoint #10694

omelnyk1 opened this issue Dec 6, 2021 · 9 comments · Fixed by GoogleCloudPlatform/magic-modules#6617

Comments

@omelnyk1
Copy link

omelnyk1 commented Dec 6, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

New resource

With new resource I'd like to create/remove/update cloud IDS endpoint. Link on service: https://cloud.google.com/intrusion-detection-system

  • google_cloud_ids_endpoint

Potential Terraform Configuration

# Propose what you think the configuration to take advantage of this feature should look like.
# We may not use it verbatim, but it's helpful in understanding your intent.

# Create new Cloud IDS endpoint: https://cloud.google.com/intrusion-detection-system/docs/configuring-ids#api

resource "google_cloud_ids_endpoint" "this" {
  name                = "foobar"
  network             = "main"
  zone                = "us-central1-a"
  severity            = "MEDIUM"
  description         = "This is an example how to configure Cloud IDS endpoint"
  enable_traffic_logs = "true"

  labels = {
    env    = "staging"
    tenant = "main"
  }
}

Argument Reference

  • name - (Required) Name of the Cloud IDS endpoint.

  • network - (Required) Name of the VPC network that is connected to the IDS endpoint. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net"). This field is required when creating the endpoint.

  • zone - (Required) The zone of the endpoint.

  • severity - (Required) The minimum alert severity level that is reported by the endpoint. Possible values are as follows:

    • INFORMATIONAL
    • LOW
    • MEDIUM
    • HIGH
    • CRITICAL
  • description - (Optional) Description of the endpoint.

  • enable_traffic_logs - (default: false) Whether to enable traffic logs on the endpoint. Enabling traffic logs can generate a large number of logs which can increase costs in Cloud Logging.

  • labels - (Optional) List of label KEY=VALUE pairs to add.

Attributes Reference

  • self_link - Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}.
  • endpoint_forwarding_rule - URL of the endpoint's network address to which traffic is to be sent by Packet Mirroring.
  • endpoint - Internal IP address of the endpoint's network entry point.

References

https://cloud.google.com/intrusion-detection-system/docs/configuring-ids#api

  • #0000
@FalconerTC
Copy link

Would love to see this get made 🙏

@smbugua
Copy link

smbugua commented Jul 19, 2022

would love to help work on this too. trying out this tool but would love it on tf

@MarioIshac
Copy link

+1 on this, often IDS is required for compliance, and having it configurable via Terraform makes it reproducible.

@saburo9
Copy link

saburo9 commented Jul 28, 2022

+1 me too! IDS is required for compliance,

@melinath
Copy link
Collaborator

b/198475470

@melinath
Copy link
Collaborator

This was resolved by GoogleCloudPlatform/magic-modules#6617

@omelnyk1
Copy link
Author

Thank you👍

@smbugua
Copy link

smbugua commented Jan 11, 2023

Awesome

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants