Skip to content

OKTA-727230 Add new event type #4817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

brianduffield-okta
Copy link
Contributor

Description:

  • What's changed? Adding new event type to ITP enhanced table
  • **Is this PR related to a Monolith release?**TBD

Resolves:

Copy link

semgrep-app bot commented May 13, 2024

Semgrep found 1 react-jwt-decoded-property finding:

  • packages/@okta/vuepress-theme-prose/util/coveo/endpoint.js

Property decoded from JWT token without verifying and cannot be trustworthy.

Ignore this finding from react-jwt-decoded-property.

barbaravo-okta
barbaravo-okta previously approved these changes Jun 5, 2024
Copy link
Contributor

@barbaravo-okta barbaravo-okta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Continuous Access was renamed in the June release - I'm not sure if the new name should be reflected here or not. If you keep Continuous Access, make sure that it's capitalized throughout the docs.

| RuleAction | The configured action to respond to the risk. Values include `TERMINATE_ALL_SESSIONS` or `RUN_WORKFLOW`. If the action is `TERMINATE_ALL_SESSIONS`, no further properties appear. If the action is `RUN_WORKFLOW`, the `WorkflowId` appears. | ENUM | `RUN_WORKFLOW` |
| **target.DetailEntry** (Rule) | | | |
| RuleAction | The configured action to respond to the risk. Values include `TERMINATE_SESSION` or `RUN_WORKFLOW`. | Enum | `TERMINATE_SESSION` |
| SingleLogOutEnabled | For a `RuleAction` of `TERMINATE_SESSION`, and if `true`, a continuous access evaluation violation enforces application logout. | Boolean | `true` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| SingleLogOutEnabled | For a `RuleAction` of `TERMINATE_SESSION`, and if `true`, a continuous access evaluation violation enforces application logout. | Boolean | `true` |
| SingleLogOutEnabled | For a `RuleAction` of `TERMINATE_SESSION`, and if `true`, a continuous access evaluation violation enforces app logout. | Boolean | `true` |

| **target** (Policy) | The entity risk policy | Object | |
| type | The type of target object | String | Policy |
| **target** (Rule) | The rule of the entity risk policy | | |
| **target** (Rule) | The rule associated with the continuous access evaluation | Object | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Continuous access has been renamed - Nikita has more information about this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, yeah, for 2024.06.0 we're not updating dev docs, but it's on the to-do list. I'll keep things the same for this pr. It will get updated. Thanks

| **target.DetailEntry** (Rule) | | | |
| RuleAction | The configured action to respond to the risk. Values include `TERMINATE_SESSION` or `RUN_WORKFLOW`. | Enum | `TERMINATE_SESSION` |
| SingleLogOutEnabled | For a `RuleAction` of `TERMINATE_SESSION`, and if `true`, a continuous access evaluation violation enforces application logout. | Boolean | `true` |
| SingleLogOutSelectionMode | For a `RuleAction` of `TERMINATE_SESSION`, the options of the application logout, either all applications, specific applications, or none. Values can be: `NONE`, `ALL`, or `SPECIFIED`. | Enum | `ALL` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| SingleLogOutSelectionMode | For a `RuleAction` of `TERMINATE_SESSION`, the options of the application logout, either all applications, specific applications, or none. Values can be: `NONE`, `ALL`, or `SPECIFIED`. | Enum | `ALL` |
| SingleLogOutSelectionMode | For a `RuleAction` of `TERMINATE_SESSION`, the options of the app logout, either all apps, specific apps, or none. Values can be: `NONE`, `ALL`, or `SPECIFIED`. | Enum | `ALL` |

| Key event properties | Description | Data type | Example values |
| --------------------- | --------------------------------------------------- | -------------- | -------------- |
| **event.system.debugContext.debugData** | | | |
| AppInstanceIds |A list of application IDs that Okta triggered for Universal Logout | Array of IDs | ["0oa1ysra5y0ESChAr0h8"] |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| AppInstanceIds |A list of application IDs that Okta triggered for Universal Logout | Array of IDs | ["0oa1ysra5y0ESChAr0h8"] |
| AppInstanceIds |A list of app IDs that Okta triggered for Universal Logout | Array of IDs | ["0oa1ysra5y0ESChAr0h8"] |

