π§ Google Cloud DNS Managed Zone DNSSEC Key-Signing Algorithm is RSASHA1 - prod.logic.yaml π’
- Contextual name: π§ prod.logic.yaml π’
- ID:
/ce/ca/google/dns/rsasha1-for-key-signing-key/prod.logic.yaml
- Located in: π Google Cloud DNS Managed Zone DNSSEC Key-Signing Algorithm is RSASHA1 π’
Flagsβ
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Input Typeβ
Type | API Name | Extracts | Extract Files | Logic Files | |
---|---|---|---|---|---|
π | π Google Cloud DNS Managed Zone | CA10__CaGoogleDnsManagedZone__c | 6 | 1 | 3 |
Usesβ
Test Results π’β
Generated at: 2025-04-24T23:46:58.208380594Z Open
Result | Id | Condition Index | Condition Text | Runtime Error |
---|---|---|---|---|
π’ | 111 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
π’ | 112 | βοΈ 200 | βοΈ otherwise | βοΈ null |
π’ | 113 | βοΈ 199 | βοΈ extract('caJsonFrom__dnssecConfigurationKeySpecs_keySigning_algorithm_value').contains('rsasha1') | βοΈ null |
Generationβ
File | MD5 | |
---|---|---|
Open | /ce/ca/google/dns/rsasha1-for-key-signing-key/policy.yaml | 37C3E6E55C3D024FE77D82EA7CB6E643 |
Open | /ce/ca/google/dns/rsasha1-for-key-signing-key/prod.logic.yaml | C47EA7396A98B0BB8F46FD2FFBDA6BF1 |
Open | /types/CA10__CaGoogleDnsManagedZone__c/object.extracts.yaml | DEC5B55A555645F54FDC22FF0932896B |
Open | /ce/ca/google/dns/rsasha1-for-key-signing-key/test-data.json | FEBCBDE27FE8DE8C54EA62608014739F |
Generate FULL scriptβ
java -jar repo-manager.jar policies generate FULL /ce/ca/google/dns/rsasha1-for-key-signing-key/prod.logic.yaml
Generate DEBUG scriptβ
java -jar repo-manager.jar policies generate DEBUG /ce/ca/google/dns/rsasha1-for-key-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-key-signing-key/prod.logic.yaml
Generate TESTS scriptβ
java -jar repo-manager.jar policies generate TESTS /ce/ca/google/dns/rsasha1-for-key-signing-key/prod.logic.yaml
Execute testsβ
java -jar repo-manager.jar policies test /ce/ca/google/dns/rsasha1-for-key-signing-key/prod.logic.yaml
Contentβ
---
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 Key-Signing Key."
remediationMessage: "Change the DNSSEC Configuration for the Managed Zone."
check:
CONTAINS:
arg:
EXTRACT: "caJsonFrom__dnssecConfigurationKeySpecs_keySigning_algorithm_value"
substring:
TEXT: "rsasha1"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The Managed Zone doesn't use the RSASHA1 algorithm for the Key-Signing Key."