TIM - Process Office365 indicators
This playbook handles the tagging of Office365 indicators. Specify the tag to apply to these indicators in the playbook inputs. An example tag will be approved_allow. If no inputs are specified, the indicators will be tagged for manual review. The user can specify whether a manual review incident is required.
Office 365 Feed · 10 tasks · 3 inputs · 0 outputs
Details
| ID | TIM - Process Office365 indicators |
|---|---|
| From Version | 5.5.0 |
| Tasks | 10 |
README
This playbook handles the tagging of Office365 indicators. Specify the tag to apply to these indicators in the playbook inputs. An example tag will be approved_allow. If no inputs are specified, the indicators will be tagged for manual review. The user can specify whether a manual review incident is required.
Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks
This playbook does not use any sub-playbooks.
Integrations
This playbook does not use any integrations.
Scripts
This playbook does not use any scripts.
Commands
- appendIndicatorField
- createNewIncident
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| Office365FeedIndicatorTagName | Use this input to define which tag to apply to Office 365 Feed indicators. An example tag can be approved_allow. If no tags are specified in the input, the tag allowlist_review will be used. | Optional | |
| Indicator Query | Indicators matching the indicator query will be used as playbook input | sourceBrands:”Office 365 Feed” | Optional |
| OpenIncidentToReviewIndicatorsManually | This input determines if processed indicators that have the allowlist_review tag are reviewed in a new incident. To create an incident, enter any value other than ‘No’. | No | Optional |
Playbook Outputs
There are no outputs for this playbook.
Playbook Image