| --------------------- | --------------------------------------------------- | -------------- | -------------- |
| **event.system.debugContext.debugData** | | | |
| AppInstanceIds |A list of application IDs that Okta triggered for Universal Logout | Array of IDs | ["0oa1ysra5y0ESChAr0h8"] |
| TraceId | The `TraceId` is used in continuous access evaluation use cases. A request that triggers a CAE evaluation can ultimately trigger things like CAE action events - and those are executed from the async jobs. `TraceId` connects together events triggered both by the original request handler and from the async jobs triggered by this handler. | String | `94384405-51e3-4e13-b8b0-ba857b585a63` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use the term "CAE" anywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, did a search for all and replaced them.

| IPAddress | IP address | | |

### user.authentication.universal_logout.scheduled

**Description:** This event triggers only when an admin manually triggers the Universal Logout against an app instance. It contains the location of the admin and the context of the universal logout, that is, from where and how the Universal Logout API was triggered. This event is only triggered once. You can co-relate this event with the `user.authentication.universal_logout` event using the `traceID` found under `DebugData` for both events.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Description:** This event triggers only when an admin manually triggers the Universal Logout against an app instance. It contains the location of the admin and the context of the universal logout, that is, from where and how the Universal Logout API was triggered. This event is only triggered once. You can co-relate this event with the `user.authentication.universal_logout` event using the `traceID` found under `DebugData` for both events.
**Description:** This event triggers only when an admin manually triggers the Universal Logout against an app instance. It contains the location of the admin and the context of the Universal Logout, that is, from where and how the Universal Logout API was triggered. This event is only triggered once. You can co-relate this event with the `user.authentication.universal_logout` event using the `traceID` found under `DebugData` for both events.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should "co-related" be correlate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that works far better.

| Key event properties | Description | Data type | Example values |
| --------------------- | --------------------------------------------------- | -------------- | -------------- |
| **event.system.debugContext.debugData** | | | |
| TraceId | The `TraceId` is used in continuous access evaluation use cases. A request that triggers a CAE evaluation can ultimately trigger things like CAE action events - and those are executed from the async jobs. `TraceId` connects together events triggered both by the original request handler and from the async jobs triggered by this handler. | String | `94384405-51e3-4e13-b8b0-ba857b585a63` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CAE

| --------------------- | --------------------------------------------------- | -------------- | -------------- |
| **event.system.debugContext.debugData** | | | |
| TraceId | The `TraceId` is used in continuous access evaluation use cases. A request that triggers a CAE evaluation can ultimately trigger things like CAE action events - and those are executed from the async jobs. `TraceId` connects together events triggered both by the original request handler and from the async jobs triggered by this handler. | String | `94384405-51e3-4e13-b8b0-ba857b585a63` |
| **target** (User) | The user impacted by the universal logout | Object | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| **target** (User) | The user impacted by the universal logout | Object | |
| **target** (User) | The user impacted by the Universal Logout | Object | |

| TraceId | The `TraceId` is used in continuous access evaluation use cases. A request that triggers a CAE evaluation can ultimately trigger things like CAE action events - and those are executed from the async jobs. `TraceId` connects together events triggered both by the original request handler and from the async jobs triggered by this handler. | String | `94384405-51e3-4e13-b8b0-ba857b585a63` |
| **target** (User) | The user impacted by the universal logout | Object | |
| type | The type of target object | String | User |
| **actor** | The admin or system principal that triggers universal logout | Object | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| **actor** | The admin or system principal that triggers universal logout | Object | |
| **actor** | The admin or system principal that triggers Universal Logout | Object | |

| EndedSessionId | The session ID that is ended for the target user | String | `idxffK-esRDSrC5m0ly-Kma9A ` |
| TraceId | A unique ID that is used across a single flow of ITP events to easily correlate them all into one System Log query | String | `e1214f29-e6b3-4698-b3be-4bccaadf1937` |
| ThreatSuspected | If ThreatInsight is running and detects a request as suspicious, the value for this property is `true`. | Boolean | |
| Url | The log-out URL from the end user or admin actor | String | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Url | The log-out URL from the end user or admin actor | String | |
| Url | The logout URL from the end user or admin actor | String | |

@brianduffield-okta brianduffield-okta added the docs release Tagged to be released during scheduled docs release label Jun 5, 2024
@brianduffield-okta brianduffield-okta changed the base branch from master to release-2024.06.0 June 5, 2024 20:44
@brianduffield-okta brianduffield-okta merged commit f6f93a2 into release-2024.06.0 Jun 5, 2024
3 checks passed
@brianduffield-okta brianduffield-okta deleted the bd-okta-727230-add-new-event-type-ul branch September 17, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Barbara docs release Tagged to be released during scheduled docs release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants