Skip to content

Commit

Permalink
Feature: OpenCTI Improvements (restored) (#37811)
Browse files Browse the repository at this point in the history
* Feature: OpenCTI Improvements (#37270)

* refactor: rename indicator commands to observable

# Conflicts:
#	Packs/OpenCTI/Integrations/OpenCTI/OpenCTI.py
#	Packs/OpenCTI/Integrations/OpenCTI/OpenCTI.yml
#	Packs/OpenCTI/Integrations/OpenCTI/OpenCTI_test.py

* feat: add command argument to create indicator related to the observable

* chore: update contributors

* Revert "chore: update contributors"

This reverts commit 53350f0.

* chore: add contributors

* fix(errors): exception message when failing to create organization

* chore: update readme

* refactor: yml format

* feat: incident create and delete commands

* feat: incident types command

* feat: indicators commands

* test: update observables tests

* refactor: get indicators output and params align

* fix: fix main observable type translation

* feat: align outputs

* refactor: outputs align

* fix: indicator_demove_field use indicator functions instead observable

* refactor: rename observable traces in indicator commands

* test: add incident tests

* refactor: demisto-sdk format

* refactor: outputs align

* test: relationship_create_command tests

* refactor: align outputs

* test: update tests

* test: indicator create and update tests

* feat: add error traces in demisto output result

* docs: add comment to explain the GraphQL porpuse

* fix: bad output in yml

* docs: explain some command parameters

* refactor: align output commands

* test: indicator field add and remove tests

* refactor:  comments and output align

* test: indicator_types_list_command tests

* test: get_indicators tests

* refactor: update pre-commit errors

* refactor: properly score definition

* docs: update readme

* chore: release information

* test: update playbook tests

* fix: get_indicators search by label

* feat: add opencti-get-indicators filters

* fix: minor context propagation

* doc: generate doc

* doc: generate readme

* chore: add command examples

* test: update playbook opencti test

* feat: get-indicators filterby creator

* chore: pre-commit validations improvements

* fix: create indicator playbook remove input data

* feat: add confidence output to get-indicators

* feat: add get_all argument to gets

* refactor: delete incident name from context (no retuned by the library)

* refactor: rename get_all argument to all_results

* refactor: rename get-indicators value arg to search

* docs: update readme

* docs: update all_results argument description

* feat: add get-incidents command

* refactor: run format

* refactor: minor updates

* feat: add relationship-delete command

* feat: add relationship-list command

* Update Packs/OpenCTI/Integrations/OpenCTI/OpenCTI.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/OpenCTI/Integrations/OpenCTI/OpenCTI.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* Update Packs/OpenCTI/Integrations/OpenCTI/OpenCTI.yml

Co-authored-by: ShirleyDenkberg <[email protected]>

* refactor: resolve Mypy errors

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

* Apply suggestions from code review

Co-authored-by: ShirleyDenkberg <[email protected]>

---------

Co-authored-by: ShirleyDenkberg <[email protected]>
Co-authored-by: samuelFain <[email protected]>

* Update 2_0_0.json

* Update 2_0_0.json

* Add BC notice to RN

* Solve RM102 error

---------

Co-authored-by: jesusgpo <[email protected]>
Co-authored-by: ShirleyDenkberg <[email protected]>
  • Loading branch information
3 people authored Dec 24, 2024
1 parent 67b6c8e commit cd64ef5
Show file tree
Hide file tree
Showing 15 changed files with 3,369 additions and 534 deletions.
3 changes: 3 additions & 0 deletions Packs/OpenCTI/CONTRIBUTORS.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"Jesús García Potes <[email protected]>"
]
Loading

0 comments on commit cd64ef5

Please sign in to comment.