Inputs
Office365FeedIndicatorTagName— Use this input to define which tag to apply to Office 365 Feed indicators. An example tag can be approved_allow. If no tags are specified in the input, the tag allowlist_review will be used.—OpenIncidentToReviewIndicatorsManually— This input determines if processed indicators that have the allowlist_review tag are reviewed in a new incident. To create an incident, enter any value other than 'No'.
Commands used
appendIndicatorField
createNewIncident
Flowchart
id: TIM - Process Office365 indicators version: -1 fromversion: 5.5.0 name: TIM - Process Office365 indicators description: This playbook handles the tagging of Office365 indicators. Specify the tag to apply to these indicators in the playbook inputs. An example tag will be approved_allow. If no inputs are specified, the indicators will be tagged for manual review. The user can specify whether a manual review incident is required. starttaskid: "0" tasks: "0": id: "0" taskid: 3680fc53-e6ea-4ea1-83c8-db2f69f24331 type: start task: id: 3680fc53-e6ea-4ea1-83c8-db2f69f24331 version: -1 name: "" iscommand: false brand: "" description: '' nexttasks: '#none#': - "24" separatecontext: false view: |- { "position": { "x": 510, "y": -260 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "2": id: "2" taskid: 9665b878-0b33-4874-86fb-e69b98d48b8b type: title task: id: 9665b878-0b33-4874-86fb-e69b98d48b8b version: -1 name: Done type: title iscommand: false brand: "" description: '' separatecontext: false view: |- { "position": { "x": 510, "y": 960 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "3": id: "3" taskid: 332ef157-d171-4a81-8cf0-7cfb5323d37f type: condition task: id: 332ef157-d171-4a81-8cf0-7cfb5323d37f version: -1 name: Is there a Office365FeedIndicatorTagName input? type: condition iscommand: false brand: "" description: '' nexttasks: '#default#': - "29" "yes": - "28" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: simple: inputs.Office365FeedIndicatorTagName iscontext: true - - operator: isNotEqualString left: value: simple: inputs.Office365FeedIndicatorTagName iscontext: true right: value: simple: allowlist_review view: |- { "position": { "x": 220, "y": 100 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "23": id: "23" taskid: 217fffc0-984d-43c4-8f6b-9d2956c748d9 type: regular task: id: 217fffc0-984d-43c4-8f6b-9d2956c748d9 version: -1 name: Tag Office365 indicators with tag from inputs description: Adds the tag provided in the input to the indicator. script: Builtin|||appendIndicatorField type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "2" scriptarguments: field: simple: tags fieldValue: simple: ${inputs.Office365FeedIndicatorTagName} indicatorsValues: complex: root: ${playbookQuery filters: - - operator: isEqualString left: value: simple: playbookQuery.sourceBrands iscontext: true right: value: simple: Office 365 Feed accessor: value} transformers: - operator: uniq separatecontext: false view: |- { "position": { "x": 220, "y": 770 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "24": id: "24" taskid: be879bb6-604a-4081-899b-d244895b88a1 type: condition task: id: be879bb6-604a-4081-899b-d244895b88a1 version: -1 name: Are there filtered results? type: condition iscommand: false brand: "" description: '' nexttasks: '#default#': - "2" "yes": - "3" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: complex: root: playbookQuery filters: - - operator: isEqualString left: value: simple: playbookQuery.sourceBrands iscontext: true right: value: simple: Office 365 Feed accessor: value iscontext: true view: |- { "position": { "x": 510, "y": -80 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "25": id: "25" taskid: 95505141-c065-40f7-87f7-34ddea589cbb type: regular task: id: 95505141-c065-40f7-87f7-34ddea589cbb version: -1 name: Tag Office365 indicators with tag allowlist review description: Adds the allowlist_review tag to the indicator. script: Builtin|||appendIndicatorField type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "26" scriptarguments: field: simple: tags fieldValue: simple: allowlist_review indicatorsValues: complex: root: ${playbookQuery filters: - - operator: isEqualString left: value: simple: playbookQuery.sourceBrands iscontext: true right: value: simple: Office 365 Feed accessor: value} transformers: - operator: uniq separatecontext: false view: |- { "position": { "x": -230, "y": 440 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "26": id: "26" taskid: c102a8e4-6fd6-4aef-8a53-aea28ad6ab06 type: condition task: id: c102a8e4-6fd6-4aef-8a53-aea28ad6ab06 version: -1 name: Open manual review incident? type: condition iscommand: false brand: "" description: '' nexttasks: '#default#': - "2" "yes": - "27" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEqualString left: value: simple: inputs.OpenIncidentToReviewIndicatorsManually iscontext: true right: value: simple: "No" view: |- { "position": { "x": -230, "y": 595 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "27": id: "27" taskid: 7aad5367-1499-411f-8cb7-4e0120c2fdec type: regular task: id: 7aad5367-1499-411f-8cb7-4e0120c2fdec version: -1 name: Create Process Indicators Manually incident description: Open new manual review incident script: Builtin|||createNewIncident type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "2" scriptarguments: accountgroups: {} accountid: {} accountname: {} activedirectoryaccountstatus: {} activedirectorydisplayname: {} activedirectorypasswordstatus: {} affecteddata: {} affecteddatatype: {} affectedindividualscontactinformation: {} agentid: {} app: {} approximatenumberofaffecteddatasubjects: {} assetid: {} attachmentcount: {} attachmentextension: {} attachmenthash: {} attachmentid: {} attachmentname: {} attachmentsize: {} attachmenttype: {} blockedaction: {} bugtraq: {} city: {} clarotyalertresolved: {} clarotyalerttype: {} clarotycategory: {} clarotynetworkid: {} clarotyrelatedassets: {} clarotyresourceid: {} clarotysiteid: {} code42alerttype: {} code42fileevents: {} commandline: {} companyaddress: {} companycity: {} companycountry: {} companyhasinsuranceforthebreach: {} companyname: {} companypostalcode: {} companypropertystatus: {} contactaddress: {} contactname: {} coordinates: {} country: {} countrywherebusinesshasitsmainestablishment: {} countrywherethebreachtookplace: {} criticalassets: {} customFields: {} cve: {} cvss: {} cymulateimmediatethreatsattackid: {} cymulateimmediatethreatsfiletype: {} cymulateimmediatethreatsid: {} cymulateimmediatethreatsmitigations: {} cymulateimmediatethreatsmodule: {} cymulateimmediatethreatspayloadname: {} cymulateimmediatethreatsstatus: {} cymulateimmediatethreatsvector: {} dataencryptionstatus: {} datetimeofthebreach: {} dbotprediction: {} dbotpredictionprobability: {} dbottextsuggestionhighlighted: {} dest: {} desthostname: {} destinationip: {} destntdomain: {} destos: {} details: {} detectionendtime: {} detectionid: {} detectionticketed: {} detectionupdatetime: {} detectionurl: {} devicegsuiteaccountstatus: {} devicename: {} dpoemailaddress: {} duoaccountstatus: {} duration: {} emailaddress: {} emailauthenticitycheck: {} emailautoreply: {} emailbcc: {} emailbody: {} emailbodyformat: {} emailbodyhtml: {} emailcc: {} emailclassification: {} emailclientname: {} emailfrom: {} emailheaders: {} emailhtml: {} emailinreplyto: {} emailkeywords: {} emailmessageid: {} emailreceived: {} emailreplyto: {} emailreturnpath: {} emailsenderip: {} emailsize: {} emailsource: {} emailsubject: {} emailto: {} emailtocount: {} emailurlclicked: {} employeedisplayname: {} employeeemail: {} employeemanageremail: {} entryIDs: {} exfiltratedfiles: {} expanseexposuretype: {} expanserawjsonevent: {} expanseseverity: {} extrahopapplianceid: {} extrahophostname: {} filehash: {} filename: {} filepath: {} filesize: {} firstseen: {} globaldirectoryvisibility: {} googleaccountstatus: {} googleadminrolesstatus: {} googledisplayname: {} googledrivestatus: {} googlemailstatus: {} googlepasswordstatus: {} helloworldid: {} helloworldstatus: {} helloworldtype: {} hostname: {} indenideviceid: {} indeniissueid: {} infectedhosts: {} investigationstage: {} isolated: {} isthedatasubjecttodpia: {} labels: {} lastmodifiedby: {} lastmodifiedon: {} lastseen: {} likelyimpact: {} loginattemptcount: {} macaddress: {} mailboxdelegation: {} maliciousbehavior: {} maliciouscauseifthecauseisamaliciousattack: {} malwarefamily: {} measurestomitigate: {} name: simple: Review Indicators Manually For Allowlisting niststage: {} occurred: {} offboardingdate: {} offboardingstage: {} oktaaccountstatus: {} owner: {} parentprocessid: {} participants: {} passwordexpirationstatus: {} phase: {} phishingsubtype: {} pid: {} policydeleted: {} policydescription: {} policydetails: {} policyid: {} policyrecommendation: {} policyremediable: {} policyseverity: {} policytype: {} possiblecauseofthebreach: {} postalcode: {} previouscoordinates: {} previouscountry: {} previoussignindatetime: {} previoussourceip: {} prismacloudcomputeactivitytype: {} prismacloudcomputeappid: {} prismacloudcomputecategory: {} prismacloudcomputecollections: {} prismacloudcomputecommand: {} prismacloudcomputecontainer: {} prismacloudcomputecredentialid: {} prismacloudcomputedistribution: {} prismacloudcomputeerror: {} prismacloudcomputeforensic: {} prismacloudcomputefqdn: {} prismacloudcomputefunction: {} prismacloudcomputehost: {} prismacloudcomputeimage: {} prismacloudcomputeinteractive: {} prismacloudcomputekubernetesresource: {} prismacloudcomputelabels: {} prismacloudcomputeline: {} prismacloudcomputelogfile: {} prismacloudcomputemarkdown: {} prismacloudcomputemessage: {} prismacloudcomputeproject: {} prismacloudcomputeprotected: {} prismacloudcomputeprovider: {} prismacloudcomputerawalertjson: {} prismacloudcomputeregion: {} prismacloudcomputeregistry: {} prismacloudcomputerule: {} prismacloudcomputeruntime: {} prismacloudcomputeservice: {} prismacloudcomputeservicetype: {} prismacloudcomputetotal: {} prismacloudcomputetype: {} prismacloudcomputeuser: {} prismacloudid: {} prismacloudreason: {} prismacloudrules: {} prismacloudstatus: {} prismacloudtime: {} rating: {} rawparticipants: {} region: {} regionid: {} reporteremailaddress: {} resourceapiname: {} resourcecloudtype: {} resourceid: {} resourcename: {} resourcetype: {} riskrating: {} riskscore: {} roles: {} rrn: {} safebreachsimulationid: {} samaccountname: {} sansstage: {} sectorofaffectedparty: {} severity: {} signature: {} signindatetime: {} sixgillalertid: {} sixgillcontent: {} sixgillthreatlevel: {} sixgillthreattype: {} sizenumberofemployees: {} sizeturnover: {} skuname: {} skutier: {} sla: {} slaField: {} sourcehostname: {} sourceip: {} src: {} srchostname: {} srcntdomain: {} srcos: {} srcuser: {} subscriptionassignedby: {} subscriptioncreatedby: {} subscriptioncreatedon: {} subscriptiondescription: {} subscriptionid: {} subscriptionname: {} subscriptiontype: {} subscriptionupdatedby: {} subscriptionupdatedon: {} subtype: {} successfullogin: {} systemdefault: {} systems: {} targetfirewallversion: {} telephoneno: {} terminatedaction: {} threatactor: {} trapsid: {} travelmaplink: {} triggeredsecurityprofile: {} type: simple: Review Indicators Manually For Allowlisting urlsslverification: {} user: {} useraccountcontrol: {} userdisabledstatus: {} username: {} vendorid: {} vendorproduct: {} vpcid: {} vulnerabilitycategory: {} whereisdatahosted: {} xdralertcount: {} xdralerts: {} xdrassigneduseremail: {} xdrassigneduserprettyname: {} xdrdescription: {} xdrdetectiontime: {} xdrfileartifacts: {} xdrhighseverityalertcount: {} xdrhostcount: {} xdrincidentid: {} xdrlowseverityalertcount: {} xdrmediumseverityalertcount: {} xdrnetworkartifacts: {} xdrnotes: {} xdrresolvecomment: {} xdrstatus: {} xdrurl: {} xdrusercount: {} separatecontext: false view: |- { "position": { "x": -610, "y": 770 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 2 "28": id: "28" taskid: b9bdddeb-6610-40d7-89a9-95084e9adaa1 type: title task: id: b9bdddeb-6610-40d7-89a9-95084e9adaa1 version: -1 name: Auto Approve type: title iscommand: false brand: "" description: '' nexttasks: '#none#': - "23" separatecontext: false view: |- { "position": { "x": 220, "y": 480 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "29": id: "29" taskid: 4d858433-299e-48d1-86bd-b6188a9fe407 type: title task: id: 4d858433-299e-48d1-86bd-b6188a9fe407 version: -1 name: Manually review type: title iscommand: false brand: "" description: '' nexttasks: '#none#': - "25" separatecontext: false view: |- { "position": { "x": -230, "y": 300 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 1285, "width": 1500, "x": -610, "y": -260 } } } inputs: - key: Office365FeedIndicatorTagName value: {} required: false description: 'Use this input to define which tag to apply to Office 365 Feed indicators. An example tag can be approved_allow. If no tags are specified in the input, the tag allowlist_review will be used. ' playbookInputQuery: null - key: "" value: {} required: false description: "" playbookInputQuery: query: sourceBrands:"Office 365 Feed" queryEntity: indicators results: null daterange: fromdate: 0001-01-01T00:00:00Z todate: 0001-01-01T00:00:00Z period: by: "" byto: "" byfrom: "" tovalue: null fromvalue: null field: "" fromdatelicenseval: 0001-01-01T00:00:00Z runFromLastJobTime: false - key: OpenIncidentToReviewIndicatorsManually value: simple: "No" required: false description: This input determines if processed indicators that have the allowlist_review tag are reviewed in a new incident. To create an incident, enter any value other than 'No'. playbookInputQuery: null outputs: [] quiet: true tests: - No test