Skip to main content

Oracle IAM

This Integration is part of the Oracle IAM Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Integrate with Oracle Identity Access Management service to execute CRUD (create, read, update, and delete) operations for employee lifecycle processes.

What does this pack do?#

  • Create a user.
  • Retrieve the details of an existing user.
  • Update an existing user.
  • Disable an active user.
  • Create an empty group.
  • Retrieve the information for a group including its members.
  • Permanently remove a group.
  • Updates an existing group resource.

For more information, refer to the Identity Lifecycle Management article.

Configure OracleIAM on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for OracleIAM.

  3. Click Add instance to create and configure a new integration instance.

    ParameterRequired
    Base URLTrue
    UsernameTrue
    PasswordTrue
    Allow creating usersFalse
    Allow updating usersFalse
    Allow enabling usersFalse
    Allow disabling usersFalse
    Automatically create user if not found in update commandFalse
    Incoming MapperTrue
    Outgoing MapperTrue
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

iam-create-user#


Creates a user.

Base Command#

iam-create-user

Input#

Argument NameDescriptionRequired
user-profileUser Profile indicator details.Required
allow-enableWhen set to true, after the command execution the status of the user in the 3rd-party integration will be active. Possible values are: true, false. Default is true.Optional

Context Output#

PathTypeDescription
IAM.Vendor.activeBooleanWhen true, indicates that the employee's status is active in the 3rd-party integration.
IAM.Vendor.brandStringName of the integration.
IAM.Vendor.detailsstringProvides the raw data from the 3rd-party integration.
IAM.Vendor.emailStringThe employee's email address.
IAM.Vendor.errorCodeNumberHTTP error response code.
IAM.Vendor.errorMessageStringReason why the API failed.
IAM.Vendor.idStringThe employee's user ID in the app.
IAM.Vendor.instanceNamestringName of the integration instance.
IAM.Vendor.successBooleanWhen true, indicates that the command was executed successfully.
IAM.Vendor.usernameStringThe employee's username in the app.

Command Example#

!iam-create-user user-profile={"username": "test user name", "email": "john.doe@example.com", "givenname": "test", "surname": "test", "displayname": "test"}

Context Example#

{
"IAM": {
"UserProfile": {
"displayname": "test",
"email": "john.doe@example.com",
"givenname": "test",
"surname": "test",
"username": "test user name"
},
"Vendor": {
"action": "create",
"active": true,
"brand": "OracleIAM",
"details": {
"active": true,
"displayName": "test test",
"emails": [
{
"primary": false,
"secondary": false,
"type": "recovery",
"value": "john.doe@example.com",
"verified": false
},
{
"primary": true,
"secondary": false,
"type": "work",
"value": "john.doe@example.com",
"verified": false
}
],
"id": "123456",
"idcsCreatedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"idcsLastModifiedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"meta": {
"created": "2021-08-23T08:00:58.029Z",
"lastModified": "2021-08-23T08:00:58.029Z",
"location": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"resourceType": "User",
"version": "1234"
},
"name": {
"familyName": "test",
"formatted": "test test",
"givenName": "test"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User"
],
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User": {
"isFederatedUser": false
},
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User": {
"locked": {
"on": false
}
},
"userName": "test user name"
},
"email": "john.doe@example.com",
"errorCode": null,
"errorMessage": "",
"id": "123456",
"instanceName": "OracleIAM_instance_1",
"reason": "",
"skipped": false,
"success": true,
"username": "test user name"
}
}
}

Human Readable Output#

Create User Results (OracleIAM)#

brandinstanceNamesuccessactiveidusernameemaildetails
OracleIAMOracleIAM_instance_1truetrue123456test user namejohn.doe@example.comidcsCreatedBy: {"type": "App", "display": "Test", "value": "123456", "$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456"}

iam-get-user#


Retrieves a single user resource.

Base Command#

iam-get-user

Input#

Argument NameDescriptionRequired
user-profileA User Profile indicator.Required

Context Output#

