FIREBASEAPPCHECK

firebaseappcheck.jwks.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.oauthClients.exchangeAppAttestAssertion

valid {
    input.Body.artifact == STRING
    input.Body.assertion == STRING
    input.Body.challenge == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.oauthClients.exchangeAppAttestAttestation

valid {
    input.Body.attestationStatement == STRING
    input.Body.challenge == STRING
    input.Body.keyId == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.oauthClients.exchangeDebugToken

valid {
    input.Body.debugToken == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.oauthClients.generateAppAttestChallenge

valid {
    input.Body.STRING == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.appAttestConfig.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.appAttestConfig.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.appAttestConfig.patch

valid {
    input.Body.name == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.debugTokens.create

valid {
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.Body.token == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.debugTokens.delete

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.debugTokens.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.debugTokens.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.debugTokens.patch

valid {
    input.Body.displayName == STRING
    input.Body.name == STRING
    input.Body.token == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.deviceCheckConfig.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.deviceCheckConfig.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.deviceCheckConfig.patch

valid {
    input.Body.keyId == STRING
    input.Body.name == STRING
    input.Body.privateKey == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeAppAttestAssertion

valid {
    input.Body.artifact == STRING
    input.Body.assertion == STRING
    input.Body.challenge == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeAppAttestAttestation

valid {
    input.Body.attestationStatement == STRING
    input.Body.challenge == STRING
    input.Body.keyId == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeCustomToken

valid {
    input.Body.customToken == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeDebugToken

valid {
    input.Body.debugToken == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeDeviceCheckToken

valid {
    input.Body.deviceToken == STRING
    input.Body.limitedUse == BOOLEAN
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangePlayIntegrityToken

valid {
    input.Body.limitedUse == BOOLEAN
    input.Body.playIntegrityToken == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeRecaptchaEnterpriseToken

valid {
    input.Body.limitedUse == BOOLEAN
    input.Body.recaptchaEnterpriseToken == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeRecaptchaToken

valid {
    input.Body.recaptchaToken == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeRecaptchaV3Token

valid {
    input.Body.limitedUse == BOOLEAN
    input.Body.recaptchaV3Token == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.exchangeSafetyNetToken

valid {
    input.Body.safetyNetToken == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.generateAppAttestChallenge

valid {
    input.Body.STRING == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.generatePlayIntegrityChallenge

valid {
    input.Body.STRING == STRING
    input.ReqMap.app == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.playIntegrityConfig.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.playIntegrityConfig.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.playIntegrityConfig.patch

valid {
    input.Body.name == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaConfig.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaConfig.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaConfig.patch

valid {
    input.Body.name == STRING
    input.Body.siteSecret == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.patch

valid {
    input.Body.name == STRING
    input.Body.siteKey == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaV3Config.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaV3Config.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.recaptchaV3Config.patch

valid {
    input.Body.name == STRING
    input.Body.siteSecret == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.safetyNetConfig.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.safetyNetConfig.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.apps.safetyNetConfig.patch

valid {
    input.Body.name == STRING
    input.Body.tokenTtl == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.batchUpdate

enum_GoogleFirebaseAppcheckV1ServiceEnforcementMode := [ "OFF", "UNENFORCED", "ENFORCED" ]

valid {
    input.Body.requests[_].service.enforcementMode == enum_GoogleFirebaseAppcheckV1ServiceEnforcementMode[_]
    input.Body.requests[_].service.name == STRING
    input.Body.requests[_].updateMask == STRING
    input.Body.updateMask == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.patch

enum_GoogleFirebaseAppcheckV1ServiceEnforcementMode := [ "OFF", "UNENFORCED", "ENFORCED" ]

valid {
    input.Body.enforcementMode == enum_GoogleFirebaseAppcheckV1ServiceEnforcementMode[_]
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.resourcePolicies.batchUpdate

enum_GoogleFirebaseAppcheckV1ResourcePolicyEnforcementMode := [ "OFF", "UNENFORCED", "ENFORCED" ]

valid {
    input.Body.requests[_].resourcePolicy.enforcementMode == enum_GoogleFirebaseAppcheckV1ResourcePolicyEnforcementMode[_]
    input.Body.requests[_].resourcePolicy.etag == STRING
    input.Body.requests[_].resourcePolicy.name == STRING
    input.Body.requests[_].resourcePolicy.targetResource == STRING
    input.Body.requests[_].updateMask == STRING
    input.Body.updateMask == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.resourcePolicies.create

enum_GoogleFirebaseAppcheckV1ResourcePolicyEnforcementMode := [ "OFF", "UNENFORCED", "ENFORCED" ]

valid {
    input.Body.enforcementMode == enum_GoogleFirebaseAppcheckV1ResourcePolicyEnforcementMode[_]
    input.Body.etag == STRING
    input.Body.name == STRING
    input.Body.targetResource == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.resourcePolicies.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.etag == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.resourcePolicies.get

valid {
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.resourcePolicies.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.filter == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.services.resourcePolicies.patch

enum_GoogleFirebaseAppcheckV1ResourcePolicyEnforcementMode := [ "OFF", "UNENFORCED", "ENFORCED" ]

valid {
    input.Body.enforcementMode == enum_GoogleFirebaseAppcheckV1ResourcePolicyEnforcementMode[_]
    input.Body.etag == STRING
    input.Body.name == STRING
    input.Body.targetResource == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

firebaseappcheck.projects.verifyAppCheckToken

valid {
    input.Body.appCheckToken == STRING
    input.ReqMap.ProjectID == STRING
    input.ProviderMetadata.Region == STRING
    input.ProviderMetadata.ProjectID == STRING
}