Skip to main content

MicroFocus SMAX

This Integration is part of the MicroFocus SMAX Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Fetch SMAX incidents, requests and automate different SMAX case management actions This integration was integrated and tested with version 2021.08 of MicroFocus SMAX

Configure MicroFocus SMAX on Cortex XSOAR#

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

  2. Search for MicroFocus SMAX.

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

    ParameterDescriptionRequired
    Object To FetchFalse
    Your SMAX Management URLTrue
    Tenant IDThe tenant ID is the number following TENANTID= in your management URLFalse
    UsernameThe admin credentials used to integration with SMAXTrue
    PasswordTrue
    Fetch FilterFetch filter , example: Status = 'Ready'" for Incident queries, see "REST API collection query protocol" in SMAX documentation to know how to use the filterFalse
    Fields To FetchFields to return, for example: "Priority,Category" for an entity of type "IncidentFalse
    Fetch LimitThe maximum number of incidents to fetch per fetch commandFalse
    Fetch StartFetch start in daysFalse
    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.

microfocus-smax-get-entity#


Get any entity details

Base Command#

microfocus-smax-get-entity

Input#

Argument NameDescriptionRequired
entity_typeEntity type, for example: "Incident", the type is case-sensitive. Possible values are: .Required
entity_idEntity Id .Required
entity_fieldsFields to return, for example: "Priority,Category" for an entity of type "Incident".Optional

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name

Command Example#

!microfocus-smax-get-entity entity_type="Incident" entity_id="16989" entity_fields="Description,Urgency,Status,RegisteredForActualService"

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"entity_type": "Incident",
"properties": {
"Description": "Test Description",
"DisplayLabel": "test66122",
"Id": "16989",
"LastUpdateTime": 1635339214960,
"RegisteredForActualService": "11639",
"Status": "Ready",
"Urgency": "SlightDisruption"
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Entity Details:#

DescriptionDisplayLabelIdLastUpdateTimeRegisteredForActualServiceStatusTypeUrgency
Test Descriptiontest6612216989163533921496011639ReadyIncidentSlightDisruption

microfocus-smax-query-entities#


Query entities' details using a collection query filter

Base Command#

microfocus-smax-query-entities

Input#

Argument NameDescriptionRequired
entity_typeEntity type, for example: "Incident", the type is case-sensitive.Required
query_filterQuery filter , example: Status = 'Ready'" for Incident queries, see "REST API collection query protocol" in SMAX documentation to know how to use the filter.Optional
entity_fieldsFields to return, for example: "Priority,Category" for an entity of type "Incident".Optional
order_byThe order query parameter specifies the order in which the returned resources are placed, example: "Id desc".Optional
sizeSpecify the maximum number of resources requested to be returned.Optional
skipSpecify how many resources should be skipped by specifying the starting index of the returned result.Optional

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Query.query_timeStringQuery time
MicroFocus.SMAX.Query.total_countStringQuery results total count
MicroFocus.SMAX.Query.completion_statusStringQuery result status

Command Example#

!microfocus-smax-query-entities entity_type="Incident" query_filter="Status = 'Ready'" entity_fields="Status,Urgency" order_by="Id desc" size="5"

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": [
{
"entity_type": "Incident",
"properties": {
"Id": "17658",
"LastUpdateTime": 1635338444483,
"Status": "Ready",
"Urgency": "NoDisruption"
},
"related_properties": {}
},
{
"entity_type": "Incident",
"properties": {
"Id": "17656",
"LastUpdateTime": 1635331698499,
"Status": "Ready",
"Urgency": "SlightDisruption"
},
"related_properties": {}
},
{
"entity_type": "Incident",
"properties": {
"Id": "17652",
"LastUpdateTime": 1635256251981,
"Status": "Ready",
"Urgency": "NoDisruption"
},
"related_properties": {}
},
{
"entity_type": "Incident",
"properties": {
"Id": "17650",
"LastUpdateTime": 1635247508242,
"Status": "Ready",
"Urgency": "SlightDisruption"
},
"related_properties": {}
},
{
"entity_type": "Incident",
"properties": {
"Id": "17647",
"LastUpdateTime": 1635247121852,
"Status": "Ready",
"Urgency": "NoDisruption"
},
"related_properties": {}
}
],
"Query": {
"completion_status": "OK",
"errorDetailsList": [],
"errorDetailsMetaList": [],
"query_time": 1635341363698808,
"total_count": 47
}
}
}
}

Human Readable Output#

Result Details:#

IdLastUpdateTimeStatusTypeUrgency
176581635338444483ReadyIncidentNoDisruption
176561635331698499ReadyIncidentSlightDisruption
176521635256251981ReadyIncidentNoDisruption
176501635247508242ReadyIncidentSlightDisruption
176471635247121852ReadyIncidentNoDisruption

microfocus-smax-create-entities#


Create new entities

Base Command#

microfocus-smax-create-entities

Input#

Argument NameDescriptionRequired
entitiesA list of new entity objects to creates, please review the Bulk API documentation for more information.Required

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Entities.properties.completion_statusStringQuery result status

Command Example#

``!microfocus-smax-create-entities entities=[ { "entity_type": "Incident", "properties": { "DisplayLabel": "Test incident", "Description": "Test incident description", "RegisteredForActualService": "11639", "Urgency": "NoDisruption" } } ]````

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"completion_status": "OK",
"entity_type": "Incident",
"properties": {
"Id": "17013",
"LastUpdateTime": 1635341339329
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Entities Creation Details:#

CompletionStatusIdLastUpdateTimeType
OK170131635341339329Incident

microfocus-smax-update-entities#


Update entities

Base Command#

microfocus-smax-update-entities

Input#

Argument NameDescriptionRequired
entitiesA list of updated entity objects, please review the Bulk API documentation for more information.Required

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Entities.properties.completion_statusStringQuery result status

Command Example#

``!microfocus-smax-update-entities entities=[ { "entity_type": "Incident", "properties": { "Id": "16989", "Description": "Test Description" } } ]````

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"completion_status": "OK",
"entity_type": "Incident",
"properties": {
"Id": "16989",
"LastUpdateTime": 1635339214960
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Entities Update Details:#

CompletionStatusIdLastUpdateTimeType
OK169891635339214960Incident

microfocus-smax-create-incident#


Create a new incident

Base Command#

microfocus-smax-create-incident

Input#

Argument NameDescriptionRequired
incident_nameIncident name.Required
incident_descriptionIncident description.Required
impacted_serviceImpacted service by the incident, you must provide a service id.Required
requested_byIncident requested by, you must provide a user id.Optional
incident_urgencyIncident urgency level. Possible values are: NoDisruption, SlightDisruption, SevereDisruption, TotalLossOfService.Optional
impact_scopeIncident impact scope. Possible values are: SingleUser, MultipleUsers, SiteOrDepartment, Enterprise.Optional
service_desk_groupService desk group, you have to provide a group id.Optional
other_properitiesAn object of other properities.Optional

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Entities.properties.completion_statusStringQuery result status

Command Example#

``!microfocus-smax-create-incident incident_name="Test incident" incident_description="Test incident description" impacted_service="11639" other_properities={"Status": "Ready","Urgency": "NoDisruption"}````

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"completion_status": "OK",
"entity_type": "Incident",
"properties": {
"Id": "17015",
"LastUpdateTime": 1635341345342
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Incident Creation Results:#

CompletionStatusIdLastUpdateTimeType
OK170151635341345342Incident

microfocus-smax-update-incident#


Update an incident

Base Command#

microfocus-smax-update-incident

Input#

Argument NameDescriptionRequired
incident_idIncident Id.Required
incident_descriptionIncident description.Optional
incident_urgencyIncident urgency level. Possible values are: NoDisruption, SlightDisruption, SevereDisruption, TotalLossOfService.Optional
impact_scopeIncident impact scope. Possible values are: SingleUser, MultipleUsers, SiteOrDepartment, Enterprise.Optional
incident_statusIncident status. Possible values are: Ready, InProgress, Pending, Suspended, Complete.Optional
incident_closure_categoryIncident closure category, you have to provide a category Id.Optional
incident_completion_codeIncident completion code.Optional
incident_solutionIncident solution details.Optional
other_properitiesAn object of other properities.Optional

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Entities.properties.completion_statusStringQuery result status

Command Example#

!microfocus-smax-update-incident incident_id="17007" incident_description="Test Description" incident_status="Complete" incident_solution="Test Solution"

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"completion_status": "OK",
"entity_type": "Incident",
"properties": {
"Id": "17007",
"LastUpdateTime": 1635339537768
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Incident Update Results:#

CompletionStatusIdLastUpdateTimeType
OK170071635339537768Incident

microfocus-smax-create-request#


Create a new request

Base Command#

microfocus-smax-create-request

Input#

Argument NameDescriptionRequired
request_nameRequest name.Required
request_descriptionRequest description.Required
requested_byRequested by, you must provide a user id.Required
requested_forRequested for, you must provide a user id.Required
request_urgencyRequest urgency level. Possible values are: NoDisruption, SlightDisruption, SevereDisruption, TotalLossOfService.Optional
impact_scopeRequest impact scope. Possible values are: SingleUser, MultipleUsers, SiteOrDepartment, Enterprise.Optional
other_properitiesAn object of other properities.Optional

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Entities.properties.completion_statusStringQuery result status

Command Example#

!microfocus-smax-create-request request_name="Test Request" request_description="Test Request Description" requested_by="10388" requested_for="10388"

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"completion_status": "OK",
"entity_type": "Request",
"properties": {
"Id": "17549",
"LastUpdateTime": 1635341351250
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Request Creation Results:#

CompletionStatusIdLastUpdateTimeType
OK175491635341351250Request

microfocus-smax-update-request#


Update a request

Base Command#

microfocus-smax-update-request

Input#

Argument NameDescriptionRequired
request_idRequest Id.Required
request_descriptionRequest description.Optional
request_urgencyRequest urgency level. Possible values are: NoDisruption, SlightDisruption, SevereDisruption, TotalLossOfService.Optional
impact_scopeIncident impact scope. Possible values are: SingleUser, MultipleUsers, SiteOrDepartment, Enterprise.Optional
request_statusRequest status. Possible values are: RequestStatusReady, RequestStatusInProgress, RequestStatusPending, RequestStatusSuspended, RequestStatusComplete, RequestStatusPendingParent, RequestStatusRejected, RequestStatusPendingVendor, RequestStatusPendingExternalServiceDesk, RequestStatusPendingSpecialOperation.Optional
request_noteRequest update note.Optional
other_properitiesAn object of other properities.Optional

Context Output#

PathTypeDescription
MicroFocus.SMAX.Entities.properties.IdStringEntity Id
MicroFocus.SMAX.Entities.properties.NameStringEntity name
MicroFocus.SMAX.Entities.properties.completion_statusStringQuery result status

Command Example#

!microfocus-smax-update-request request_id="17009" request_description="Test Description" request_status="RequestStatusPendingSpecialOperation"

Context Example#

{
"MicroFocus": {
"SMAX": {
"Entities": {
"completion_status": "OK",
"entity_type": "Request",
"properties": {
"Id": "17009",
"LastUpdateTime": 1635339631068
},
"related_properties": {}
}
}
}
}

Human Readable Output#

Request Update Results:#

CompletionStatusIdLastUpdateTimeType
OK170091635339631068Request