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
Qualys Event Collector #26989
Qualys Event Collector #26989
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👍🏽 see my notes
we recently faced situations (in other collectors) where there have been significantly more events between each interval than the max_fetch, which caused events to arrive very late. let's ensure this is not the case in this collector (consult with a TPM or with me if needed).
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice, see my few small notes :)
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md
Show resolved
Hide resolved
Packs/qualys/ModelingRules/QualysModelingRules/QualysModelingRules.yml
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
|
||
events, new_next_run = fetch_function(client, time_to_fetch, max_fetch, next_page) | ||
|
||
updated_next_run = {previous_run_time_field: new_next_run.get(previous_run_time_field)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it equivalent to:
updated_next_run = {previous_run_time_field: new_next_run.get(previous_run_time_field)} | |
updated_next_run = {previous_run_time_field: time_to_fetch} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also, why not just use new_next_run
instead of updated_next_run
? it's a bit confusing to follow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because it is not really new, it may be old but updated.
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml
Outdated
Show resolved
Hide resolved
@dantavori Doc review completed. |
Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's wait for Meital's answer about the category, except for that - see my last documentation notes and we are good to go. great job!
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.py
Outdated
Show resolved
Hide resolved
Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml
Outdated
Show resolved
Hide resolved
…ector.yml Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com>
* save template to start * still starting * save * save the actions logs fetch * save start modeling rules * save design fixes * save code changes * adding modeling rules * save modeling rules * save unit tests * mistske dding from master * saving last changes * Apply suggestions from code review Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * saving todo that missed * fixes from cr * generate readme * save more logs * Apply suggestions from code review Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/README.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/README.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * save release notes * save docker image * improved documentation * removed demisto from readme * save fix validations * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * fix unit tests * handle last run missmatch in host detections * Bump pack from version qualys to 1.3.0. * save * fix validation * re-implementing all the fetch mechanizm * save unit tests * fix flake8 * add new parameters to readme * fix pre-commit * Apply suggestions from code review Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/ReleaseNotes/1_3_0.md Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * Update Packs/qualys/ReleaseNotes/1_3_0.md Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * fixes from the cr * fixes that broke unitests from the cr * more changes from the cr * fixes for fetch * save pre-commit fixes * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * last changes from the pr * save comments --------- Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> Co-authored-by: Content Bot <bot@demisto.com>
* save template to start * still starting * save * save the actions logs fetch * save start modeling rules * save design fixes * save code changes * adding modeling rules * save modeling rules * save unit tests * mistske dding from master * saving last changes * Apply suggestions from code review Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * saving todo that missed * fixes from cr * generate readme * save more logs * Apply suggestions from code review Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/README.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/README.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * save release notes * save docker image * improved documentation * removed demisto from readme * save fix validations * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector_description.md Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * fix unit tests * handle last run missmatch in host detections * Bump pack from version qualys to 1.3.0. * save * fix validation * re-implementing all the fetch mechanizm * save unit tests * fix flake8 * add new parameters to readme * fix pre-commit * Apply suggestions from code review Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * Update Packs/qualys/ReleaseNotes/1_3_0.md Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * Update Packs/qualys/ReleaseNotes/1_3_0.md Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> * fixes from the cr * fixes that broke unitests from the cr * more changes from the cr * fixes for fetch * save pre-commit fixes * Update Packs/qualys/Integrations/QualysEventCollector/QualysEventCollector.yml Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> * last changes from the pr * save comments --------- Co-authored-by: Dan Tavori <38749041+dantavori@users.noreply.github.com> Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com> Co-authored-by: Content Bot <bot@demisto.com>
Status
Related Issues
fixes: https://jira-hq.paloaltonetworks.local/browse/CIAC-4957
Description
New Integration - Qualys Event Collector
Must have