PathTypeDescription
IAM.Vendor.activeBooleanWhen true, indicates that the employee's status is active in the 3rd-party integration.
IAM.Vendor.brandStringName of the integration.
IAM.Vendor.detailsstringProvides the raw data from the 3rd-party integration.
IAM.Vendor.emailStringThe employee's email address.
IAM.Vendor.errorCodeNumberHTTP error response code.
IAM.Vendor.errorMessageStringReason why the API failed.
IAM.Vendor.idStringThe employee's user ID in the app.
IAM.Vendor.instanceNamestringName of the integration instance.
IAM.Vendor.successBooleanWhen true, indicates that the command was executed successfully.
IAM.Vendor.usernameStringThe employee's username in the app.

Command Example#

!iam-get-user user-profile={"username": "test user name"}

Context Example#

{
"IAM": {
"UserProfile": {
"Email": "john.doe@example.com",
"Given Name": "test",
"Surname": "test",
"Username": "test user name"
},
"Vendor": {
"action": "get",
"active": true,
"brand": "OracleIAM",
"details": {
"active": true,
"displayName": "test test",
"emails": [
{
"primary": false,
"secondary": false,
"type": "recovery",
"value": "john.doe@example.com",
"verified": false
},
{
"primary": true,
"secondary": false,
"type": "work",
"value": "john.doe@example.com",
"verified": false
}
],
"id": "123456",
"idcsCreatedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"idcsLastModifiedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"meta": {
"created": "2021-08-23T08:00:58.029Z",
"lastModified": "2021-08-23T08:00:58.029Z",
"location": "https://test.identity.oraclecloud.com:443/admin/v1/Users/123456",
"resourceType": "User",
"version": "123456"
},
"name": {
"familyName": "test",
"formatted": "test test",
"givenName": "test"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User"
],
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User": {
"isFederatedUser": false
},
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User": {
"locked": {
"on": false
}
},
"userName": "test user name"
},
"email": null,
"errorCode": null,
"errorMessage": "",
"id": "123456",
"instanceName": "OracleIAM_instance_1",
"reason": "",
"skipped": false,
"success": true,
"username": "test user name"
}
}
}

Human Readable Output#

Get User Results (OracleIAM)#

brandinstanceNamesuccessactiveidusernamedetails
OracleIAMOracleIAM_instance_1truetrue123456test user nameidcsCreatedBy: {"type": "App", "display": "Palo", "value": "123456", "$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456"}

iam-update-user#


Updates an existing user with the data passed in the user-profile argument.

Base Command#

iam-update-user

Input#

Argument NameDescriptionRequired
user-profileA User Profile indicator.Required
allow-enableWhen set to true, after the command execution the status of the user in the 3rd-party integration will be active. Possible values are: true, false. Default is true.Optional

Context Output#

PathTypeDescription
IAM.Vendor.activeBooleanWhen true, indicates that the employee's status is active in the 3rd-party integration.
IAM.Vendor.brandStringName of the integration.
IAM.Vendor.detailsstringProvides the raw data from the 3rd-party integration.
IAM.Vendor.emailStringThe employee's email address.
IAM.Vendor.errorCodeNumberHTTP error response code.
IAM.Vendor.errorMessageStringReason why the API failed.
IAM.Vendor.idStringThe employee's user ID in the app.
IAM.Vendor.instanceNamestringName of the integration instance.
IAM.Vendor.successBooleanWhen true, indicates that the command was executed successfully.
IAM.Vendor.usernameStringThe employee's username in the app.

Command Example#

``!iam-update-user user-profile={"username": "test user name"}````

Context Example#

{
"IAM": {
"UserProfile": {
"username": "test user name"
},
"Vendor": {
"action": "update",
"active": true,
"brand": "OracleIAM",
"details": {
"active": true,
"displayName": "test test",
"emails": [
{
"primary": false,
"secondary": false,
"type": "recovery",
"value": "john.doe@example.com",
"verified": false
},
{
"primary": true,
"secondary": false,
"type": "work",
"value": "john.doe@example.com",
"verified": false
}
],
"id": "7611ff137b37449abb1337925c891283",
"idcsCreatedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"idcsLastModifiedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"meta": {
"created": "2021-08-23T08:00:58.029Z",
"lastModified": "2021-08-23T08:01:06.948Z",
"location": "https://test.identity.oraclecloud.com:443/admin/v1/Users/123456",
"resourceType": "User",
"version": "123456"
},
"name": {
"familyName": "test",
"formatted": "test test",
"givenName": "test"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User"
],
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User": {
"isFederatedUser": false
},
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User": {
"locked": {
"on": false
}
},
"userName": "test user name"
},
"email": null,
"errorCode": null,
"errorMessage": "",
"id": "123456",
"instanceName": "OracleIAM_instance_1",
"reason": "",
"skipped": false,
"success": true,
"username": "test user name"
}
}
}

Human Readable Output#

Update User Results (OracleIAM)#

brandinstanceNamesuccessactiveidusernamedetails
OracleIAMOracleIAM_instance_1truetrue123456test user nameidcsCreatedBy: {"type": "App", "display": "Palo", "value": "123456", "$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456"}

iam-disable-user#


Disable an active user.

Base Command#

iam-disable-user

Input#

Argument NameDescriptionRequired
user-profileA User Profile indicator.Required

Context Output#

PathTypeDescription
IAM.Vendor.activeBooleanWhen true, indicates that the employee's status is active in the 3rd-party integration.
IAM.Vendor.brandStringName of the integration.
IAM.Vendor.detailsstringProvides the raw data from the 3rd-party integration.
IAM.Vendor.emailStringThe employee's email address.
IAM.Vendor.errorCodeNumberHTTP error response code.
IAM.Vendor.errorMessageStringReason why the API failed.
IAM.Vendor.idStringThe employee's user ID in the app.
IAM.Vendor.instanceNamestringName of the integration instance.
IAM.Vendor.successBooleanWhen true, indicates that the command was executed successfully.
IAM.Vendor.usernameStringThe employee's username in the app.

Command Example#

``!iam-disable-user user-profile={"username": "test user name"}````

Context Example#

{
"IAM": {
"UserProfile": {
"username": "test user name"
},
"Vendor": {
"action": "disable",
"active": false,
"brand": "OracleIAM",
"details": {
"active": false,
"displayName": "test test",
"emails": [
{
"primary": false,
"secondary": false,
"type": "recovery",
"value": "john.doe@example.com",
"verified": false
},
{
"primary": true,
"secondary": false,
"type": "work",
"value": "john.doe@example.com",
"verified": false
}
],
"id": "123456",
"idcsCreatedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"idcsLastModifiedBy": {
"$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456",
"display": "Test",
"type": "App",
"value": "123456"
},
"meta": {
"created": "2021-08-23T08:00:58.029Z",
"lastModified": "2021-08-23T08:01:03.884Z",
"location": "https://test.identity.oraclecloud.com:443/admin/v1/Users/123456",
"resourceType": "User",
"version": "123456"
},
"name": {
"familyName": "test",
"formatted": "test test",
"givenName": "test"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User",
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User"
],
"urn:ietf:params:scim:schemas:oracle:idcs:extension:user:User": {
"isFederatedUser": false
},
"urn:ietf:params:scim:schemas:oracle:idcs:extension:userState:User": {
"locked": {
"on": false
}
},
"userName": "test user name"
},
"email": null,
"errorCode": null,
"errorMessage": "",
"id": "123456",
"instanceName": "OracleIAM_instance_1",
"reason": "",
"skipped": false,
"success": true,
"username": "test user name"
}
}
}

Human Readable Output#

Disable User Results (OracleIAM)#

brandinstanceNamesuccessactiveidusernamedetails
OracleIAMOracleIAM_instance_1truefalse123456test user nameidcsCreatedBy: {"type": "App", "display": "Palo", "value": "123456", "$ref": "https://test.identity.oraclecloud.com:443/admin/v1/Apps/123456"}

iam-create-group#


Creates an empty group

Base Command#

iam-create-group

Input#

Argument NameDescriptionRequired
scimGroup SCIM data with the display name.Required

Context Output#

PathTypeDescription
CreateGroup.idStringGroup ID
CreateGroup.displayNameStringDisplay name of the group.
CreateGroup.successBooleanSuccess status of the command.
CreateGroup.errorCodeNumberError code if there is a failure.
CreateGroup.errorMessageUnknownError details if there is a failure.

Command Example#

``!iam-create-group scim={"displayName": "The Best Group"}````

Context Example#

{
"CreateGroup": {
"brand": "OracleIAM",
"displayName": "The Best Group",
"id": "111111",
"instanceName": "OracleIAM_instance_1",
"success": true
}
}

Human Readable Output#

Oracle Cloud Create Group:#

branddisplayNameidinstanceNamesuccess
OracleIAMThe Best Group111111OracleIAM_instance_1true

iam-get-group#


Retrieves the group information including members

Base Command#

iam-get-group

Input#

Argument NameDescriptionRequired
scimGroup SCIM data.Required
includeMembersWhether members need to be included in the response. Possible values are: true, false. Default is false.Optional

Context Output#

PathTypeDescription
GetGroup.idStringGroup ID.
GetGroup.displayNameStringDisplay name of the group.
GetGroup.members.displayStringDisplay name of the group member.
GetGroup.members.valueStringID of the group member.
GetGroup.successBooleanSuccess status of the command.
GetGroup.errorCodeNumberError code if there is a failure.
GetGroup.errorMessageUnknownError details if there is a failure.

Command Example#

``!iam-get-group scim={"id": "121212"}````

Context Example#

{
"GetGroup": {
"brand": "OracleIAM",
"displayName": "New Group",
"id": "121212",
"instanceName": "OracleIAM_instance_1",
"success": true
}
}

Human Readable Output#

Oracle Cloud Get Group:#

branddisplayNameidinstanceNamesuccess
OracleIAMNew Group121212OracleIAM_instance_1true

iam-delete-group#


Permanently removes a group.

Base Command#

iam-delete-group

Input#

Argument NameDescriptionRequired
scimGroup SCIM with ID.Required

Context Output#

PathTypeDescription
DeleteGroup.idStringGroup ID.
DeleteGroup.displayNameStringDisplay name of the group.
DeleteGroup.successBooleanSuccess status of the command.
DeleteGroup.errorCodeNumberError code if there is a failure.
DeleteGroup.errorMessageUnknownError details if there is a failure.

Command Example#

!iam-delete-group scim={"id": "121212"}

Context Example#

{
"DeleteGroup": {
"brand": "OracleIAM",
"id": "121212",
"instanceName": "OracleIAM_instance_1",
"success": true
}
}

Human Readable Output#

Oracle Cloud Delete Group:#

brandidinstanceNamesuccess
OracleIAM121212OracleIAM_instance_1true

iam-update-group#


Updates an existing group resource. This command allows individual (or groups of) users to be added or removed from the group with a single operation. A maximum of 15,000 users can be modified in a single call.

Base Command#

iam-update-group

Input#

Argument NameDescriptionRequired
scimGroup SCIM data.Required
memberIdsToAddList of members IDs to add. A maximum of 15,000 users per call can be modified using this command.Optional
memberIdsToDeleteList of members IDs to be deleted from the group. A maximum of 15,000 users per call can be modified using this command.Optional

Context Output#

PathTypeDescription
UpdateGroup.idStringGroup ID.
UpdateGroup.displayNameStringDisplay name of the group.
UpdateGroup.successBooleanSuccess status of the command.
UpdateGroup.errorCodeNumberError code if there is a failure.
UpdateGroup.errorMessageUnknownError details if there is a failure.

Command Example#

!iam-update-group scim={"id": "121212"} memberIdsToAdd=["123456"]

Context Example#

{
"UpdateGroup": {
"brand": "OracleIAM",
"id": "121212",
"instanceName": "OracleIAM_instance_1",
"success": true
}
}

Human Readable Output#

Oracle Cloud Update Group:#

brandidinstanceNamesuccess
OracleIAM121212OracleIAM_instance_1true