Closed arunpaladin closed 1 month ago
Recent updates enhance data handling and validation in the ESManager
and JobScheduler
classes. The uploadVulnerabilityData
method now verifies the existence and validity of "id" fields, improving error management. Simultaneously, the JobScheduler
has removed support for the Tenable plugin, streamlining its operations to focus solely on the remaining plugins. These modifications collectively strengthen the system's robustness and maintain clarity in the code.
Files | Change Summary |
---|---|
jobs/pacman-data-shipper/src/main/java/com/tmobile/cso/pacman/datashipper/es/ESManager.java |
Improved validation in uploadVulnerabilityData method; checks for valid "id" field before processing documents. |
jobs/job-scheduler/src/main/java/com/paladincloud/jobscheduler/service/JobScheduler.java |
Removed TENABLE_ENABLED constant and logic; disables Tenable plugin functionality, simplifying the job scheduling flow. |
installer/resources/pacbot_app/files/DB_Policy.sql |
Significant updates to cloud security policies, including new policies for vulnerability scanning and resource management, along with updates and deletions of existing policies. |
In fields of code, I hop with glee,
Valid IDs are now the key!
With checks in place, we dance and play,
Uploading data, come what may.
A robust fix, a joyful cheer,
In the world of code, we have no fear! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
2 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
PLG-624 Shipper changes for supporting number type for doc id
Problem
Solution
Fixes # (issue if any)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:
Other Information:
List any documentation updates that are needed for the Wiki
Summary by CodeRabbit
New Features
Bug Fixes