openid-risc-profile-specification | March 2023 | |
Scurtescu, et al. | Standards Track | [Page] |
This document defines the Risk Incident Sharing and Coordination (RISC) Event Types based on the Shared Signals Framework (SSF) [SHARED-SIGNALS-FRAMEWORK]. Event Types are introduced and defined in Security Event Token (SET) [SET].¶
This specification defines event types and their contents based on the Shared Signals Framework [SHARED-SIGNALS-FRAMEWORK] that are required to implement Risk Incident Sharing and Coordination.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The base URI for RISC event types is: https://schemas.openid.net/secevent/risc/event-type/¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/account-credential-change-required¶
Account Credential Change Required signals that the account identified by the subject was required to change a credential. For example the user was required to go through a password change.¶
Attributes: none¶
(the event type URI is wrapped, the backslash is the continuation character)¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/account-purged¶
Account Purged signals that the account identified by the subject has been permanently deleted.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/account-disabled¶
Account Disabled signals that the account identified by the subject has been disabled. The actual reason why the
account was disabled might be specified with the nested reason
attribute described below. The account may be
enabled (Section 2.4) in the future.¶
Attributes:¶
reason - optional, describes why was the account disabled. Possible values:¶
(the event type URI is wrapped, the backslash is the continuation character)¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/account-enabled¶
Account Enabled signals that the account identified by the subject has been enabled.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/identifier-changed¶
Identifier Changed signals that the identifier specified in the subject has changed. The subject
type MUST be either email
or phone
and it MUST specify the old value.¶
This event SHOULD be issued only by the provider that is authoritative over the identifier.
For example, if the person that owns john.doe@example.com
goes
through a name change and wants the new john.row@example.com
email
then only the email provider example.com
SHOULD issue an Identifier Changed event as shown in the example below.¶
If an identifier used as a username or recovery option is changed, at a provider that is not authoritative over that identifier, then Recovery Information Changed (Section 2.10) SHOULD be used instead.¶
Attributes:¶
new-value - optional, the new value of the identifier.¶
The foo@example.com
email changed to bar@example.com
.
(the event type URI is wrapped, the backslash is the continuation character)¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/identifier-recycled¶
Identifier Recycled signals that the identifier specified in the subject was recycled and now it
belongs to a new user. The subject type MUST be either email
or
phone
.¶
Attributes: none¶
The 'foo@example.com' email address was recycled. (the event type URI is wrapped, the backslash is the continuation character)¶
Event Type URI:¶
https://schemas.openid.net/secevent/risc/event-type/credential-compromise
¶
A Credential Compromise event signals that the identifier specified in the subject was found to be compromised.¶
Attributes:¶
credential_type - REQUIRED. The type of credential that is compromised. The value of this attribute
must be one of the values specified for the similarly named field in the
Credential Change
event defined in the CAEP Specification [CAEP-SPECIFICATION].¶
event_timestamp - OPTIONAL. JSON number: the time at which the event described by this SET was discovered by the Transmitter. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.¶
reason_admin - OPTIONAL. The reason why the credential compromised event was generated, intended for administrators¶
reason_user - OPTIONAL. The reason why the credential compromised event was generated, intended for end-users¶
(the event type URI is wrapped, the backslash is the continuation character)¶
Users SHOULD be allowed to opt-in and out of RISC events being sent for their accounts. With regards to opt-out, an account can be in one of these three states:¶
opt-in - the account is participating in RISC event exchange.¶
opt-out-initiated - the user requested to be excluded from RISC event exchanges, but for practical security reasons for a period of time RISC events are still exchanged. The main reason for this state is to prevent a hijacker from immediately opting out of RISC.¶
opt-out - the account is NOT participating in RISC event exchange.¶
State changes trigger Opt-Out Events as represented below:¶
Both Transmitters and Receivers SHOULD manage Opt-Out state for users. Transmitters should send the events defined in this section when the Opt-Out state changes.¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/opt-in¶
Opt In signals that the account identified by the subject opted into RISC event exchanges.
The account is in the opt-in
state.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/opt-out-initiated¶
Opt Out Initiated signals that the account identified by the subject initiated to opt out
from RISC event exchanges. The account is in the opt-out-initiated
state.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/opt-out-cancelled¶
Opt Out Cancelled signals that the account identified by the subject cancelled the opt out from RISC
event exchanges. The account is in the opt-in
state.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/opt-out-effective¶
Opt Out Effective signals that the account identified by the subject was effectively opted out from
RISC event exchanges. The account is in the opt-out
state.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/recovery-activated¶
Recovery Activated signals that the account identified by the subject activated a recovery flow.¶
Attributes: none¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/recovery-information-changed¶
Recovery Information Changed signals that the account identified by the subject has changed some of its recovery information. For example a recovery email address was added or removed.¶
Attributes: none¶
Note: This event type is now deprecated. New implementations MUST use the
session-revoked
event defined in the CAEP Specification [CAEP-SPECIFICATION].¶
Event Type URI: https://schemas.openid.net/secevent/risc/event-type/sessions-revoked¶
Sessions Revoked signals that all the sessions for the account identified by the subject have been revoked.¶
Attributes: none¶
Implementers are hereby made aware that the existing RISC implementation
by Google uses the field name subject_type
instead of the field name format
to indicate
the format of the subject identifier. The usage of the field name
subject_type
is deprecated and new services
MUST NOT use this field name.¶
Relying parties wishing to receive events from the Google RISC transmitter therefore need to have code to work around this, until such time as their implementation is updated. Any such workaround should be written in a manner that does not break if Google updates their implementation to conform to this specification.¶
The authors wish to thank all members of the OpenID Foundation Shared Signals Working Group who contributed to the development of this specification.¶
Copyright (c) 2022 The OpenID Foundation.¶
The OpenID Foundation (OIDF) grants to any Contributor, developer, implementer, or other interested party a non-exclusive, royalty free, worldwide copyright license to reproduce, prepare derivative works from, distribute, perform and display, this Implementers Draft or Final Specification solely for the purposes of (i) developing specifications, and (ii) implementing Implementers Drafts and Final Specifications based on such documents, provided that attribution be made to the OIDF as the source of the material, but that such attribution does not indicate an endorsement by the OIDF.¶
The technology described in this specification was made available from contributions from various sources, including members of the OpenID Foundation and others. Although the OpenID Foundation has taken steps to help ensure that the technology is available for distribution, it takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this specification or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any independent effort to identify any such rights. The OpenID Foundation and the contributors to this specification make no (and hereby expressly disclaim any) warranties (express, implied, or otherwise), including implied warranties of merchantability, non-infringement, fitness for a particular purpose, or title, related to this specification, and the entire risk as to implementing this specification is assumed by the implementer. The OpenID Intellectual Property Rights policy requires contributors to offer a patent promise not to assert certain patent claims against other contributors and against implementers. The OpenID Foundation invites any interested party to bring to its attention any copyrights, patents, patent applications, or other proprietary rights that may cover technology that may be required to practice this specification.¶