Skip to main content

🧠 Google Cloud DNS Managed Zone DNSSEC Zone-Signing Algorithm is RSASHA1 - prod.logic.yaml 🟒

Flags​

Input Type​

TypeAPI NameExtractsExtract FilesLogic Files
πŸ”’πŸ“• Google Cloud DNS Managed ZoneCA10__CaGoogleDnsManagedZone__c613

Uses​

Test Results πŸŸ’β€‹

Generated at: 2025-04-24T23:46:58.935645125Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒111βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒112βœ”οΈ 199βœ”οΈ extract('caJsonFrom__dnssecConfigurationKeySpecs_zoneSigning_algorithm_value').contains('rsasha1')βœ”οΈ null
🟒113βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation​

FileMD5
Open/ce/ca/google/dns/rsasha1-for-zone-signing-key/policy.yaml67E0017D56128BDC1E9ADE768507D3D6
Open/ce/ca/google/dns/rsasha1-for-zone-signing-key/prod.logic.yaml68BD5F3078516D46768CA2D6A98D8806
Open/ce/ca/google/dns/rsasha1-for-zone-signing-key/test-data.json12003E80055EE6EB8A232FEACD6BAF5C
Open/types/CA10__CaGoogleDnsManagedZone__c/object.extracts.yamlDEC5B55A555645F54FDC22FF0932896B

Generate FULL script​

java -jar repo-manager.jar policies generate FULL /ce/ca/google/dns/rsasha1-for-zone-signing-key/prod.logic.yaml

Generate DEBUG script​

java -jar repo-manager.jar policies generate DEBUG /ce/ca/google/dns/rsasha1-for-zone-signing-key/prod.logic.yaml

Generate CAPTURE_TEST_DATA script​

java -jar repo-manager.jar policies generate CAPTURE_TEST_DATA /ce/ca/google/dns/rsasha1-for-zone-signing-key/prod.logic.yaml

Generate TESTS script​

java -jar repo-manager.jar policies generate TESTS /ce/ca/google/dns/rsasha1-for-zone-signing-key/prod.logic.yaml

Execute tests​

java -jar repo-manager.jar policies test /ce/ca/google/dns/rsasha1-for-zone-signing-key/prod.logic.yaml

Content​

Open File

---

inputType: "CA10__CaGoogleDnsManagedZone__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaGoogleDnsManagedZone__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Managed Zone uses the RSASHA1 algorithm for the Zone-Signing Key."
remediationMessage: "Change the DNSSEC Configuration for the Managed Zone."
check:
CONTAINS:
arg:
EXTRACT: "caJsonFrom__dnssecConfigurationKeySpecs_zoneSigning_algorithm_value"
substring:
TEXT: "rsasha1"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The Managed Zone doesn't use the RSASHA1 algorithm for the Zone-Signing Key."