AutoExtract Test - Fixed tasks related to URLs and Domains extractions according to the updated behavior #17723
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Related Issues
fixes: 45293
Description
Fixed tasks related to URLs and Domains extractions according to the updated behavior that was defined by the security team:
According to @melamedbn:
A URL that doesn't start with a schema (such as 'https://', 'hxxps://') is not a URL but a Domain. Therefore the condition that was used to check whether the domain: 'www.thisoneshouldnotexisteither4444.com' was extracted to context as a URL by auto-extract was removed.
Domains will be extracted exactly as they are (including the 'www' prefix). For example the domain that should be extracted from this URL: 'http://www.thisurlwillneverexist4444.co.il' is: 'www.thisurlwillneverexist4444.co.il'.
Therefore 3 conditions were changed in the task that is in charge of verifying domains extraction.
Screenshots
A successful run of the playbook after the fix:
Minimum version of Cortex XSOAR
Does it break backward compatibility?
Must have