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

✨ Add missing properties to GCP crypto keys #784

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

imilchev
Copy link
Member

 ./cnquery run gcp -c "gcp.project.kms.keyrings{cryptokeys{*}}"                                                                                                                                                                    
 discover related assets for 1 asset(s)
 resolved assets resolved-assets=1
gcp.project.kms.keyrings: [
  0: {
    cryptokeys: [
      0: {
        purpose: "ENCRYPT_DECRYPT"
        resourcePath: "***"
        versions: [
  0: gcp.project.kmsService.keyring.cryptokey.version name="1" state="ENABLED"
        ]
        cryptoKeyBackend: ""
        name: "***"
        destroyScheduledDuration: 1 days 
        created: 2023-01-05 15:25:54.100520722 +0000 UTC
        labels: {}
        primary: gcp.project.kmsService.keyring.cryptokey.version name="1" state="ENABLED"
        importOnly: false
        nextRotation: 2023-02-04 15:25:53 +0000 UTC
        rotationPeriod: 30 days 
        versionTemplate: {
          algorithm: "GOOGLE_SYMMETRIC_ENCRYPTION"
          protectionLevel: "SOFTWARE"
        }
      }
    ]
  }
  1: {
    cryptokeys: [
      0: {
        purpose: "ENCRYPT_DECRYPT"
        resourcePath: "***"
        versions: [
  0: gcp.project.kmsService.keyring.cryptokey.version name="1" state="ENABLED"
        ]
        cryptoKeyBackend: ""
        name: "***"
        destroyScheduledDuration: 1 days 
        created: 2022-12-28 18:18:34.223912067 +0000 UTC
        labels: {}
        primary: gcp.project.kmsService.keyring.cryptokey.version name="1" state="ENABLED"
        importOnly: false
        nextRotation: 2023-03-27 22:00:00 +0000 UTC
        rotationPeriod: 90 days 
        versionTemplate: {
          algorithm: "GOOGLE_SYMMETRIC_ENCRYPTION"
          protectionLevel: "SOFTWARE"
        }
      }
    ]
  }
]

@imilchev imilchev requested a review from a team as a code owner January 16, 2023 15:44
@github-actions

This comment has been minimized.

@imilchev imilchev merged commit fa4bb09 into main Jan 16, 2023
@imilchev imilchev deleted the ivan/gcp-cryptokeys-extend branch January 16, 2023 16:01
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants