Skip to content
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

[Security Solution] Add a missing domain tag to Endpoint Exceptions API #193019

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

maximpn
Copy link
Contributor

@maximpn maximpn commented Sep 16, 2024

Addresses: #183375

Summary

This PR adds a missing domain tag to Endpoint Exceptions API. The rest API endpoints got their tags in #189621.

@maximpn maximpn added release_note:skip Skip the PR/issue when compiling release notes docs Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Engine Security Solution Detection Engine Area v8.16.0 labels Sep 16, 2024
@maximpn maximpn self-assigned this Sep 16, 2024
@maximpn maximpn marked this pull request as ready for review September 16, 2024 14:06
@maximpn maximpn requested a review from a team as a code owner September 16, 2024 14:06
@maximpn maximpn requested a review from vitaliidm September 16, 2024 14:06
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

Comment on lines 28 to +34
description: 'Endpoint Exceptions API allow you to manage Endpoint lists.',
},
tags: [
{
name: 'Security Solution Endpoint Exceptions API',
description:
"Endpoint Exceptions API allows you to manage detection rule endpoint exceptions to prevent a rule from generating an alert from incoming events even when the rule's other criteria are met.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exceptions and Endpoint Exceptions APIs are different domains or rather sub-domains. Despite Endpoint Exceptions API reuses Exceptions API schemas under the hood it represents a different set of interactions with the product. UI displays endpoint exceptions in a different tab.

We didn't have Endpoint Exceptions API documented earlier. IMHO having the same tag's name and description might confuse users. Though I'm curious if there are any concerns with that.

Copy link
Contributor

Choose a reason for hiding this comment

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

No, that's not what I meant.

Description on 28th line is different to description on 34.
Whether in PR I referred, both description are the same in tags and root of object

@maximpn maximpn force-pushed the add-missing-tag-to-endpoint-exceptions branch from ca74100 to 3f04b14 Compare September 19, 2024 06:48
@maximpn maximpn enabled auto-merge (squash) September 19, 2024 06:48
@maximpn maximpn added backport backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v9.0.0 and removed backport labels Sep 19, 2024
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @maximpn

@maximpn maximpn merged commit 09374ad into elastic:main Sep 19, 2024
39 checks passed
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 193019

Questions ?

Please refer to the Backport tool documentation

@maximpn
Copy link
Contributor Author

maximpn commented Sep 25, 2024

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

maximpn added a commit to maximpn/kibana that referenced this pull request Sep 25, 2024
…PI (elastic#193019)

**Addresses:** elastic#183375

## Summary

This PR adds a missing domain tag to Endpoint Exceptions API. The rest API endpoints got their tags in elastic#189621.

(cherry picked from commit 09374ad)

# Conflicts:
#	packages/kbn-securitysolution-endpoint-exceptions-common/docs/openapi/ess/security_solution_endpoint_exceptions_api_2023_10_31.bundled.schema.yaml
#	packages/kbn-securitysolution-endpoint-exceptions-common/docs/openapi/serverless/security_solution_endpoint_exceptions_api_2023_10_31.bundled.schema.yaml
maximpn added a commit that referenced this pull request Sep 25, 2024
…ions API (#193019) (#193984)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Add a missing domain tag to Endpoint Exceptions
API (#193019)](#193019)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-19T11:23:11Z","message":"[Security
Solution] Add a missing domain tag to Endpoint Exceptions API
(#193019)\n\n**Addresses:**
https://github.com/elastic/kibana/issues/183375\r\n\r\n##
Summary\r\n\r\nThis PR adds a missing domain tag to Endpoint Exceptions
API. The rest API endpoints got their tags in
https://github.com/elastic/kibana/pull/189621.","sha":"09374ad2ce5ba96b61a1d300264d2465f34e2326","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","docs","Team:Detections
and Resp","Team: SecuritySolution","backport:prev-minor","Team:Detection
Engine","v8.16.0"],"number":193019,"url":"https://github.com/elastic/kibana/pull/193019","mergeCommit":{"message":"[Security
Solution] Add a missing domain tag to Endpoint Exceptions API
(#193019)\n\n**Addresses:**
https://github.com/elastic/kibana/issues/183375\r\n\r\n##
Summary\r\n\r\nThis PR adds a missing domain tag to Endpoint Exceptions
API. The rest API endpoints got their tags in
https://github.com/elastic/kibana/pull/189621.","sha":"09374ad2ce5ba96b61a1d300264d2465f34e2326"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193019","number":193019,"mergeCommit":{"message":"[Security
Solution] Add a missing domain tag to Endpoint Exceptions API
(#193019)\n\n**Addresses:**
https://github.com/elastic/kibana/issues/183375\r\n\r\n##
Summary\r\n\r\nThis PR adds a missing domain tag to Endpoint Exceptions
API. The rest API endpoints got their tags in
https://github.com/elastic/kibana/pull/189621.","sha":"09374ad2ce5ba96b61a1d300264d2465f34e2326"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
maximpn added a commit to maximpn/kibana that referenced this pull request Nov 12, 2024
…PI (elastic#193019)

**Addresses:** elastic#183375

This PR adds a missing domain tag to Endpoint Exceptions API. The rest API endpoints got their tags in elastic#189621.

(cherry picked from commit 09374ad)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) docs release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants