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

[AUTO] Incremented version to 2.15.1. #1096

Open
wants to merge 46 commits into
base: 2.15
Choose a base branch
from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

I've noticed that a new tag 2.15.0.0 was pushed, and incremented the version from 2.15.0 to 2.15.1.

opensearch-trigger-bot bot and others added 4 commits June 12, 2024 10:06
(cherry picked from commit 362f0d6)

Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…1039)

Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit 20905ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: Subhobrata Dey <[email protected]>
opensearch-trigger-bot bot and others added 15 commits July 1, 2024 20:56
(cherry picked from commit 65c1519)

Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* added correlationAlert integ tests

Signed-off-by: Riya Saxena <[email protected]>

* added licences

Signed-off-by: Riya Saxena <[email protected]>

* fixed imports

Signed-off-by: Riya Saxena <[email protected]>

* deleted SecureCorrelationAlerts Tests, will add later

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
(cherry picked from commit e8d7879)
(cherry picked from commit 29cb35b)

Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Joanne Wang <[email protected]>
(cherry picked from commit d51b5a4)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joanne Wang <[email protected]>
* Threat Intel Analytics (#1098)

Threat Intel Analytics Added

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: Chase Engelbrecht <[email protected]>
Signed-off-by: Riya <[email protected]>
Signed-off-by: Riya Saxena <[email protected]>
Co-authored-by: Joanne Wang <[email protected]>
Co-authored-by: AWSHurneyt <[email protected]>
Co-authored-by: Subhobrata Dey <[email protected]>
Co-authored-by: Chase <[email protected]>
Co-authored-by: Riya <[email protected]>

* fix compile

Signed-off-by: Joanne Wang <[email protected]>

* update sa commons jar

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: Chase Engelbrecht <[email protected]>
Signed-off-by: Riya <[email protected]>
Signed-off-by: Riya Saxena <[email protected]>
Co-authored-by: Surya Sashank Nistala <[email protected]>
Co-authored-by: AWSHurneyt <[email protected]>
Co-authored-by: Subhobrata Dey <[email protected]>
Co-authored-by: Chase <[email protected]>
Co-authored-by: Riya <[email protected]>
…m S3 downloaded iocs file (#1129) (#1148)

(cherry picked from commit 5d3dbca)

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…g apis. null check for alias (#1131) (#1153)

(cherry picked from commit 23ab84a)

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Changes threat intel default store config model (#1133)

* change store config model

Signed-off-by: Joanne Wang <[email protected]>

* add validation to ioc type enum name

Signed-off-by: Joanne Wang <[email protected]>

* change alias to index pattern

Signed-off-by: Joanne Wang <[email protected]>

* make variables final

Signed-off-by: Joanne Wang <[email protected]>

* ensure ioc types are part of ioc_types

Signed-off-by: Joanne Wang <[email protected]>

* fix integ test

Signed-off-by: Joanne Wang <[email protected]>

* remove alias and rename active index

Signed-off-by: Joanne Wang <[email protected]>

* fix test

Signed-off-by: Joanne Wang <[email protected]>

* add enabled for scan flag in source config.

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Co-authored-by: Surya Sashank Nistala <[email protected]>
(cherry picked from commit 3be4828)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix imports

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Surya Sashank Nistala <[email protected]>
Co-authored-by: Joanne Wang <[email protected]>
* adds new tif source config type - url download (#1142)

* adds new tif source config type - url download

Signed-off-by: Surya Sashank Nistala <[email protected]>

* set up create default tif configs

Signed-off-by: Surya Sashank Nistala <[email protected]>

* address review comments

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add check to block create and delete operation url download type tif source configs

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>

* Adjusted IOCTypes usage. (#1156)

* Removed TODOs.

Signed-off-by: AWSHurneyt <[email protected]>

* Refactored how STIX2IOCGenerator creates IOCs of specific types.

Signed-off-by: AWSHurneyt <[email protected]>

* Added additional integration tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Changed IOCType usage as it's no longer an enum in SA commons.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated jar file.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed unit tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Refactored build.gradle to exclude redundant dependencies from SA commons, instead of the SA commons jar being generated withhout those dependencies.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated jar.

Signed-off-by: AWSHurneyt <[email protected]>

* Reverted changes to build.gradle.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated jar.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed IOCType usage.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed log message.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Addressed PR feedback.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed jar.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Co-authored-by: Surya Sashank Nistala <[email protected]>
…1157) (#1160)

* fix job parser



* fix listener.onFailure



* fix flaky create threat intel monitor test



---------


(cherry picked from commit b8496a9)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…each IOC. (#1163) (#1167)

(cherry picked from commit 105e590)

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Ioc upload integ tests and fix update (#1162)

* add tests and fix error msg

Signed-off-by: Joanne Wang <[email protected]>

* fix feeds store

Signed-off-by: Joanne Wang <[email protected]>

* fix msg

Signed-off-by: Joanne Wang <[email protected]>

* add return so flushIOCs isn't called on failure

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
(cherry picked from commit c8ad00f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix compile error

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joanne Wang <[email protected]>
* [BUG] Resolve aliases in monitor input to concrete indices before computing ioc-containing fields from concrete index docs (#1173)

* resolve aliases in monitor input to concrete indices before computing ioc-containing fields from concrete index docs

Signed-off-by: Surya Sashank Nistala <[email protected]>

* clear indices after test

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>

* Fix match query in search tif source configs request to use string value of enum (#1178)

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
…aining malicious IOC (#1184) (#1185)

(cherry picked from commit d676715)

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot and others added 6 commits July 23, 2024 17:33
(cherry picked from commit 3230bda)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix ioc upload update behavior and change error response



* update test



---------


(cherry picked from commit f1e9d20)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Catch and wrap exceptions. (#1198)

* Wrapping exceptions.

Signed-off-by: AWSHurneyt <[email protected]>

* Wrapping exceptions.

Signed-off-by: AWSHurneyt <[email protected]>

* Wrapping exceptions.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed exception wrapping.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed exception wrapping.

Signed-off-by: AWSHurneyt <[email protected]>

* Wrapping exceptions.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed exception wrapping.

Signed-off-by: AWSHurneyt <[email protected]>

* Adjusted test case to run with 1mil IOCs.

Signed-off-by: AWSHurneyt <[email protected]>

* Added logic to catch more exceptions, and wrap more exceptions.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated jar to reflect changes in opensearch-project/security-analytics-commons#19.

Signed-off-by: AWSHurneyt <[email protected]>

* 2.16 release notes (#1196)

Signed-off-by: Joanne Wang <[email protected]>

* Updated release notes.

Signed-off-by: AWSHurneyt <[email protected]>

* Added catch for parsing errors.

Signed-off-by: AWSHurneyt <[email protected]>

* Addressed PR feedback.

Signed-off-by: AWSHurneyt <[email protected]>

* Addressed PR feedback.

Signed-off-by: AWSHurneyt <[email protected]>

* Added unit tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Added integ test.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Joanne Wang <[email protected]>
Co-authored-by: Joanne Wang <[email protected]>

(cherry picked from commit f8b541d)
Signed-off-by: AWSHurneyt <[email protected]>

* Fixed cherry-pick.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Joanne Wang <[email protected]>
Co-authored-by: Joanne Wang <[email protected]>
…shes the thread context for all system index interactions (#1207) (#1208)

(cherry picked from commit 1cb59d9)

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit bd8f0c4)

Signed-off-by: Subhobrata Dey <[email protected]>
opensearch-trigger-bot bot and others added 15 commits August 8, 2024 16:19
(cherry picked from commit 03e0d9b)

Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix default source config behavior and release lock



* add check for multinode index not exist



* add tests



* replace match query with match phrase query in threat intel to avoid tokenization/analysis of value



* added test to verify deactiavte ioc_upload



* add debug log to release lock



* fix test



* fix update url download and add test



---------




(cherry picked from commit 1483883)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Surya Sashank Nistala <[email protected]>
…#1241)

* Fixed searchString bug. Removed nested IOC mapping structure.



* Removed redundant operator set from query.



* Fixed scan service.



* Implemented integ test.



---------


(cherry picked from commit 6916f8c)

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit ddfa87c)

Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…n while updating URL_DOWNLOAD type configs (#1240) (#1244)

* adds toggling refresh disable/enable for deactivate/activate operation while updating URL_DOWNLOAD type configs



* add sleep for lock issue



* wait on release lock operation completion before returning update tif source config response



* reset flag after integ tests for SourceConfigWithoutS3RestApiIT



---------


(cherry picked from commit 3e1f59d)

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
)

* threat intel release lock event driven



* fix release lock for previous threat intel



---------


(cherry picked from commit 890493a)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* catch errors and fail action listener



* add test to validate behavior



---------


(cherry picked from commit 2e0ed56)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…1269)

* cleanup empty iocs and lock



* change action listener response



---------


(cherry picked from commit 0920e47)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix multinode tests



* fix multinode



---------


(cherry picked from commit f89c3ed)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* update mapping



* fix integ tests



* remove debug in case of null and return listener on failure for lock



* remove stash context and change to local.root



* rename releaseLock



* check for concurrent modification exception



* remove exception check



---------


(cherry picked from commit 66f1155)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* stash context for list iocs api



* refactor list iocs



* refactor list iocs action response



---------


(cherry picked from commit 2fce175)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 57a317a)

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* adding stash context for system indices



* adding stash context for system indices



---------


(cherry picked from commit e6884d6)

Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit ffcc807)

Signed-off-by: Dennis Toepker <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dennis Toepker <[email protected]>
opensearch-trigger-bot bot and others added 4 commits September 24, 2024 14:36
Signed-off-by: GitHub <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
* handle exception arising from trying to search with sort on empty index



* add setting to test max term count in threat intel ioc scan terms query and verify grouped listener wiring



* remove unused variable



* avoid grouped listener being initiated with size 0



* add verification that empty index scan is handled gracefully



---------


(cherry picked from commit 39c29d4)

Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants