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

Traceable AI API Security Platform Integration #27626

Merged
merged 40 commits into from
Jul 2, 2023
Merged

Traceable AI API Security Platform Integration #27626

merged 40 commits into from
Jul 2, 2023

Conversation

mtraceable
Copy link
Contributor

@mtraceable mtraceable commented Jun 22, 2023

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

@mtraceable mtraceable requested a review from ilaner as a code owner June 22, 2023 03:54
@CLAassistant
Copy link

CLAassistant commented Jun 22, 2023

CLA assistant check
All committers have signed the CLA.

@michal-dagan
Copy link
Contributor

michal-dagan commented Jun 26, 2023

Hi @mtraceable ,
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @michal-dagan will know the proposed changes are ready to be reviewed.

Copy link
Contributor

@michal-dagan michal-dagan left a comment

Choose a reason for hiding this comment

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

Hi @mtraceable,
Thank you for your contribution!
Good Work!

  1. please address my comments :)
  2. please remove these files:
    Pipfile
    Pipfile.lock
    baseintegration-dummy.json
    pytest.ini
  3. please revert changes in this file:
    devcontainer.json
  4. please change the Author_image.png according to the standard : https://xsoar.pan.dev/docs/packs/packs-format#author_imagepng
  5. Please use our debugging standards instead of the logging package:
    https://xsoar.pan.dev/docs/integrations/code-conventions#logging
    https://xsoar.pan.dev/docs/integrations/debugging
    https://xsoar.pan.dev/docs/integrations/code-conventions#return_error
    https://xsoar.pan.dev/docs/reference/api/common-server-python#return_warning

Please feel free to reach out to me with any questions - I'm available here or on slack :)
Thanks again

Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
Packs/Traceable/Integrations/Traceable/Traceable.py Outdated Show resolved Hide resolved
@michal-dagan michal-dagan added the pending-contributor The PR is pending the response of its creator label Jun 26, 2023
Copy link
Contributor

@michal-dagan michal-dagan left a comment

Choose a reason for hiding this comment

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

Hi @mtraceable, looks good
few minor comments:

  1. Please run pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose cause the pre-commit job failed
  2. Regarding the author image - After I sent you the documentation I saw that the content is not updated, we are now working on updating it in xsoar pan dev, it should be a logo of the contributing company, you can see for example Packs/Binalyze
  3. Tip: You should use dict.get(key) instead of dict[key]
    consider to change in your code accordingly.
  4. Please revert your changes to the devcontainer.json file.

thanks!!

mtraceable and others added 3 commits June 28, 2023 12:34
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose /Users/mayuresh/Documents/tmpworkspace/xsoar/content/Packs/Traceable
- reverting devcontainer.json
@michal-dagan michal-dagan added docs-approved ready-for-instance-test In contribution PRs, this label will cause a trigger of a build with a modified pack from the PR. post-demo labels Jun 29, 2023
@michal-dagan michal-dagan merged commit 468c9fa into demisto:contrib/mtraceable_dev Jul 2, 2023
michal-dagan added a commit that referenced this pull request Jul 6, 2023
* Traceable AI API Security Platform Integration (#27626)

* Initial Commit for Traceable Pack

* Update .devcontainer.json name

* Remove unnecessary fields from the integration.

* Some final changes

* - Changed support type for Integration
- Added pack documentation

* Doc Changes

* Flake8 changes and formatting changes.

* Use mocks for tests.

* Changing test data to more dummy like data as
circle ci validations are failing

* Updating according to validation changes

* Changes based on validations

* Added Pack README.md contents.

* Adding README.md in the proper format

* Linter changes

* Removing dead code

* Added unused code and added tests and other cleanups.

* Unused import cleanup

* More tests and code restructuring

* Including Review comments

* Flake8, Lint and Validate corrections.

* Review comments

* More review changes and added unit tests

* Changes based on more review comments.
Added more unit tests.

* Review comments and recommendations from running:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets \
    --show-diff-on-failure --verbose

* Mypy errors fix

* README changes

* Corrections from the output of:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose /Users/mayuresh/Documents/tmpworkspace/xsoar/content/Packs/Traceable

* - Changing the author image
- reverting devcontainer.json

---------

Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>

* updated test_module

---------

Co-authored-by: Mayuresh Kshirsagar <101903400+mtraceable@users.noreply.github.com>
Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>
Co-authored-by: michal-dagan <mdagan@paloaltonetworks.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Jul 26, 2023
* Traceable AI API Security Platform Integration (demisto#27626)

* Initial Commit for Traceable Pack

* Update .devcontainer.json name

* Remove unnecessary fields from the integration.

* Some final changes

* - Changed support type for Integration
- Added pack documentation

* Doc Changes

* Flake8 changes and formatting changes.

* Use mocks for tests.

* Changing test data to more dummy like data as
circle ci validations are failing

* Updating according to validation changes

* Changes based on validations

* Added Pack README.md contents.

* Adding README.md in the proper format

* Linter changes

* Removing dead code

* Added unused code and added tests and other cleanups.

* Unused import cleanup

* More tests and code restructuring

* Including Review comments

* Flake8, Lint and Validate corrections.

* Review comments

* More review changes and added unit tests

* Changes based on more review comments.
Added more unit tests.

* Review comments and recommendations from running:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets \
    --show-diff-on-failure --verbose

* Mypy errors fix

* README changes

* Corrections from the output of:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose /Users/mayuresh/Documents/tmpworkspace/xsoar/content/Packs/Traceable

* - Changing the author image
- reverting devcontainer.json

---------

Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>

* updated test_module

---------

Co-authored-by: Mayuresh Kshirsagar <101903400+mtraceable@users.noreply.github.com>
Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>
Co-authored-by: michal-dagan <mdagan@paloaltonetworks.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Aug 2, 2023
* Traceable AI API Security Platform Integration (demisto#27626)

* Initial Commit for Traceable Pack

* Update .devcontainer.json name

* Remove unnecessary fields from the integration.

* Some final changes

* - Changed support type for Integration
- Added pack documentation

* Doc Changes

* Flake8 changes and formatting changes.

* Use mocks for tests.

* Changing test data to more dummy like data as
circle ci validations are failing

* Updating according to validation changes

* Changes based on validations

* Added Pack README.md contents.

* Adding README.md in the proper format

* Linter changes

* Removing dead code

* Added unused code and added tests and other cleanups.

* Unused import cleanup

* More tests and code restructuring

* Including Review comments

* Flake8, Lint and Validate corrections.

* Review comments

* More review changes and added unit tests

* Changes based on more review comments.
Added more unit tests.

* Review comments and recommendations from running:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets \
    --show-diff-on-failure --verbose

* Mypy errors fix

* README changes

* Corrections from the output of:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose /Users/mayuresh/Documents/tmpworkspace/xsoar/content/Packs/Traceable

* - Changing the author image
- reverting devcontainer.json

---------

Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>

* updated test_module

---------

Co-authored-by: Mayuresh Kshirsagar <101903400+mtraceable@users.noreply.github.com>
Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>
Co-authored-by: michal-dagan <mdagan@paloaltonetworks.com>
xsoar-bot pushed a commit to xsoar-contrib/content that referenced this pull request Aug 2, 2023
* Traceable AI API Security Platform Integration (demisto#27626)

* Initial Commit for Traceable Pack

* Update .devcontainer.json name

* Remove unnecessary fields from the integration.

* Some final changes

* - Changed support type for Integration
- Added pack documentation

* Doc Changes

* Flake8 changes and formatting changes.

* Use mocks for tests.

* Changing test data to more dummy like data as
circle ci validations are failing

* Updating according to validation changes

* Changes based on validations

* Added Pack README.md contents.

* Adding README.md in the proper format

* Linter changes

* Removing dead code

* Added unused code and added tests and other cleanups.

* Unused import cleanup

* More tests and code restructuring

* Including Review comments

* Flake8, Lint and Validate corrections.

* Review comments

* More review changes and added unit tests

* Changes based on more review comments.
Added more unit tests.

* Review comments and recommendations from running:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets \
    --show-diff-on-failure --verbose

* Mypy errors fix

* README changes

* Corrections from the output of:
demisto-sdk pre-commit -g --unit-test --validate --no-secrets --show-diff-on-failure --verbose /Users/mayuresh/Documents/tmpworkspace/xsoar/content/Packs/Traceable

* - Changing the author image
- reverting devcontainer.json

---------

Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>

* updated test_module

---------

Co-authored-by: Mayuresh Kshirsagar <101903400+mtraceable@users.noreply.github.com>
Co-authored-by: mtraceable <mtraceable@users.noreply.github.com>
Co-authored-by: ilaner <88267954+ilaner@users.noreply.github.com>
Co-authored-by: michal-dagan <mdagan@paloaltonetworks.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-contributor The PR is pending the response of its creator post-demo 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
Development

Successfully merging this pull request may close these issues.

5 participants