From 8aceb8716453f6d04164da066d5d0433483292b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:37:05 +0000 Subject: [PATCH 1/2] Bump aquasecurity/trivy-action from 0.14.0 to 0.19.0 Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.14.0 to 0.19.0. - [Release notes](https://github.com/aquasecurity/trivy-action/releases) - [Commits](https://github.com/aquasecurity/trivy-action/compare/0.14.0...0.19.0) --- updated-dependencies: - dependency-name: aquasecurity/trivy-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/trivy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 695cc00..cc58bd5 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v2 - name: Security Scan if: github.ref != format('refs/heads/{0}', github.event.repository.default_branch) - uses: aquasecurity/trivy-action@0.14.0 + uses: aquasecurity/trivy-action@0.19.0 with: scan-type: 'config' scan-ref: './examples/complete/' From f1353ee399b440831821f36867f10d5c33b8f525 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Thu, 25 Apr 2024 16:37:23 +0000 Subject: [PATCH 2/2] terraform fmt: automated action --- main.tf | 2 +- outputs.tf | 2 +- variables.tf | 84 ++++++++++++++++++++++++++-------------------------- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/main.tf b/main.tf index 91b222c..a9d182d 100644 --- a/main.tf +++ b/main.tf @@ -12,7 +12,7 @@ provider "snowflake" {} resource "snowflake_oauth_integration" "this" { name = var.name - comment = var.comment + comment = var.comment oauth_client = var.oauth_client enabled = var.enabled oauth_issue_refresh_tokens = var.oauth_issue_refresh_tokens diff --git a/outputs.tf b/outputs.tf index 753b644..c0220de 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,4 +1,4 @@ output "oauth_client_id" { value = snowflake_oauth_integration.this.oauth_client_id - + } \ No newline at end of file diff --git a/variables.tf b/variables.tf index b3ff876..dc5d273 100644 --- a/variables.tf +++ b/variables.tf @@ -1,45 +1,45 @@ variable "name" { - type = string - description = "The name of the OAuth integration." - } - - variable "oauth_client" { - type = string - description = "The OAuth client." - } - - variable "enabled" { - type = bool - description = "Flag to enable or disable the resource." - default = true - } - - variable "oauth_issue_refresh_tokens" { - type = bool - description = "Flag to determine if refresh tokens should be issued." - default = true - } - - variable "oauth_refresh_token_validity" { - type = number - description = "The validity period of the OAuth refresh token." - default = 3600 - } - - variable "blocked_roles_list" { - type = list(string) - description = "List of blocked roles." - default = ["SYSADMIN"] - } - - variable "oauth_redirect_uri" { - type = string - default = "https://example.com/callback" - } - - variable "comment" { - type = string - description = "The value of the comment field for the OAuth integration." - } + type = string + description = "The name of the OAuth integration." +} + +variable "oauth_client" { + type = string + description = "The OAuth client." +} + +variable "enabled" { + type = bool + description = "Flag to enable or disable the resource." + default = true +} + +variable "oauth_issue_refresh_tokens" { + type = bool + description = "Flag to determine if refresh tokens should be issued." + default = true +} + +variable "oauth_refresh_token_validity" { + type = number + description = "The validity period of the OAuth refresh token." + default = 3600 +} + +variable "blocked_roles_list" { + type = list(string) + description = "List of blocked roles." + default = ["SYSADMIN"] +} + +variable "oauth_redirect_uri" { + type = string + default = "https://example.com/callback" +} + +variable "comment" { + type = string + description = "The value of the comment field for the OAuth integration." +} # Path: outputs.tf \ No newline at end of file