-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify redactindicator script so that it can be used as a transformer (…
…#32516) (#32546) * modify redactindicator script so that it can be used as a transformer * fix SDK validate errors Co-authored-by: Ali Sawyer <91506078+ali-sawyer@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
61 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
#### Scripts | ||
|
||
##### redactindicator | ||
- Modify the script so that it can be used as a transformer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 12 additions & 7 deletions
19
Packs/CommunityCommonScripts/Scripts/RedactIndicator/RedactIndicator.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
args: | ||
- description: Indicator to be redacted | ||
- description: Indicator to be redacted. | ||
name: value | ||
- description: 'Indicator to be redacted (can be used instead of ''value'' for backwards compatibility).' | ||
name: indicator | ||
required: true | ||
- description: 'string which should be REDACTED ' | ||
- description: 'string which should be REDACTED.' | ||
name: searchkey | ||
comment: Redactindicator can help you to defang/redact any kind of indicator (IPv4, url, domain and email), IP addresses will be in the dotted representation like 8.8.8[.].8, all domains will be example[.]com. Optional you can define a "searchkey" which does not to be case sensitive, which will be replaced as <REDACTED> | ||
comment: Redactindicator can help you to defang/redact any kind of indicator (IPv4, url, domain and email), IP addresses will be in the dotted representation like 8.8.8[.].8, all domains will be example[.]com. Optional you can define a "searchkey" which does not to be case sensitive, which will be replaced as <REDACTED>. | ||
commonfields: | ||
id: redactindicator | ||
version: -1 | ||
enabled: true | ||
name: redactindicator | ||
script: '-' | ||
script: '' | ||
subtype: python3 | ||
timeout: '0' | ||
type: python | ||
dockerimage: demisto/python3:3.10.12.63474 | ||
dockerimage: demisto/python3:3.10.13.86272 | ||
runas: DBotWeakRole | ||
fromversion: 6.0.0 | ||
tests: | ||
- No tests (auto formatted) | ||
engineinfo: {} | ||
runonce: false | ||
scripttarget: 0 | ||
tags: | ||
- transformer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters