Skip to main content

Illumio Core

This Integration is part of the Illumio Rapid Ransomware Containment Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.2.0 and later.

Connects to Illumio Core APIs to perform investigative and restorative actions. This integration was integrated and tested with version 1.1.2 of Illumio Python SDK.

Configure Illumio Core in Cortex#

ParameterDescriptionRequired
Server URLThe URL this integration should connect to.True
PortThe port number to establish the connection.True
API Key UsernameThe API user for authentication.True
API SecretThe API Key required to authenticate to the service.True
Organization IDThe organization ID to use when calling org-dependent APIs.True
Trust any certificate (not secure)Indicates whether to allow connections without verifying SSL certificate's validity.False
Use system proxy settingsIndicates whether to use XSOAR's system proxy settings to connect to the API.False

Commands#

You can execute these commands from the 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.

illumio-traffic-analysis#


Retrieves traffic flow of a particular port & protocol within the specified time range based on policy decisions.

Base Command#

illumio-traffic-analysis

Input#

Argument NameDescriptionRequired
portPort number.Required
protocolCommunication protocol.

Supported values are: 'tcp' and 'udp'. Possible values are: tcp, udp. Default is tcp.
Optional
start_timeStart of analysis range.

Supported formats: N minutes, N hours, N days, N weeks, N months, N years, yyyy-mm-dd, yyyy-mm-ddTHH:MM:SSZ

For example: 01 Mar 2021, 01 Feb 2021 04:45:33, 2022-04-17T14:05:44Z. Default is 1 week ago.
Optional
end_timeEnd of analysis range.

Supported formats: N minutes, N hours, N days, N weeks, N months, N years, yyyy-mm-dd, yyyy-mm-ddTHH:MM:SSZ

For example: 01 Mar 2021, 01 Feb 2021 04:45:33, 2022-04-17T14:05:44Z. Default is now.
Optional
policy_decisionsList of policy decisions to include in the search results. Supports comma-separated values.

Supported values are: 'potentially_blocked', 'blocked', 'unknown', and 'allowed'. Default is potentially_blocked, unknown.
Optional

Context Output#

PathTypeDescription
Illumio.TrafficFlows.src.ipStringIP of the source.
Illumio.TrafficFlows.dst.ipStringDestination IP address.
Illumio.TrafficFlows.dst.workload.hostnameStringDestination workload hostname.
Illumio.TrafficFlows.dst.workload.nameStringDestination workload name.
Illumio.TrafficFlows.dst.workload.hrefStringDestination workload URI.
Illumio.TrafficFlows.dst.workload.os_typeStringDestination workload OS type.
Illumio.TrafficFlows.dst.workload.labels.hrefStringDestination label URI.
Illumio.TrafficFlows.dst.workload.labels.keyStringDestination workload label key.
Illumio.TrafficFlows.dst.workload.labels.valueStringDestination workload label value.
Illumio.TrafficFlows.service.portNumberPort of the traffic.
Illumio.TrafficFlows.service.protoNumberProtocol number of the traffic.
Illumio.TrafficFlows.num_connectionsNumberNumber of traffic flows reported in connections.
Illumio.TrafficFlows.policy_decisionsStringIndicates the policy decision for the flow. Indicates if the traffic flow is allowed, potentially blocked (but allowed), or blocked.
Illumio.TrafficFlows.stateStringState of the flow.
Illumio.TrafficFlows.flow_directionStringFlow direction of the traffic.
Illumio.TrafficFlows.dst_biNumberBytes received till now by the destination over the flow during the interval.
Illumio.TrafficFlows.dst_boNumberBytes sent till now by the destination over the flow during the interval.
Illumio.TrafficFlows.timestamp_range.last_detectedDateTime range when traffic was last detected.
Illumio.TrafficFlows.timestamp_range.first_detectedDateTime range when traffic was first detected.

Command example#

!illumio-traffic-analysis port=8443

Context Example#

{
"Illumio": {
"TrafficFlows": [
{
"dst": {
"ip": "127.0.0.1",
"virtual_service": {
"href": "/orgs/1/sec_policy/draft/virtual_services/c28a080c-dummy",
"name": "Trial-117"
}
},
"dst_bi": 0,
"dst_bo": 0,
"flow_direction": "inbound",
"num_connections": 1,
"policy_decision": "potentially_blocked",
"service": {
"port": 8443,
"proto": 6
},
"src": {
"ip": "127.0.0.1"
},
"state": "closed",
"timestamp_range": {
"first_detected": "2022-10-01T10:53:39Z",
"last_detected": "2022-10-01T10:53:39Z"
}
},
{
"dst": {
"ip": "127.0.0.1"
},
"dst_bi": 0,
"dst_bo": 0,
"flow_direction": "outbound",
"num_connections": 2,
"policy_decision": "potentially_blocked",
"service": {
"port": 8443,
"proto": 6,
"user_name": "phantom-worker"
},
"src": {
"ip": "127.0.0.1",
"workload": {
"hostname": "phantom_10.40.1.3",
"href": "/orgs/1/workloads/8d210b4f-dummy",
"os_type": "linux"
}
},
"state": "closed",
"timestamp_range": {
"first_detected": "2022-09-30T08:55:27Z",
"last_detected": "2022-09-30T08:55:27Z"
}
},
{
"dst": {
"ip": "127.0.0.1",
"virtual_service": {
"href": "/orgs/1/sec_policy/draft/virtual_services/c28a080c-dummy",
"name": "Trial-117"
}
},
"dst_bi": 0,
"dst_bo": 0,
"flow_direction": "inbound",
"num_connections": 1,
"policy_decision": "potentially_blocked",
"service": {
"port": 8443,
"proto": 6
},
"src": {
"ip": "127.0.0.1"
},
"state": "closed",
"timestamp_range": {
"first_detected": "2022-10-01T10:18:03Z",
"last_detected": "2022-10-01T10:18:03Z"
}
}
]
}
}

Human Readable Output#

Traffic Analysis:#

Source IPDestination IPService PortService ProtocolPolicy DecisionStateFlow DirectionFirst DetectedLast Detected
127.0.0.1127.0.0.38443TCPpotentially_blockedclosedinbound01 Oct 2022, 10:53 AM01 Oct 2022, 10:53 AM
127.0.0.2127.0.0.48443TCPpotentially_blockedclosedoutbound30 Sep 2022, 08:55 AM30 Sep 2022, 08:55 AM
127.0.0.6127.0.0.58443TCPpotentially_blockedclosedinbound01 Oct 2022, 10:18 AM01 Oct 2022, 10:18 AM

illumio-virtual-service-create#


Creates a virtual service for a particular port & protocol, which can be further binded to workloads. Until provisioned with the 'illumio-object-provision' command, this object will remain in a draft state.

Base Command#

illumio-virtual-service-create

Input#

Argument NameDescriptionRequired
nameVirtual service name.Required
portPort number.Required
protocolCommunication protocol. Possible values are: TCP, UDP. Default is TCP.Optional

Context Output#

PathTypeDescription
Illumio.VirtualService.hrefStringLabel URI.
Illumio.VirtualService.created_atDateVirtual service creation time.
Illumio.VirtualService.updated_atDateVirtual service updated time.
Illumio.VirtualService.deleted_atDateVirtual service deleted time.
Illumio.VirtualService.created_by.hrefStringURI of the user who has created the virtual service.
Illumio.VirtualService.updated_by.hrefStringURI of the user who has updated the virtual service.
Illumio.VirtualService.deleted_by.hrefStringURI of the user who has deleted the virtual service.
Illumio.VirtualService.update_typeStringWhat type of modification has been done on the virtual service.
Illumio.VirtualService.nameStringName of the virtual service.
Illumio.VirtualService.descriptionStringDescription of the virtual service.
Illumio.VirtualService.pce_fqdnStringPCE FQDN to assign to the virtual service.
Illumio.VirtualService.service_ports.portNumberPort of the virtual service.
Illumio.VirtualService.service_ports.protoNumberProto of the virtual service.
Illumio.VirtualService.labelsUnknownLabels of the virtual service.
Illumio.VirtualService.ip_overridesUnknownArray of IPs or CIDRs as IP overrides.
Illumio.VirtualService.apply_toStringFirewall rule target for workloads bound to this virtual service: host_only or internal_bridge_network.
Illumio.VirtualService.capsUnknownArray of permissions for the entity for the current user - an empty array implies read only access.
Illumio.VirtualService.service_addressesUnknownService addresses of the virtual service.

Command example#

!illumio-virtual-service-create name=trail-service-test-10002 port=8443 protocol=TCP

Context Example#

{
"Illumio": {
"VirtualService": {
"apply_to": "host_only",
"caps": [
"write",
"provision",
"delete"
],
"created_at": "2022-10-03T12:17:53.498Z",
"created_by": {
"href": "/users/68"
},
"href": "/orgs/1/sec_policy/draft/virtual_services/cb620c40-dummy",
"name": "trail-service-test-10002",
"service_ports": [
{
"port": 8443,
"proto": 6
}
],
"update_type": "create",
"updated_at": "2022-10-03T12:17:53.502Z",
"updated_by": {
"href": "/users/68"
}
}
}
}

Human Readable Output#

Virtual Service:#

Successfully created virtual service: /orgs/1/sec_policy/draft/virtual_services/cb620c40-6e54-4875-b81c-8a3f22c9c7fc#

Virtual Service HREFCreated AtUpdated AtNameService PortService Protocol
/orgs/1/sec_policy/draft/virtual_services/cb620c40-dummy03 Oct 2022, 12:17 PM03 Oct 2022, 12:17 PMtrail-service-test-100028443TCP

illumio-service-binding-create#


Binds the existing or a new virtual service to the workloads.

Base Command#

illumio-service-binding-create

Input#

Argument NameDescriptionRequired
workloadsWorkload HREFs to bind. Supports comma-separated values.

Note: Users can retrieve the list of Href's by executing the "illumio-workloads-list" or the "illumio-traffic-analysis" command.
Required
virtual_serviceVirtual service HREF to bind the workloads to.Required

Context Output#

PathTypeDescription
Illumio.ServiceBinding.statusStringIndicates the status of a request.
Illumio.ServiceBinding.hrefStringLabel URI.

Command example#

!illumio-service-binding-create workloads=/orgs/1/workloads/1b34ea55-315c-4a86-afdb-ba8eacf4e1c5 virtual_service=/orgs/1/sec_policy/draft/virtual_services/79cc1d7d-7460-43fc-a3ac-45cf73022bd7

Context Example#

{
"Illumio": {
"ServiceBinding": {
"hrefs": [
"/orgs/1/service_bindings/e78f4e7f-dummy"
]
}
}
}

Human Readable Output#

Service Binding:#

Workloads have been bounded to the virtual service successfully.#

Service Binding HREFStatus
/orgs/1/service_bindings/e78f4e7f-dummycreated

illumio-object-provision#


A utility method for provisioning policy objects from draft to active state. Policy objects only affect the network once they've been provisioned.

Base Command#

illumio-object-provision

Input#

Argument NameDescriptionRequired
security_policy_objectsList of security policy object HREFs to provision. Supports comma-separated values.Required

Context Output#

PathTypeDescription
Illumio.PolicyState.hrefStringObject label URI.
Illumio.PolicyState.commit_messageStringMessage for the provisioning.
Illumio.PolicyState.versionNumberVersion of the object.
Illumio.PolicyState.workloads_affectedNumberNumber of workloads affected.
Illumio.PolicyState.created_by.hrefStringCreated by label URI.
Illumio.PolicyState.object_counts.rule_setsNumberCount of rulesets.
Illumio.PolicyState.object_counts.servicesNumberCount of services.
Illumio.PolicyState.object_counts.ip_listsNumberCount of IP lists.
Illumio.PolicyState.object_counts.firewall_settingsNumberCount of firewall settings.
Illumio.PolicyState.object_counts.label_groupsNumberCount of label groups.
Illumio.PolicyState.object_counts.secure_connect_gatewaysNumberCount of secure connection gateways.
Illumio.PolicyState.object_counts.virtual_serversNumberCount of virtual servers.
Illumio.PolicyState.object_counts.enforcement_boudariesNumberCount of enforcement boundaries.
Illumio.PolicyState.object_counts.virtual_servicesNumberCount of virtual services.
Illumio.PolicyState.provisioned_hrefsUnknownList of active hrefs after provisioning.

Command example#

!illumio-object-provision security_policy_objects=/orgs/1/sec_policy/draft/virtual_services/ac9f932a-1934-47d7-90cd-859a4c93a59f

Context Example#

{
"Illumio": {
"PolicyState": {
"commit_message": "XSOAR - 2022-10-03T12:18:13.993389\nProvisioning following objects:\n/orgs/1/sec_policy/draft/virtual_services/ac9f932a-1934-47d7-90cd-859a4c93a59f",
"created_at": "2022-10-03T12:18:15.357Z",
"created_by": {
"href": "/users/68"
},
"href": "/orgs/1/sec_policy/dummy",
"object_counts": {
"enforcement_boundaries": 25,
"firewall_settings": 1,
"ip_lists": 27,
"label_groups": 17,
"rule_sets": 11,
"secure_connect_gateways": 0,
"services": 18,
"virtual_servers": 0,
"virtual_services": 371
},
"provisioned_hrefs": [
"/orgs/1/sec_policy/active/virtual_services/ac9f932a-dummy"
],
"version": 2148,
"workloads_affected": 0
}
}
}

Human Readable Output#

Provision Objects:#

Provision is completed for /orgs/1/sec_policy/dummy#

Provision Object URICommit MessageCreated At
/orgs/1/sec_policy/2148XSOAR - 2022-10-03T12:18:13.993389
Provisioning following objects:
/orgs/1/sec_policy/draft/virtual_services/ac9f932a-1934-47d7-90cd-859a4c93a59f
03 Oct 2022, 12:18 PM

illumio-workload-get#


Retrieves the details of the workload based on the provided workload's HREF.

Base Command#

illumio-workload-get

Input#

Argument NameDescriptionRequired
hrefWorkload HREF.
Note: Users can retrieve the list of Href's by executing the "illumio-workloads-list" command.
Required

Context Output#

PathTypeDescription
Illumio.Workloads.hrefStringURI of workload.
Illumio.Workloads.deletedBooleanWhether this workload has been deleted or not.
Illumio.Workloads.delete_typeStringWorkload deletion type.
Illumio.Workloads.nameStringInterface name.
Illumio.Workloads.descriptionStringThe description of this workload.
Illumio.Workloads.managedBooleanTrue if the workload is managed, else false.
Illumio.Workloads.hostnameStringThe hostname of this workload.
Illumio.Workloads.service_principal_nameStringThe Kerberos Service Principal Name (SPN).
Illumio.Workloads.agent_to_pce_certificate_authentication_idStringPKI Certificate identifier to be used by the PCE for authenticating the VEN.
Illumio.Workloads.distinguished_nameStringX.509 Subject distinguished name.
Illumio.Workloads.public_ipStringThe public IP address of the server.
Illumio.Workloads.external_data_setStringExternal data set identifier.
Illumio.Workloads.external_data_referenceStringExternal data reference identifier.
Illumio.Workloads.interfaces.nameStringInterface name.
Illumio.Workloads.interfaces.link_stateStringLink state.
Illumio.Workloads.interfaces.addressStringThe IP address to assign to this interface.
Illumio.Workloads.interfaces.cidr_blockNumberThe number of bits in the subnet /24 is 255.255.255.0.
Illumio.Workloads.interfaces.default_gateway_addressStringThe IP address of the default gateway.
Illumio.Workloads.interfaces.network.hrefStringURI of the network.
Illumio.Workloads.interfaces.network_detection_modeStringNetwork detection mode.
Illumio.Workloads.interfaces.friendly_nameStringUser-friendly name for interface.
Illumio.Workloads.service_providerStringService provider.
Illumio.Workloads.data_centerStringData center.
Illumio.Workloads.data_center_zoneStringData center zone.
Illumio.Workloads.os_idStringOur OS identifier.
Illumio.Workloads.os_detailStringAdditional OS details - just displayed to the end user.
Illumio.Workloads.onlineBooleanIf this workload is online.
Illumio.Workloads.firewall_coexistence.illumio_primaryBooleanIllumio is the primary firewall if set to true.
Illumio.Workloads.containers_inherit_host_policyBooleanThis workload will apply the policy it receives both to itself and the containers hosted by it.
Illumio.Workloads.blocked_connection_actionStringFirewall action for blocked connections.
Illumio.Workloads.labels.hrefStringURI of this label.
Illumio.Workloads.labels.deletedBooleanAssigned labels.
Illumio.Workloads.labels.keyStringKey in key-value pair.
Illumio.Workloads.labels.valueStringValue in key-value pair.
Illumio.Workloads.labels.external_data_setStringExternal data set identifier.
Illumio.Workloads.labels.external_data_referenceStringExternal data reference identifier.
Illumio.Workloads.labels.created_atDateTimestamp when this label was first created.
Illumio.Workloads.labels.updated_atDateTimestamp when this label was last updated.
Illumio.Workloads.labels.created_by.hrefStringUser who has originally created this label.
Illumio.Workloads.labels.updated_by.hrefStringUser who has last updated this label.
Illumio.Workloads.services.uptime_secondsNumberHow long since the last reboot of this box - used as a timestamp for this.
Illumio.Workloads.services.created_atDateTimestamp when this service was first created.
Illumio.Workloads.services.open_service_ports.protocolNumberTransport protocol.
Illumio.Workloads.services.open_service_ports.addressStringThe local address this service is bound to.
Illumio.Workloads.services.open_service_ports.portNumberThe local port this service is bound to.
Illumio.Workloads.services.open_service_ports.process_nameStringThe process name (including the full path).
Illumio.Workloads.services.open_service_ports.userStringThe user account that the process is running under.
Illumio.Workloads.services.open_service_ports.packageStringThe RPM/DEB package that the program is part of.
Illumio.Workloads.services.open_service_ports.win_service_nameStringName of the windows service.
Illumio.Workloads.vulnerabilities_summary.num_vulnerabilitiesNumberNumber of vulnerabilities associated with the workload.
Illumio.Workloads.vulnerabilities_summary.vulnerable_port_exposureNumberThe aggregated vulnerability port exposure score of the workload across all the vulnerable ports.
Illumio.Workloads.vulnerabilities_summary.vulnerable_port_wide_exposure.anyBooleanThe boolean value represents if at least one port is exposed to the internet (any rule) on the workload.
Illumio.Workloads.vulnerabilities_summary.vulnerable_port_wide_exposure.ip_listBooleanThe boolean value represents if at least one port is exposed to ip_list(s) on the workload.
Illumio.Workloads.vulnerabilities_summary.vulnerability_exposure_scoreNumberThe aggregated vulnerability exposure score of the workload across all the vulnerable ports.
Illumio.Workloads.vulnerabilities_summary.vulnerability_scoreNumberThe aggregated vulnerability score of the workload across all the vulnerable ports.
Illumio.Workloads.vulnerabilities_summary.max_vulnerability_scoreNumberThe maximum of all the vulnerability scores associated with the detected_vulnerabilities on the workload.
Illumio.Workloads.detected_vulnerabilities.ip_addressStringThe IP address of the host where the vulnerability is found.
Illumio.Workloads.detected_vulnerabilities.portNumberThe port which is associated with the vulnerability.
Illumio.Workloads.detected_vulnerabilities.protoNumberThe protocol which is associated with the vulnerability.
Illumio.Workloads.detected_vulnerabilities.port_exposureNumberThe exposure of the port based on the current policy.
Illumio.Workloads.detected_vulnerabilities.port_wide_exposure.anyBooleanThe boolean value represents if the port is exposed to the internet (any rule).
Illumio.Workloads.detected_vulnerabilities.port_wide_exposure.ip_listBooleanThe boolean value represents if the port is exposed to ip_list(s).
Illumio.Workloads.detected_vulnerabilities.workload.hrefStringThe URI of the workload to which this vulnerability belongs to.
Illumio.Workloads.detected_vulnerabilities.vulnerability.hrefStringThe URI of the vulnerability class to which this vulnerability belongs to.
Illumio.Workloads.detected_vulnerabilities.vulnerability.scoreNumberThe normalized score of the vulnerability within the range of 0 to 100.
Illumio.Workloads.detected_vulnerabilities.vulnerability.nameStringThe title/name of the vulnerability.
Illumio.Workloads.detected_vulnerabilities.vulnerability_report.hrefStringThe URI of the report to which this vulnerability belongs to.
Illumio.Workloads.agent.config.modeStringDEPRECATED AND REPLACED (Use workload enforcement_mode instead)
Illumio.Workloads.agent.config.log_trafficBooleanTrue if we want to log traffic events from this workload.
Illumio.Workloads.agent.config.security_policy_update_modeStringDefines the current policy update mode, which can be either adaptive or static based on static policy scopes.
Illumio.Workloads.agent.hrefStringHREF of the service agent.
Illumio.Workloads.agent.secure_connect.matching_issuer_nameStringIssuer name match criteria for certificate used during establishing secure connections.
Illumio.Workloads.agent.status.uidStringThe unique ID reported by the server.
Illumio.Workloads.agent.status.last_heartbeat_onDateThe last time (rfc3339 timestamp) a heartbeat was received from this workload.
Illumio.Workloads.agent.status.uptime_secondsNumberHow long since the last reboot of this server. Recorded in DB at the time of the last heartbeat.
Illumio.Workloads.agent.status.agent_versionStringAgent software version string.
Illumio.Workloads.agent.status.managed_sinceDateThe time (rfc3339 timestamp) at which this workload became managed by a VEN.
Illumio.Workloads.agent.status.fw_config_currentBooleanIf this workload's firewall config is up to string'.
Illumio.Workloads.agent.status.firewall_rule_countNumberDEPRECATED WITH NO REPLACEMENT: Number of firewall rules currently installed.
Illumio.Workloads.agent.status.security_policy_refresh_atDateDEPRECATED AND REPLACED (USE security_policy_applied_at and security_policy_received_at INSTEAD).
Illumio.Workloads.agent.status.security_policy_applied_atDateLast reported time when policy was applied (UTC).
Illumio.Workloads.agent.status.security_policy_received_atDateLast reported time when policy was received (UTC).
Illumio.Workloads.agent.status.agent_health_errors.errorsUnknownErrors associated with the security policy.
Illumio.Workloads.agent.status.agent_health_errors.warningsUnknownWarnings associated with the security policy.
Illumio.Workloads.agent.status.agent_health.typeStringThis field describes the error or the warning type.
Illumio.Workloads.agent.status.agent_health.severityStringSeverity of the error type.
Illumio.Workloads.agent.status.agent_health.audit_eventStringThe URI of the audit event that was generated for the corresponding error or warning.
Illumio.Workloads.agent.status.security_policy_sync_stateStringCurrent state of security policy.
Illumio.Workloads.agent.active_pce_fqdnStringThe FQDN of the PCE that received the agent's last heartbeat.
Illumio.Workloads.agent.target_pce_fqdnStringThe FQDN of the PCE the agent will use for future connections.
Illumio.Workloads.agent.typeStringAgent type.
Illumio.Workloads.ven.hrefStringThe URI of the VEN that manages this workload. This replaces the 'agent' field of this object.
Illumio.Workloads.ven.hostnameStringThe hostname of the host managed by the VEN, only displayed in expanded representations.
Illumio.Workloads.ven.nameStringThe friendly name of the VEN, only displayed in expanded representations.
Illumio.Workloads.ven.statusStringStatus of the VEN, only displayed in expanded representations.
Illumio.Workloads.enforcement_modeStringWorkload's enforcement mode.
Illumio.Workloads.selectively_enforced_services.hrefStringWorkload's selective enforcement mode.
Illumio.Workloads.created_atDateThe time (rfc3339 timestamp) at which this workload was created.
Illumio.Workloads.updated_atDateThe time (rfc3339 timestamp) at which this workload was last updated.
Illumio.Workloads.deleted_atDateThe time (rfc3339 timestamp) at which this workload was deleted.
Illumio.Workloads.created_by.hrefStringThe URI of the user who has created this workload.
Illumio.Workloads.updated_by.hrefStringThe URI of the user who has last updated this workload.
Illumio.Workloads.deleted_by.hrefStringThe URI of the user who has deleted this workload.
Illumio.Workloads.container_cluster.hrefStringContainer cluster URI.
Illumio.Workloads.container_cluster.nameStringContainer cluster name.
Illumio.Workloads.ike_authentication_certificateStringIKE authentication certificate for certificate-based Secure Connect and Machine Auth connections.

Command example#

!illumio-workload-get href=/orgs/1/workloads/b0426bc0-c6c6-4ef8-bd8a-2a1771f97503

Context Example#

{
"Illumio": {
"Workload": {
"agent": {
"config": {
"log_traffic": false,
"mode": "illuminated",
"security_policy_update_mode": "adaptive",
"visibility_level": "flow_summary"
},
"href": "/orgs/1/agents/dummy",
"secure_connect": {
"matching_issuer_name": ""
},
"status": {
"agent_version": "20.2.0",
"firewall_rule_count": 0,
"fw_config_current": false,
"last_heartbeat_on": "2020-10-22T01:27:43.213Z",
"managed_since": "2020-10-22T01:27:42.228Z",
"security_policy_sync_state": "syncing",
"status": "active",
"uptime_seconds": 0
},
"type": "Host",
"unpair_allowed": true
},
"blocked_connection_action": "drop",
"caps": [
"write"
],
"containers_inherit_host_policy": false,
"created_at": "2020-10-22T01:27:42.201Z",
"created_by": {
"href": "/orgs/1/agents/dummy"
},
"deleted": false,
"enforcement_mode": "visibility_only",
"hostname": "perf-workload-56770",
"href": "/orgs/1/workloads/b0426bc0-dummy",
"interfaces": [
{
"address": "0.0.0.0",
"cidr_block": 64,
"loopback": false,
"name": "eth0",
"network": {
"href": "/orgs/1/networks/04ac9819-dummy"
},
"network_detection_mode": "single_private_brn"
},
{
"address": "127.0.0.1",
"cidr_block": 8,
"default_gateway_address": "127.0.0.1",
"loopback": false,
"name": "eth0",
"network": {
"href": "/orgs/1/networks/6736f2b5-dummy"
},
"network_detection_mode": "single_private_brn"
}
],
"online": false,
"os_detail": "4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 (Ubuntu 16.04.1 LTS)",
"os_id": "ubuntu-x86_64-xenial",
"public_ip": "127.0.0.1",
"services": {
"open_service_ports": [
{
"address": "0.0.0.0",
"port": 161,
"process_name": "snmpd",
"protocol": 6,
"user": "root"
},
{
"address": "0.0.0.0",
"port": 53,
"process_name": "bind",
"protocol": 6,
"user": "root"
},
{
"address": "0.0.0.0",
"port": 5432,
"process_name": "postgres",
"protocol": 6,
"user": "root"
},
{
"address": "0.0.0.0",
"port": 67,
"process_name": "dhcpd",
"protocol": 17,
"user": "root"
},
{
"address": "0.0.0.0",
"port": 80,
"process_name": "httpd",
"protocol": 6,
"user": "root"
}
],
"uptime_seconds": 120708
},
"updated_at": "2022-10-03T11:28:39.203Z",
"updated_by": {
"href": "/users/68"
},
"ven": {
"href": "/orgs/1/vens/b0426bc0-dummy"
},
"visibility_level": "flow_summary"
}
}
}

Human Readable Output#

Workload Details:#

Workload HREFCreated AtUpdated AtHostname
/orgs/1/workloads/b0426bc0-dummy22 Oct 2020, 01:27 AM03 Oct 2022, 11:28 AMperf-workload-56770

illumio-workloads-list#


Retrieves the list of workloads based on the provided filters.

Base Command#

illumio-workloads-list

Input#

Argument NameDescriptionRequired
max_resultsMaximum number of workloads to return in the result set. The value must be positive integer. High value will result in performance issue.
Note: 2500 is the optimum value. Default is 500.
Optional
nameWorkload name.Optional
hostnameWorkload hostname.Optional
ip_addressWorkload IP address. Supports partial matches.Optional
onlineTrue to return online workloads, false to return offline workloads. Leave empty to return both. Possible values are: true, false.Optional
managedTrue to return managed workloads, false to return unmanaged workloads. Leave empty to return both. Possible values are: true, false.Optional
labelsWorkload labels.Optional
enforcement_modeWorkload enforcement mode. Possible values are: visibility_only, full, idle, selective.Optional
visibility_levelWorkload visibility level. Possible values are: flow_full_detail, flow_summary, flow_drops, flow_off, enhanced_data_collection.Optional

Context Output#

