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

Analyst1 202306 Updates #28418

Merged
merged 1 commit into from Jul 23, 2023
Merged

Conversation

content-bot
Copy link
Collaborator

Original External PR

external pull request

Contributor

@a1-james

Updates to XSOAR app to work with Analyst1 2.1 and other APIs previously released

Contributing to Cortex XSOAR Content

Make sure to register your contribution by filling the contribution registration form

The Pull Request will be reviewed only after the contribution registration form is filled.

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

fixes: link to the issue

Description

A few sentences describing the overall goals of the pull request's commits.

Screenshots

Paste here any images that will help the reviewer

Minimum version of Cortex XSOAR

  • 6.0.0
  • 6.1.0
  • 6.2.0
  • 6.5.0

Does it break backward compatibility?

  • Yes
    • Further details:
  • No

Must have

  • Tests
  • Documentation

* Analyst1 202306 Updates

Updates to XSOAR app to work with Analyst1 2.1 and other APIs previously released

* Formatting & Feedback

Redressing multiple formatting and initial PR feedback. More to follow for code coverage and images.

* Unit Testing Coverage

New unit tests for all new functions

* YML/PY Fixes and Commands Examples

Found errors in consistency. Including commands example txt.

* Secrets Fix

Removed IP address that caused "Secrets" failure.

* Secrets Fix

Actual secrets fix and removing invalid file from last commit.

* README and Testing Fixes

README contains placeholders for all new functions. Additional testing fixes to remove Flake8 and Vulture errors.

* Update Analyst1_image.png

Fixed the image to comply with expectations.

* Additional command name fixes

revert analyst1-enrich-url to url per PR note

* Fix unexpected execution path in batch check post

In final testing, found that a certain way inputs could come in would confuse the previously tested logic. So had to allow for some gracious processing of possible STR input to this scenario.

* Removed Secrets

* Redress Most MyPy Errors

* Resolved "return_error" being called too often & reversed illuminate.py

* Images correct dimensions

* increase test coverage

* Update Packs/illuminate/ReleaseNotes/1_1_0.md

* Update Packs/illuminate/Integrations/Analyst1/Analyst1.yml

* MyPy resolution after testing

Also closing a file which was opened as a best practice.

* Formatting changes to resolve IN135

Update Packs/illuminate/Integrations/Analyst1/Analyst1.yml

Co-authored-by: Menachem Weinfeld <90556466+mmhw@users.noreply.github.com>

* Docker Image

[2023-07-17 12:37:19,845] [ERROR] Packs/illuminate/Integrations/Analyst1/Analyst1.yml: [DO106] - The docker image tag is not the latest numeric tag, please update it.
The docker image tag in the yml file is: 3.10.11.61265
The latest docker image tag in docker hub is: 3.10.12.63474

* Apply suggestions from code review

* Update the docker image

* pre-commit

* pre-commit on test file

---------

Co-authored-by: Menachem Weinfeld <90556466+mmhw@users.noreply.github.com>
Co-authored-by: Menachem Weinfeld <mmhw770@gmail.com>
@content-bot content-bot added Contribution Thank you! Contributions are always welcome! Partner ready-for-instance-test In contribution PRs, this label will cause a trigger of a build with a modified pack from the PR. pending-demo Demo pending Contribution Form Filled Whether contribution form filled or not. Partner Support Level Indicates that the contribution is for Partner supported pack labels Jul 23, 2023
@content-bot content-bot requested a review from mmhw July 23, 2023 11:49
@mmhw mmhw merged commit 0ead260 into master Jul 23, 2023
28 of 31 checks passed
@mmhw mmhw deleted the contrib/a1-james_analyst1_202306_updates branch July 23, 2023 12:53
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Aug 2, 2023
* Analyst1 202306 Updates

Updates to XSOAR app to work with Analyst1 2.1 and other APIs previously released

* Formatting & Feedback

Redressing multiple formatting and initial PR feedback. More to follow for code coverage and images.

* Unit Testing Coverage

New unit tests for all new functions

* YML/PY Fixes and Commands Examples

Found errors in consistency. Including commands example txt.

* Secrets Fix

Removed IP address that caused "Secrets" failure.

* Secrets Fix

