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

tco-policy to plugin framework #123

Merged
merged 15 commits into from
Aug 13, 2023
Merged

tco-policy to plugin framework #123

merged 15 commits into from
Aug 13, 2023

Conversation

OrNovo
Copy link
Contributor

@OrNovo OrNovo commented Jul 26, 2023

e.g.

resource "coralogix_tco_policy_logs" "tco_policy_1" {
  name       = "Example tco_policy from terraform 1"
  priority   = "low"
  order      = 1
  severities = ["debug", "verbose", "info"]
  applications = {
    rule_type = "starts with"
    names        = ["prod"]
  }
  subsystems = {
    rule_type = "is"
    names = ["mobile", "web"]
  }
 archive_retention_id = "e1c980d0-c910-4c54-8326-67f3cf95645a"
}

resource "coralogix_tco_policy_logs" "tco_policy_2" {
  name     = "Example tco_policy from terraform 2"
  priority = "medium"
  order = 2

  severities = ["error", "warning", "critical"]
  applications = {
    rule_type = "starts_with"
    names        = ["prod"]
  }
  subsystems = {
    rule_type = "is"
    names = ["mobile", "web"]
  }
}

@OrNovo OrNovo added the breaking-changes This PR introduces a breaking change or the resolution of this issue may require a breaking change. label Jul 26, 2023
@OrNovo OrNovo requested review from matej-g and povilasv July 27, 2023 08:47
povilasv
povilasv previously approved these changes Jul 27, 2023
Copy link
Contributor

@povilasv povilasv left a comment

Choose a reason for hiding this comment

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

one question, other than that LGTM

@OrNovo OrNovo requested a review from povilasv July 27, 2023 15:24
povilasv
povilasv previously approved these changes Jul 31, 2023
@OrNovo OrNovo requested a review from oded-dd August 9, 2023 14:18
@OrNovo OrNovo merged commit 4f86094 into master Aug 13, 2023
5 checks passed
@OrNovo OrNovo deleted the tco-policy_plugin-framework branch August 13, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-changes This PR introduces a breaking change or the resolution of this issue may require a breaking change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants