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

[XSUP 31458] Fix test-module in PANW Enterprise DLP #31983

Merged
merged 13 commits into from Jan 10, 2024
Merged

Conversation

yaakovpraisler
Copy link
Contributor

Status

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

Related Issues

fixes: link to the issue

Description

Fixed the test-module command where authenticating with credentials and the default report ID doesn't exist.

Copy link

github-actions bot commented Jan 4, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
Packs/Palo_Alto_Networks_Enterprise_DLP/Integrations/Palo_Alto_Networks_Enterprise_DLP
   Palo_Alto_Networks_Enterprise_DLP.py3337876%83–85, 110–112, 121, 130–131, 153, 160–161, 187, 223, 225, 317, 362–365, 367–369, 371–372, 402–406, 408, 453, 480–482, 504–505, 516–523, 525–530, 532–534, 537–538, 586–587, 596–599, 617–630, 632–633
TOTAL3337876% 

Tests Skipped Failures Errors Time
16 0 💤 0 ❌ 0 🔥 2.097s ⏱️

Copy link
Contributor

@YuvHayun YuvHayun left a comment

Choose a reason for hiding this comment

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

Looks good
note the validation error you have.

@content-bot
Copy link
Collaborator

This PR was automatically updated by a GitHub Action

  • Palo_Alto_Networks_Enterprise_DLP pack version was bumped to 2.0.9.

To stop automatic version bumps, add the ignore-auto-bump-version label to the github PR.

@@ -29,7 +29,6 @@ configuration:
- EU
- AP
- UK
defaultvalue: US,EU,AP,UK
Copy link
Contributor

Choose a reason for hiding this comment

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

what if a customer didn't configure this param because the default value fitted for him, and upgrades to your version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In my case it took the supported region in my DLP env (US), so I guess it will return the result for the support regions for the customers as well.

yaakovpraisler and others added 2 commits January 10, 2024 10:56
…_Networks_Enterprise_DLP/Palo_Alto_Networks_Enterprise_DLP.py

Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
@yaakovpraisler yaakovpraisler merged commit d5f8b9d into master Jan 10, 2024
20 checks passed
@yaakovpraisler yaakovpraisler deleted the XSUP-31458 branch January 10, 2024 18:37
dantavori added a commit that referenced this pull request Jan 14, 2024
* fix test-module

* rn

* rn

* fix

* fixed reset-last-run & increased coverage

* Bump pack from version Palo_Alto_Networks_Enterprise_DLP to 2.0.9.

* bump docker

* Update Packs/Palo_Alto_Networks_Enterprise_DLP/Integrations/Palo_Alto_Networks_Enterprise_DLP/Palo_Alto_Networks_Enterprise_DLP.py

Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>

* Update Packs/Palo_Alto_Networks_Enterprise_DLP/ReleaseNotes/2_0_9.md

Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>

---------

Co-authored-by: Content Bot <bot@demisto.com>
Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants