id: Account Enrichment version: -1 name: Account Enrichment fromversion: 5.0.0 description: Deprecated. Use the "Account Enrichment - Generic v2.1" playbook instead.\ \ Enrich the accounts under the Account context key with details from relevant integrations such as AD. starttaskid: "0" hidden: true tasks: "0": id: "0" taskid: 065b25dc-7aad-4356-8bee-261b189251b3 type: start task: id: 065b25dc-7aad-4356-8bee-261b189251b3 version: -1 name: "" description: "" iscommand: false brand: "" nexttasks: '#none#': - "4" separatecontext: false view: |- { "position": { "x": 162.5, "y": 50 } } note: false "1": id: "1" taskid: be4d8a4d-14b5-4541-8d40-1df25ef145c6 type: condition task: id: be4d8a4d-14b5-4541-8d40-1df25ef145c6 version: -1 name: Is AD configured? description: Check if a given value exists in the context. Will return 'no' for empty empty arrays. To be used mostly with DQ and selectors. scriptName: Exists type: condition iscommand: false brand: "" nexttasks: '#default#': - "3" "yes": - "2" scriptarguments: value: simple: ${modules.brand(val === 'activedir')} separatecontext: false view: |- { "position": { "x": 50, "y": 370 } } note: false "2": id: "2" taskid: c7455a4b-be90-45c3-83be-a290e2660432 type: regular task: id: c7455a4b-be90-45c3-83be-a290e2660432 version: -1 name: Query AD to get user details description: Query “Active Directory” for the email address info scriptName: ADGetUser type: regular iscommand: false brand: "" nexttasks: '#none#': - "3" scriptarguments: attributes: {} customFieldData: simple: ${Account.Email.Address} customFieldType: simple: mail dn: {} email: {} headers: {} limit: {} name: {} nestedSearch: {} userAccountControlOut: {} username: {} separatecontext: false view: |- { "position": { "x": 162.5, "y": 545 } } note: false "3": id: "3" taskid: 561f7e3c-e8cf-4f68-8bbe-64c7cb608995 type: title task: id: 561f7e3c-e8cf-4f68-8bbe-64c7cb608995 version: -1 name: User Enrichment Done description: "" type: title iscommand: false brand: "" separatecontext: false view: |- { "position": { "x": 162.5, "y": 720 } } note: false "4": id: "4" taskid: 7e9ec3ab-29e0-458a-8a61-7ca559f4b428 type: condition task: id: 7e9ec3ab-29e0-458a-8a61-7ca559f4b428 version: -1 name: Check if there is an Email address description: Check if there is an Email address. scriptName: Exists type: condition iscommand: false brand: "" nexttasks: '#default#': - "3" "yes": - "1" scriptarguments: value: simple: ${Account.Email.Address} separatecontext: false view: |- { "position": { "x": 162.5, "y": 195 } } note: false view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 735, "width": 492.5, "x": 50, "y": 50 } } } inputs: [] outputs: [] tests: - no test deprecated: true