Actual secrets fix and removing invalid file from last commit.

* README and Testing Fixes

README contains placeholders for all new functions. Additional testing fixes to remove Flake8 and Vulture errors.

* Update Analyst1_image.png

Fixed the image to comply with expectations.

* Additional command name fixes

revert analyst1-enrich-url to url per PR note

* Fix unexpected execution path in batch check post

In final testing, found that a certain way inputs could come in would confuse the previously tested logic. So had to allow for some gracious processing of possible STR input to this scenario.

* Removed Secrets

* Redress Most MyPy Errors

* Resolved "return_error" being called too often & reversed illuminate.py

* Images correct dimensions

* increase test coverage

* Update Packs/illuminate/ReleaseNotes/1_1_0.md

* Update Packs/illuminate/Integrations/Analyst1/Analyst1.yml

* MyPy resolution after testing

Also closing a file which was opened as a best practice.

* Formatting changes to resolve IN135

Update Packs/illuminate/Integrations/Analyst1/Analyst1.yml



* Docker Image

[2023-07-17 12:37:19,845] [ERROR] Packs/illuminate/Integrations/Analyst1/Analyst1.yml: [DO106] - The docker image tag is not the latest numeric tag, please update it.
The docker image tag in the yml file is: 3.10.11.61265
The latest docker image tag in docker hub is: 3.10.12.63474

* Apply suggestions from code review

* Update the docker image

* pre-commit

* pre-commit on test file

---------

Co-authored-by: a1-james <137313186+a1-james@users.noreply.github.com>
Co-authored-by: Menachem Weinfeld <90556466+mmhw@users.noreply.github.com>
Co-authored-by: Menachem Weinfeld <mmhw770@gmail.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Aug 2, 2023
* Analyst1 202306 Updates

Updates to XSOAR app to work with Analyst1 2.1 and other APIs previously released

* Formatting & Feedback

Redressing multiple formatting and initial PR feedback. More to follow for code coverage and images.

* Unit Testing Coverage

New unit tests for all new functions

* YML/PY Fixes and Commands Examples

Found errors in consistency. Including commands example txt.

* Secrets Fix

Removed IP address that caused "Secrets" failure.

* Secrets Fix

Actual secrets fix and removing invalid file from last commit.

* README and Testing Fixes

README contains placeholders for all new functions. Additional testing fixes to remove Flake8 and Vulture errors.

* Update Analyst1_image.png

Fixed the image to comply with expectations.

* Additional command name fixes

revert analyst1-enrich-url to url per PR note

* Fix unexpected execution path in batch check post

In final testing, found that a certain way inputs could come in would confuse the previously tested logic. So had to allow for some gracious processing of possible STR input to this scenario.

* Removed Secrets

* Redress Most MyPy Errors

* Resolved "return_error" being called too often & reversed illuminate.py

* Images correct dimensions

* increase test coverage

* Update Packs/illuminate/ReleaseNotes/1_1_0.md

* Update Packs/illuminate/Integrations/Analyst1/Analyst1.yml

* MyPy resolution after testing

Also closing a file which was opened as a best practice.

* Formatting changes to resolve IN135

Update Packs/illuminate/Integrations/Analyst1/Analyst1.yml



* Docker Image

[2023-07-17 12:37:19,845] [ERROR] Packs/illuminate/Integrations/Analyst1/Analyst1.yml: [DO106] - The docker image tag is not the latest numeric tag, please update it.
The docker image tag in the yml file is: 3.10.11.61265
The latest docker image tag in docker hub is: 3.10.12.63474

* Apply suggestions from code review

* Update the docker image

* pre-commit

* pre-commit on test file

---------

Co-authored-by: a1-james <137313186+a1-james@users.noreply.github.com>
Co-authored-by: Menachem Weinfeld <90556466+mmhw@users.noreply.github.com>
Co-authored-by: Menachem Weinfeld <mmhw770@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution Form Filled Whether contribution form filled or not. Contribution Thank you! Contributions are always welcome! docs-approved Partner Support Level Indicates that the contribution is for Partner supported pack Partner pending-demo Demo pending ready-for-instance-test In contribution PRs, this label will cause a trigger of a build with a modified pack from the PR.
Projects
None yet
3 participants