Versions in this module Expand all Collapse all v0 v0.1.0 Jun 21, 2026 Changes in this version + const EventAssuranceLevelChange + const EventCredentialChange + const EventDeviceComplianceChange + const EventRiskLevelChange + const EventSessionEstablished + const EventSessionPresented + const EventSessionRevoked + const EventTokenClaimsChange + const SpecVersion + var ErrMissingChangeType = errors.New(`caep: credential-change: missing required field "change_type"`) + var ErrMissingClaims = errors.New(`caep: token-claims-change: missing required field "claims"`) + var ErrMissingCredentialType = errors.New(`caep: credential-change: missing required field "credential_type"`) + var ErrMissingCurrentLevel = errors.New(`caep: missing required field "current_level"`) + var ErrMissingCurrentStatus = errors.New(`caep: device-compliance-change: missing required field "current_status"`) + var ErrMissingNamespace = errors.New(`caep: assurance-level-change: missing required field "namespace"`) + var ErrMissingPreviousStatus = errors.New(`caep: device-compliance-change: missing required field "previous_status"`) + var ErrMissingPrincipal = errors.New(`caep: risk-level-change: missing required field "principal"`) + func Put(events secevent.Events, e secevent.Event) error + func Validate(e secevent.Event) error + type AssuranceLevelChange struct + ChangeDirection ChangeDirection + CurrentLevel string + Namespace AssuranceNamespace + PreviousLevel string + func (AssuranceLevelChange) EventTypeURI() string + func (e *AssuranceLevelChange) UnmarshalJSON(b []byte) error + func (e AssuranceLevelChange) MarshalJSON() ([]byte, error) + type AssuranceNamespace string + const AssuranceNamespaceISOIEC29115 + const AssuranceNamespaceNISTAAL + const AssuranceNamespaceNISTFAL + const AssuranceNamespaceNISTIAL + const AssuranceNamespaceRFC6711 + const AssuranceNamespaceRFC8176 + type Base struct + EventTimestamp *secevent.NumericDate + InitiatingEntity InitiatingEntity + ReasonAdmin map[string]string + ReasonUser map[string]string + type ChangeDirection string + const ChangeDirectionDecrease + const ChangeDirectionIncrease + type ComplianceStatus string + const ComplianceStatusCompliant + const ComplianceStatusNotCompliant + type CredentialChange struct + ChangeType CredentialChangeType + CredentialType CredentialType + FIDO2AAGUID string + FriendlyName string + X509Issuer string + X509Serial string + func (CredentialChange) EventTypeURI() string + func (e *CredentialChange) UnmarshalJSON(b []byte) error + func (e CredentialChange) MarshalJSON() ([]byte, error) + type CredentialChangeType string + const CredentialChangeCreate + const CredentialChangeDelete + const CredentialChangeRevoke + const CredentialChangeUpdate + type CredentialType string + const CredentialTypeApp + const CredentialTypeFIDO2Platform + const CredentialTypeFIDO2Roaming + const CredentialTypeFIDOU2F + const CredentialTypePIN + const CredentialTypePassword + const CredentialTypePhoneSMS + const CredentialTypePhoneVoice + const CredentialTypeVerifiableCredential + const CredentialTypeX509 + type DeviceComplianceChange struct + CurrentStatus ComplianceStatus + PreviousStatus ComplianceStatus + func (DeviceComplianceChange) EventTypeURI() string + func (e *DeviceComplianceChange) UnmarshalJSON(b []byte) error + func (e DeviceComplianceChange) MarshalJSON() ([]byte, error) + type InitiatingEntity string + const InitiatingEntityAdmin + const InitiatingEntityPolicy + const InitiatingEntitySystem + const InitiatingEntityUser + type RiskLevel string + const RiskLevelHigh + const RiskLevelLow + const RiskLevelMedium + type RiskLevelChange struct + CurrentLevel RiskLevel + PreviousLevel RiskLevel + Principal RiskPrincipal + RiskReason string + func (RiskLevelChange) EventTypeURI() string + func (e *RiskLevelChange) UnmarshalJSON(b []byte) error + func (e RiskLevelChange) MarshalJSON() ([]byte, error) + type RiskPrincipal string + const RiskPrincipalDevice + const RiskPrincipalGroup + const RiskPrincipalOrgUnit + const RiskPrincipalSession + const RiskPrincipalTenant + const RiskPrincipalUser + type SessionEstablished struct + ACR string + AMR []string + ExtID string + FingerprintUA string + func (SessionEstablished) EventTypeURI() string + func (e *SessionEstablished) UnmarshalJSON(b []byte) error + func (e SessionEstablished) MarshalJSON() ([]byte, error) + type SessionPresented struct + ExtID string + FingerprintUA string + func (SessionPresented) EventTypeURI() string + func (e *SessionPresented) UnmarshalJSON(b []byte) error + func (e SessionPresented) MarshalJSON() ([]byte, error) + type SessionRevoked struct + func (SessionRevoked) EventTypeURI() string + func (e *SessionRevoked) UnmarshalJSON(b []byte) error + func (e SessionRevoked) MarshalJSON() ([]byte, error) + type TokenClaimsChange struct + Claims map[string]json.RawMessage + func (TokenClaimsChange) EventTypeURI() string + func (e *TokenClaimsChange) UnmarshalJSON(b []byte) error + func (e TokenClaimsChange) MarshalJSON() ([]byte, error)