PathTypeDescription
Illumio.Workloads.hrefStringURI of workload.
Illumio.Workloads.deletedBooleanWhether this workload has been deleted or not.
Illumio.Workloads.delete_typeStringWorkload deletion type.
Illumio.Workloads.nameStringInterface name.
Illumio.Workloads.descriptionStringThe description of this workload.
Illumio.Workloads.managedBooleanTrue if the workload is managed, else false.
Illumio.Workloads.hostnameStringThe hostname of this workload.
Illumio.Workloads.service_principal_nameStringThe Kerberos Service Principal Name (SPN).
Illumio.Workloads.agent_to_pce_certificate_authentication_idStringPKI Certificate identifier to be used by the PCE for authenticating the VEN.
Illumio.Workloads.distinguished_nameStringX.509 Subject distinguished name.
Illumio.Workloads.public_ipStringThe public IP address of the server.
Illumio.Workloads.external_data_setStringExternal data set identifier.
Illumio.Workloads.external_data_referenceStringExternal data reference identifier.
Illumio.Workloads.interfaces.nameStringInterface name.
Illumio.Workloads.interfaces.link_stateStringLink state.
Illumio.Workloads.interfaces.addressStringThe IP address to assign to this interface.
Illumio.Workloads.interfaces.cidr_blockNumberThe number of bits in the subnet /24 is 255.255.255.0.
Illumio.Workloads.interfaces.default_gateway_addressStringThe IP address of the default gateway.
Illumio.Workloads.interfaces.network.hrefStringURI of the network.
Illumio.Workloads.interfaces.network_detection_modeStringNetwork detection mode.
Illumio.Workloads.interfaces.friendly_nameStringUser-friendly name for interface.
Illumio.Workloads.service_providerStringService provider.
Illumio.Workloads.data_centerStringData center.
Illumio.Workloads.data_center_zoneStringData center zone.
Illumio.Workloads.os_idStringOur OS identifier.
Illumio.Workloads.os_detailStringAdditional OS details - just displayed to the end user.
Illumio.Workloads.onlineBooleanIf this workload is online.
Illumio.Workloads.firewall_coexistence.illumio_primaryBooleanIllumio is the primary firewall if set to true.
Illumio.Workloads.containers_inherit_host_policyBooleanThis workload will apply the policy it receives both to itself and the containers hosted by it.
Illumio.Workloads.blocked_connection_actionStringFirewall action for blocked connections.
Illumio.Workloads.labels.hrefStringURI of this label.
Illumio.Workloads.labels.deletedBooleanAssigned labels.
Illumio.Workloads.labels.keyStringKey in key-value pair.
Illumio.Workloads.labels.valueStringValue in key-value pair.
Illumio.Workloads.labels.external_data_setStringExternal data set identifier.
Illumio.Workloads.labels.external_data_referenceStringExternal data reference identifier.
Illumio.Workloads.labels.created_atDateTimestamp when this label was first created.
Illumio.Workloads.labels.updated_atDateTimestamp when this label was last updated.
Illumio.Workloads.labels.created_by.hrefStringUser who has originally created this label.
Illumio.Workloads.labels.updated_by.hrefStringUser who has last updated this label.
Illumio.Workloads.services.uptime_secondsNumberHow long since the last reboot of this box - used as a timestamp for this.
Illumio.Workloads.services.created_atDateTimestamp when this service was first created.
Illumio.Workloads.services.open_service_ports.protocolNumberTransport protocol.
Illumio.Workloads.services.open_service_ports.addressStringThe local address this service is bound to.
Illumio.Workloads.services.open_service_ports.portNumberThe local port this service is bound to.
Illumio.Workloads.services.open_service_ports.process_nameStringThe process name (including the full path).
Illumio.Workloads.services.open_service_ports.userStringThe user account that the process is running under.
Illumio.Workloads.services.open_service_ports.packageStringThe RPM/DEB package that the program is part of.
Illumio.Workloads.services.open_service_ports.win_service_nameStringName of the windows service.
Illumio.Workloads.vulnerabilities_summary.num_vulnerabilitiesNumberNumber of vulnerabilities associated with the workload.
Illumio.Workloads.vulnerabilities_summary.vulnerable_port_exposureNumberThe aggregated vulnerability port exposure score of the workload across all the vulnerable ports.
Illumio.Workloads.vulnerabilities_summary.vulnerable_port_wide_exposure.anyBooleanThe boolean value represents if at least one port is exposed to the internet (any rule) on the workload.
Illumio.Workloads.vulnerabilities_summary.vulnerable_port_wide_exposure.ip_listBooleanThe boolean value represents if at least one port is exposed to ip_list(s) on the workload.
Illumio.Workloads.vulnerabilities_summary.vulnerability_exposure_scoreNumberThe aggregated vulnerability exposure score of the workload across all the vulnerable ports.
Illumio.Workloads.vulnerabilities_summary.vulnerability_scoreNumberThe aggregated vulnerability score of the workload across all the vulnerable ports.
Illumio.Workloads.vulnerabilities_summary.max_vulnerability_scoreNumberThe maximum of all the vulnerability scores associated with the detected_vulnerabilities on the workload.
Illumio.Workloads.detected_vulnerabilities.ip_addressStringThe IP address of the host where the vulnerability is found.
Illumio.Workloads.detected_vulnerabilities.portNumberThe port which is associated with the vulnerability.
Illumio.Workloads.detected_vulnerabilities.protoNumberThe protocol which is associated with the vulnerability.
Illumio.Workloads.detected_vulnerabilities.port_exposureNumberThe exposure of the port based on the current policy.
Illumio.Workloads.detected_vulnerabilities.port_wide_exposure.anyBooleanThe boolean value represents if the port is exposed to the internet (any rule).
Illumio.Workloads.detected_vulnerabilities.port_wide_exposure.ip_listBooleanThe boolean value represents if the port is exposed to ip_list(s).
Illumio.Workloads.detected_vulnerabilities.workload.hrefStringThe URI of the workload to which this vulnerability belongs to.
Illumio.Workloads.detected_vulnerabilities.vulnerability.hrefStringThe URI of the vulnerability class to which this vulnerability belongs to.
Illumio.Workloads.detected_vulnerabilities.vulnerability.scoreNumberThe normalized score of the vulnerability within the range of 0 to 100.
Illumio.Workloads.detected_vulnerabilities.vulnerability.nameStringThe title/name of the vulnerability.
Illumio.Workloads.detected_vulnerabilities.vulnerability_report.hrefStringThe URI of the report to which this vulnerability belongs to.
Illumio.Workloads.agent.config.modeStringDEPRECATED AND REPLACED (Use workload enforcement_mode instead)
Illumio.Workloads.agent.config.log_trafficBooleanTrue if we want to log traffic events from this workload.
Illumio.Workloads.agent.config.security_policy_update_modeStringDefines the current policy update mode, which can be either adaptive or static based on static policy scopes.
Illumio.Workloads.agent.hrefStringHREF of the service agent.
Illumio.Workloads.agent.secure_connect.matching_issuer_nameStringIssuer name match criteria for certificate used during establishing secure connections.
Illumio.Workloads.agent.status.uidStringThe unique ID reported by the server.
Illumio.Workloads.agent.status.last_heartbeat_onDateThe last time (rfc3339 timestamp) a heartbeat was received from this workload.
Illumio.Workloads.agent.status.uptime_secondsNumberHow long since the last reboot of this server. Recorded in DB at the time of the last heartbeat.
Illumio.Workloads.agent.status.agent_versionStringAgent software version string.
Illumio.Workloads.agent.status.managed_sinceDateThe time (rfc3339 timestamp) at which this workload became managed by a VEN.
Illumio.Workloads.agent.status.fw_config_currentBooleanIf this workload's firewall config is up to string'.
Illumio.Workloads.agent.status.firewall_rule_countNumberDEPRECATED WITH NO REPLACEMENT: Number of firewall rules currently installed.
Illumio.Workloads.agent.status.security_policy_refresh_atDateDEPRECATED AND REPLACED (USE security_policy_applied_at and security_policy_received_at INSTEAD).
Illumio.Workloads.agent.status.security_policy_applied_atDateLast reported time when policy was applied (UTC).
Illumio.Workloads.agent.status.security_policy_received_atDateLast reported time when policy was received (UTC).
Illumio.Workloads.agent.status.agent_health_errors.errorsUnknownErrors associated with the security policy.
Illumio.Workloads.agent.status.agent_health_errors.warningsUnknownWarnings associated with the security policy.
Illumio.Workloads.agent.status.agent_health.typeStringThis field describes the error or the warning type.
Illumio.Workloads.agent.status.agent_health.severityStringSeverity of the error type.
Illumio.Workloads.agent.status.agent_health.audit_eventStringThe URI of the audit event that was generated for the corresponding error or warning.
Illumio.Workloads.agent.status.security_policy_sync_stateStringCurrent state of security policy.
Illumio.Workloads.agent.active_pce_fqdnStringThe FQDN of the PCE that received the agent's last heartbeat.
Illumio.Workloads.agent.target_pce_fqdnStringThe FQDN of the PCE the agent will use for future connections.
Illumio.Workloads.agent.typeStringAgent type.
Illumio.Workloads.ven.hrefStringThe URI of the VEN that manages this workload. This replaces the 'agent' field of this object.
Illumio.Workloads.ven.hostnameStringThe hostname of the host managed by the VEN, only displayed in expanded representations.
Illumio.Workloads.ven.nameStringThe friendly name of the VEN, only displayed in expanded representations.
Illumio.Workloads.ven.statusStringStatus of the VEN, only displayed in expanded representations.
Illumio.Workloads.enforcement_modeStringWorkload's enforcement mode.
Illumio.Workloads.selectively_enforced_services.hrefStringWorkload's selective enforcement mode.
Illumio.Workloads.created_atDateThe time (rfc3339 timestamp) at which this workload was created.
Illumio.Workloads.updated_atDateThe time (rfc3339 timestamp) at which this workload was last updated.
Illumio.Workloads.deleted_atDateThe time (rfc3339 timestamp) at which this workload was deleted.
Illumio.Workloads.created_by.hrefStringThe URI of the user who has created this workload.
Illumio.Workloads.updated_by.hrefStringThe URI of the user who has last updated this workload.
Illumio.Workloads.deleted_by.hrefStringThe URI of the user who has deleted this workload.
Illumio.Workloads.container_cluster.hrefStringContainer cluster URI.
Illumio.Workloads.container_cluster.nameStringContainer cluster name.
Illumio.Workloads.ike_authentication_certificateStringIKE authentication certificate for certificate-based Secure Connect and Machine Auth connections.

Command example#

!illumio-workloads-list max_results=2

Context Example#

{
"Illumio": {
"Workloads": [
{
"agent": {
"config": {
"log_traffic": false,
"mode": "illuminated",
"visibility_level": "flow_summary"
}
},
"caps": [
"write"
],
"created_at": "2022-03-14T13:16:32.82656Z",
"created_by": {
"href": "/users/22"
},
"deleted": false,
"description": "Updated by System Administrator [ven02375.service-now.com] at July 2, 2022 3:44:48 PM PDT",
"enforcement_mode": "visibility_only",
"hostname": "Perf_test 18665",
"href": "/orgs/1/workloads/f550a74a-dummy",
"online": true,
"updated_at": "2022-09-29T12:16:53.286105Z",
"updated_by": {
"href": "/users/68"
},
"visibility_level": "flow_summary"
},
{
"agent": {
"config": {
"log_traffic": false,
"mode": "selective",
"security_policy_update_mode": "adaptive",
"visibility_level": "flow_summary"
},
"href": "/orgs/1/agents/47024-dummy",
"secure_connect": {
"matching_issuer_name": ""
},
"status": {
"agent_version": "20.2.0",
"firewall_rule_count": 0,
"fw_config_current": false,
"last_heartbeat_on": "2020-10-21T23:50:44.993761Z",
"managed_since": "2020-10-21T23:50:44.473703Z",
"security_policy_sync_state": "syncing",
"status": "active",
"uptime_seconds": 0
},
"type": "Host",
"unpair_allowed": true
},
"blocked_connection_action": "drop",
"caps": [
"write"
],
"containers_inherit_host_policy": false,
"created_at": "2020-10-21T23:50:44.451732Z",
"created_by": {
"href": "/orgs/1/agents/dummy"
},
"deleted": false,
"enforcement_mode": "selective",
"hostname": "perf-workload-47024",
"href": "/orgs/1/workloads/8fc0f693-dummy",
"interfaces": [
{
"address": "ffff::fff:f:f:ffff",
"cidr_block": 64,
"loopback": false,
"name": "eth0",
"network": {
"href": "/orgs/1/networks/04ac9819-dummy"
},
"network_detection_mode": "single_private_brn"
},
{
"address": "0.0.0.0",
"cidr_block": 8,
"default_gateway_address": "10.0.0.1",
"loopback": false,
"name": "eth0",
"network": {
"href": "/orgs/1/networks/6736f2b5-dummy"
},
"network_detection_mode": "single_private_brn"
}
],
"online": false,
"os_detail": "4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 (Ubuntu 16.04.1 LTS)",
"os_id": "ubuntu-x86_64-xenial",
"public_ip": "127.0.0.1",
"updated_at": "2022-10-03T12:09:34.197911Z",
"updated_by": {
"href": "/users/68"
},
"ven": {
"href": "/orgs/1/vens/8fc0f693-dummy"
},
"visibility_level": "flow_summary"
}
]
}
}

Human Readable Output#

Workloads:#

Workload HREFHostnameDescriptionEnforcement ModeVisibility LevelIP AddressCreated AtUpdated At
/orgs/1/workloads/f550a74a-dummyPerf_test 18665Updated by System Administrator [ven02375.service-now.com] at July 2, 2022 3:44:48 PM PDTvisibility_onlyflow_summary14 Mar 2022, 01:16 PM29 Sep 2022, 12:16 PM
/orgs/1/workloads/8fc0f693-dummyperf-workload-47024selectiveflow_summary0.0.0.021 Oct 2020, 11:50 PM03 Oct 2022, 12:09 PM

illumio-enforcement-boundary-create#


Creates an enforcement boundary for a particular port/protocol. After completion of this command, provisioning will be done using the "illumio-object-provision" command.

Base Command#

illumio-enforcement-boundary-create

Input#

Argument NameDescriptionRequired
nameEnforcement boundary name.Required
portPort number.Required
protocolCommunication protocol. Possible values are: TCP, UDP. Default is TCP.Optional
providersList of HREFs of entities to be used as providers for the rule, or "ams" for all workloads. Supports comma separated values.Required
consumersList of HREFs of entities to be used as consumers for the rule, or "ams" for all workloads. Supports comma separated values.Required

Context Output#

PathTypeDescription
Illumio.EnforcementBoundary.hrefStringEnforcement boundary label URI.
Illumio.EnforcementBoundary.created_atDateEnforcement boundary creation time.
Illumio.EnforcementBoundary.updated_atDateEnforcement boundary updated time.
Illumio.EnforcementBoundary.deleted_atDateEnforcement boundary deleted time.
Illumio.EnforcementBoundary.created_by.hrefStringURI of the user who has created the enforcement boundary.
Illumio.EnforcementBoundary.updated_by.hrefStringURI of the user who has updated the enforcement boundary.
Illumio.EnforcementBoundary.deleted_by.hrefStringURI of the user who has deleted the enforcement boundary.
Illumio.EnforcementBoundary.update_typeStringType of the modification done on the enforcement boundary.
Illumio.EnforcementBoundary.nameStringName of the enforcement boundary.
Illumio.EnforcementBoundary.providers.actorsStringAll managed workloads ('ams').
Illumio.EnforcementBoundary.providers.label.hrefStringURI of the provider label.
Illumio.EnforcementBoundary.providers.label_group.hrefStringURI of the provider label group.
Illumio.EnforcementBoundary.providers.ip_list.hrefStringProviders IP list label URI.
Illumio.EnforcementBoundary.consumers.actorsStringAll managed workloads ('ams').
Illumio.EnforcementBoundary.consumers.label.hrefStringURI of the consumer label.
Illumio.EnforcementBoundary.consumers.label_group.hrefStringURI of the consumer label group.
Illumio.EnforcementBoundary.consumers.ip_list.hrefStringConsumers IP list label URI.
Illumio.EnforcementBoundary.ingress_service.portNumberPort of the ingress services.
Illumio.EnforcementBoundary.ingress_services.protoNumberProtocol of the ingress services.
Illumio.EnforcementBoundary.ingress_services.hrefStringURI of the ingress service.
Illumio.EnforcementBoundary.capsUnknownArray of permissions for the entity to the current user - an empty array implies read only access.

Command example#

!illumio-enforcement-boundary-create consumers=ams providers=ams name=trail-service-test-10002 port=8443

Context Example#

{
"Illumio": {
"EnforcementBoundary": {
"consumers": [
{
"actors": "ams"
}
],
"href": "/orgs/1/sec_policy/draft/enforcement_boundaries/dummy",
"ingress_services": [
{
"port": 8443,
"proto": 6
}
],
"name": "trail-service-test-10002",
"providers": [
{
"actors": "ams"
}
]
}
}
}

Human Readable Output#

Enforcement Boundary:#

Enforcement Boundary HREFNameIngress Services
/orgs/1/sec_policy/draft/enforcement_boundaries/dummytrail-service-test-100028443-TCP

illumio-enforcement-mode-update#


Update the Enforcement Mode for one or more workloads.

Base Command#

illumio-enforcement-mode-update

Input#

Argument NameDescriptionRequired
enforcement_modeNew enforcement mode to apply. Possible values are: Idle, Visibility_only, Selective, Full.Required
workloadsList of workload HREFs to update. Supports comma separated values.
Note: Users can retrieve the list of Href's by executing the "illumio-workloads-list" command.
Required

Context Output#

PathTypeDescription
Illumio.UpdateStatuses.hrefStringEnforcement mode update workload URI.
Illumio.UpdateStatuses.statusStringWhether the operation was successful or not.

Command example#

!illumio-enforcement-mode-update enforcement_mode=Visibility_only workloads=/orgs/1/workloads/b98b4456-e24b-4c01-a3b8-f53cd85f1fab

Context Example#

{
"Illumio": {
"UpdateStatuses": {
"href": "/orgs/1/workloads/b98b4456-dummy",
"status": "Updated"
}
}
}

Human Readable Output#

Workload Enforcement Update:#

Successfully updated enforcement mode for 1 workloads, 0 workloads failed to update#

Workload HREFStatus
/orgs/1/workloads/b98b4456-dummyUpdated

illumio-ip-list-get#


Retrieves the list of IPs based on the name of the IP list.

Base Command#

illumio-ip-list-get

Input#

Argument NameDescriptionRequired
hrefURI of the IP list.
Note: Users can retrieve the list of Href's of IP by executing the "illumio-ip-lists-get" command.
Required

Context Output#

PathTypeDescription
Illumio.IPLists.hrefStringURI of the IP list.
Illumio.IPLists.descriptionStringDescription of IP list.
Illumio.IPLists.external_data_setStringExternal data set identifier.
Illumio.IPLists.external_data_referenceStringExternal data reference identifier.
Illumio.IPLists.created_atDateTime stamp when this IP list was first created.
Illumio.IPLists.updated_atDateTime stamp when this IP List was last updated.
Illumio.IPLists.deleted_atDateTime stamp when this IP List was deleted.
Illumio.IPLists.created_by.hrefStringUser who originally created this IP List.
Illumio.IPLists.updated_by.hrefStringUser who last updated this IP List.
Illumio.IPLists.deleted_by.hrefStringUser who has deleted this IP List.
Illumio.IPLists.nameStringName (must be unique).
Illumio.IPLists.ip_ranges.descriptionStringDescription of given IP range.
Illumio.IPLists.ip_ranges.from_ipStringIP address or a low end of IP range. Might be specified with CIDR notation.
Illumio.IPLists.ip_ranges.to_ipStringHigh end of an IP range.
Illumio.IPLists.ip_ranges.exclusionStringWhether this IP address is an exclusion. Exclusions must be a strict subset of inclusive IP addresses.
Illumio.IPLists.fqdns.fqdnStringFully qualified domain name.
Illumio.IPLists.fqdns.descriptionStringDescription of FQDN.

Command example#

!illumio-ip-list-get href=/orgs/1/sec_policy/draft/ip_lists/35

Context Example#

{
"Illumio": {
"IPList": {
"created_at": "2021-05-14T08:17:05.569Z",
"created_by": {
"href": "/users/15"
},
"description": "PCE ip range",
"fqdns": [
{
"description": "2x2devtestscr1.ilabs.io fqdn description",
"fqdn": "2x2devtestscr1.ilabs.io"
}
],
"href": "/orgs/1/sec_policy/draft/ip_lists/dummy",
"ip_ranges": [
{
"description": "PCE ip tange",
"exclusion": false,
"from_ip": "127.0.0.1",
"to_ip": "127.0.0.1"
}
],
"name": "PCE ip range",
"updated_at": "2021-05-14T08:17:05.572Z",
"updated_by": {
"href": "/users/15"
}
}
}
}

Human Readable Output#

IP List Details:#

IP List HREFNameCreated AtUpdated AtIP RangesFQDNs
/orgs/1/sec_policy/draft/ip_lists/dummyPCE ip range14 May 2021, 08:17 AM14 May 2021, 08:17 AM127.0.0.1 - 127.0.0.12x2devtestscr1.ilabs.io

illumio-ip-lists-get#


Retrieves the list of IPs based on the query parameters.

Base Command#

illumio-ip-lists-get

Input#

Argument NameDescriptionRequired
descriptionDescription of IP list to return. Supports partial matches.Optional
fqdnIP lists matching fqdn. Supports partial matches.Optional
ip_addressIP address matching IP list(s) to return.Optional
max_resultsMaximum number of IP Lists to return. The value must be positive integer. High value will result in performance issue.
Note: 2500 is the optimum value. Default is 500.
Optional
nameName of IP list(s) to return. Supports partial matches.Optional

Context Output#

PathTypeDescription
Illumio.IPLists.hrefStringURI of the IP list.
Illumio.IPLists.descriptionStringDescription of IP list.
Illumio.IPLists.external_data_setStringExternal data set identifier.
Illumio.IPLists.external_data_referenceStringExternal data reference identifier.
Illumio.IPLists.created_atDateTime stamp when this IP list was first created.
Illumio.IPLists.updated_atDateTime stamp when this IP List was last updated.
Illumio.IPLists.deleted_atDateTime stamp when this IP List was deleted.
Illumio.IPLists.created_by.hrefStringUser who originally created this IP List.
Illumio.IPLists.updated_by.hrefStringUser who last updated this IP List.
Illumio.IPLists.deleted_by.hrefStringUser who has deleted this IP List.
Illumio.IPLists.nameStringName (must be unique).
Illumio.IPLists.ip_ranges.descriptionStringDescription of given IP range.
Illumio.IPLists.ip_ranges.from_ipStringIP address or a low end of IP range. Might be specified with CIDR notation.
Illumio.IPLists.ip_ranges.to_ipStringHigh end of an IP range.
Illumio.IPLists.ip_ranges.exclusionBooleanWhether this IP address is an exclusion. Exclusions must be a strict subset of inclusive IP addresses.
Illumio.IPLists.fqdns.fqdnStringFully qualified domain name.
Illumio.IPLists.fqdns.descriptionStringDescription of FQDN.

Command example#

!illumio-ip-lists-get max_results=2

Context Example#

{
"Illumio": {
"IPLists": [
{
"created_at": "2019-04-05T19:58:39.545Z",
"created_by": {
"href": "/users/0"
},
"href": "/orgs/1/sec_policy/draft/ip_lists/dummy-1",
"ip_ranges": [
{
"exclusion": false,
"from_ip": "127.0.0.1"
},
{
"exclusion": false,
"from_ip": "127.0.0.1"
}
],
"name": "Any (0.0.0.0/0 and ::/0)",
"updated_at": "2019-04-05T19:58:39.552Z",
"updated_by": {
"href": "/users/0"
}
},
{
"created_at": "2022-08-17T07:31:45.037Z",
"created_by": {
"href": "/users/65"
},
"description": "",
"href": "/orgs/1/sec_policy/draft/ip_lists/dummy-2",
"ip_ranges": [
{
"exclusion": false,
"from_ip": "0.0.0.0"
}
],
"name": "test-xyz",
"updated_at": "2022-08-17T07:31:45.040Z",
"updated_by": {
"href": "/users/65"
}
}
]
}
}

Human Readable Output#

IP Lists:#

IP List HREFNameCreated AtUpdated AtIP Ranges
/orgs/1/sec_policy/draft/ip_lists/dummy-1Any (0.0.0.0/0 and ::/0)05 Apr 2019, 07:58 PM05 Apr 2019, 07:58 PM127.0.0.1,127.0.0.1
/orgs/1/sec_policy/draft/ip_lists/dummy-2test-xyz17 Aug 2022, 07:31 AM17 Aug 2022, 07:31 AM127.0.0.1

illumio-ruleset-create#


Creates a ruleset with a unique name. Until provisioned with the 'illumio-object-provision' command, this object will remain in a draft state.

Base Command#

illumio-ruleset-create

Input#

Argument NameDescriptionRequired
nameRuleset name.Required

Context Output#

PathTypeDescription
Illumio.Ruleset.hrefStringLabel URI.
Illumio.Ruleset.created_atDateRuleset creation time.
Illumio.Ruleset.updated_atDateRuleset updation time.
Illumio.Ruleset.deleted_atDateRuleset deletion time.
Illumio.Ruleset.created_by.hrefStringURI of the user who has created the ruleset.
Illumio.Ruleset.updated_by.hrefStringURI of the user who has updated the ruleset.
Illumio.Ruleset.deleted_by.hrefStringURI of the user who has deleted the ruleset.
Illumio.Ruleset.update_typeStringType of modification done on the ruleset.
Illumio.Ruleset.nameStringName of the ruleset.
Illumio.Ruleset.descriptionStringDescription of the ruleset.
Illumio.Ruleset.enabledBooleanWhether the ruleset is enabled or not.
Illumio.Ruleset.scopesUnknownScope of the ruleset.
Illumio.Ruleset.rulesUnknownRules in the ruleset.
Illumio.Ruleset.ip_tables_rulesUnknownArray of IP table rules in the ruleset.
Illumio.Ruleset.capsUnknownArray of permissions for the entity to the current user - an empty array implies read-only access.

Command example#

!illumio-ruleset-create name=trial-ruleset-test-10002

Context Example#

{
"Illumio": {
"Ruleset": {
"caps": [
"write",
"provision"
],
"created_at": "2022-10-03T12:19:27.141Z",
"created_by": {
"href": "/users/68"
},
"enabled": true,
"href": "/orgs/1/sec_policy/draft/rule_sets/dummy",
"name": "trial-ruleset-test-10002",
"update_type": "create",
"updated_at": "2022-10-03T12:19:27.141Z",
"updated_by": {
"href": "/users/68"
}
}
}
}

Human Readable Output#

Ruleset trial-ruleset-test-10002 has been created successfully.#

Ruleset HREFNameCreated AtUpdated AtEnabledCaps
/orgs/1/sec_policy/draft/rule_sets/dummytrial-ruleset-test-1000203 Oct 2022, 12:19 PM03 Oct 2022, 12:19 PMtruewrite,
provision

illumio-rule-create#


Creates & assigns rules to a particular ruleset. Added or updated Rules will remain in draft state until their containing Rule Set is provisioned using the "illumio-object-provision" command.

Base Command#

illumio-rule-create

Input#

Argument NameDescriptionRequired
ruleset_hrefHREF of the ruleset in which to create the rule.Required
providersHREFs of entities to be used as providers for the rule. For all workloads provide "ams". Supports comma-separated values.Required
consumersHREFs of entities to be used as consumers for the rule. For all workloads provide "ams". Supports comma-separated values.Required
resolve_providers_asProvider objects the rule should apply to. Supports comma separated values.

Supported values are: 'workloads' and 'virtual_services'. Default is workloads.
Optional
resolve_consumers_asConsumer objects the rule should apply to. Supports comma separated values.

Supported values are: 'workloads' and 'virtual_services'. Default is workloads.
Optional
ingress_servicesService URIs. Supports comma separated values.Optional

Context Output#

PathTypeDescription
Illumio.Rule.hrefStringLabel URI.
Illumio.Rule.created_atDateRule creation time.
Illumio.Rule.updated_atDateRule updated time.
Illumio.Rule.deleted_atDateRule deleted time.
Illumio.Rule.created_by.hrefStringURI of the user who has created the rule.
Illumio.Rule.updated_by.hrefStringURI of the user who has updated the rule.
Illumio.Rule.deleted_byStringURI of the user who has deleted the rule.
Illumio.Rule.update_typeStringType of modification done on the rule.
Illumio.Rule.descriptionStringDescription of the rule.
Illumio.Rule.enabledBooleanWhether the rule is enabled or not.
Illumio.Rule.providers.label.hrefStringProviders label URI.
Illumio.Rule.providers.actorsStringAll workloads.
Illumio.Rule.providers.label_group.hrefStringProviders label group URI.
Illumio.Rule.providers.virtual_server.hrefStringProviders virtual server URI.
Illumio.Rule.providers.virtual_service.hrefStringProvider virtual service URI.
Illumio.Rule.providers.ip_list.hrefStringProvider ip list URI.
Illumio.Rule.providers.workload.hrefStringProvider workload URI.
Illumio.Rule.consumers.label.hrefStringConsumer label URI.
Illumio.Rule.consumers.label_group.hrefStringConsumer label group URI.
Illumio.Rule.consumers.actorsStringAll workloads.
Illumio.Rule.consumers.virtual_service.hrefStringConsumer virtual service URI.
Illumio.Rule.consumers.ip_list.hrefStringConsumer ip list URI.
Illumio.Rule.consumers.workload.hrefStringConsumer workload URI.
Illumio.Rule.consumers.virtual_server.hrefStringConsumer virtual server URI.
Illumio.Rule.consuming_security_principalsStringURI of consuming security principals.
Illumio.Rule.sec_connectBooleanWhether a secure connection is established or not.
Illumio.Rule.statelessBooleanWhether packet filtering is stateless for the rule or not.
Illumio.Rule.machine_authBooleanWhether machine authentication is enabled or not.
Illumio.Rule.unscoped_consumersBooleanWhether the scope for rule consumers is set to all or not.
Illumio.Rule.network_typeStringNetwork types to which this rule should apply to.
Illumio.Rule.ingress_services.hrefStringArray of service URI and port/protocol combinations.
Illumio.Rule.resolve_labels_as.providersStringProviders resolve labels.
Illumio.Rule.resolve_labels_as.consumersStringConsumers resolve labels.

Command example#

!illumio-rule-create ruleset_href=/orgs/1/sec_policy/draft/rule_sets/2687 consumers=ams providers=ams ingress_services=/orgs/1/sec_policy/draft/services/1751

Context Example#

{
"Illumio": {
"Rule": {
"consumers": [
{
"actors": "ams"
}
],
"created_at": "2022-10-03T12:19:36.679Z",
"created_by": {
"href": "/users/68"
},
"enabled": true,
"href": "/orgs/1/sec_policy/draft/rule_sets/2687/sec_rules/dummy",
"ingress_services": [
{
"href": "/orgs/1/sec_policy/draft/services/dummy"
}
],
"machine_auth": false,
"network_type": "brn",
"providers": [
{
"actors": "ams"
}
],
"resolve_labels_as": {
"consumers": [
"workloads"
],
"providers": [
"workloads"
]
},
"sec_connect": false,
"stateless": false,
"unscoped_consumers": false,
"update_type": "create",
"updated_at": "2022-10-03T12:19:36.691Z",
"updated_by": {
"href": "/users/68"
}
}
}
}

Human Readable Output#

Rule /orgs/1/sec_policy/draft/rule_sets/2687/sec_rules/2691 has been created successfully.#

Rule HREFCreated AtUpdated AtEnabledNetwork TypeIngress ServicesProvidersConsumersResolve Providers AsResolve Consumers As
/orgs/1/sec_policy/draft/rule_sets/2687/sec_rules/dummy03 Oct 2022, 12:19 PM03 Oct 2022, 12:19 PMtruebrn/orgs/1/sec_policy/draft/services/1751amsamsworkloadsworkloads