What are Connectors
Connectors allow Secure Workload to integrate with other resources, for various purposes including:
Connectors require a virtual appliance. For more information, see Virtual Appliances for Connectors.
Navigating to the Connectors Page
To configure and work with connectors, click
in the navigation bar at the left side of the window.Connectors for Flow Ingestion
Connectors stream flow observations from different Network switches, routers, and other middle-boxes (such as load balancers and firewalls) to Secure Workload for flow ingestion.
Secure Workload supports flow ingestion through NetFlow v9, IPFIX, and custom protocols. In addition to flow observations, middle-box connectors actively stitch client-side and server-side flows to understand which client flows are related to which server flows.
Connector |
Description |
Deployed on Virtual Appliance |
---|---|---|
NetFlow |
Collect NetFlow V9 and/or IP-FIX telemetry from network devices such as routers and switches. |
Secure Workload Ingest |
F5 BIG-IP |
Collect telemetry from F5 BIG-IP, stitch client, and server side flows, enrich client inventory with user attributes. |
Secure Workload Ingest |
Citrix NetScaler |
Collect telemetry from Citrix ADC, stitch client, and server side flows. |
Secure Workload Ingest |
Cisco Secure Connector Firewall |
Collect telemetry data from Secure Firewall ASA, Secure Firewall Threat Defense, stitch client, and server side flows. |
Secure Workload Ingest |
Meraki |
Collect telemetry data from Meraki firewalls. |
Secure Workload Ingest |
ERSPAN |
Collect ERSPAN telemetry data from network devices which support ERSPAN |
Secure Workload Ingest |
See also |
– |
For more information about required virtual appliances, see Virtual Appliances for Connectors.
NetFlow Connector
NetFlow connector allows Secure Workload to ingest flow observations from routers and switches in the network.
This solution enables the hosts to avoid running software agents since the Cisco switches relay NetFlow records to a NetFlow connector hosted in a Secure Workload Ingest appliance for processing.
![NetFlow connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467238.jpg)
What is NetFlow
NetFlow protocol allows routers and switches to aggregate traffic passing through them into flows and export these flows to a flow collector.
The flow collector receives these flow records and stores them in their flow storage for offline querying and analysis. Cisco routers and switches support NetFlow.
Typically, the setup involves the following steps:
-
Enable the NetFlow feature on one or more network devices and configure the flow templates that devices should export.
-
Configure the NetFlow collector endpoint information on the remote network devices. This NetFlow collector is listening on the configured endpoint to receive and process NetFlow flow records.
Flow Ingestion to Secure Workload
NetFlow connector is essentially a NetFlow collector. The connector receives the flow records from the network devices and forwards them to Secure Workload for flow analysis. You can enable a NetFlow connector on a Secure Workload Ingest appliance and run it as a Docker container.
NetFlow connector also registers with Secure Workload as a Secure Workload NetFlow agent. NetFlow connector decapsulates the NetFlow protocol packets (that is, flow records); then processes and reports the flows like a regular Secure Workload agent. Unlike a Deep Visibility Agent, it does not report any process or interface information.
![]() Note |
NetFlow connector supports NetFlow v9 and IPFIX protocols. |
![]() Note |
Each NetFlow connector should report only flows for one VRF. The connector exports the flows and places them in the VRF based on the Agent VRF configuration in the Secure Workload cluster. To configure the VRF for the connector, choose Configuration tab. In this page, under the Agent Remote VRF Configurations section, click Create Config and provide the details about the connector. and click theThe form requests you to provide: the name of the VRF, the IP subnet of the connector, and the range of port numbers that can potentially send flow records to the cluster. |
Rate Limiting
NetFlow connector accepts up to 15000 flows per second. Note that a given NetFlow v9 or IPFIX packet could contain one or more flow and template records. NetFlow connector parses the packets and identifies the flows. If the connector parses more than 15000 flows per second, it drops the additional flow records.
Also note the Secure Workload customer supports the NetFlow connector only if the flow rate is within this acceptable limit.
If the flow rate exceeds 15000 flows per second, we recommend first adjusting the flow rate to fall within the limits, and maintaining this level for at least three days (to rule out issues related to higher incoming flow rate).
If the original issue persists, customer support starts to investigate the issue and identify proper workaround and/or solution.
Supported Information Elements
NetFlow connector only supports the following information elements in NetFlow v9 and IPFIX protocols. For more information, see IP Flow Information Export (IPFIX) Entities.
Element ID |
Name |
Description |
Mandatory |
---|---|---|---|
1 |
octetDeltaCount |
Number of octets in incoming packets for this flow. |
Yes |
2 |
packetDeltaCount |
Number of incoming packets for this flow. |
Yes |
4 |
protocolIdentifier |
The value of the protocol number in the IP packet header. |
Yes |
6 |
tcpControlBits |
TCP control bits observed for packets of this flow. The agent handles FIN, SYN, RST, PSH, ACK, and URG flags. |
No |
7 |
sourceTransportPort |
The source port identifier in the transport header. |
Yes |
8 |
sourceIPv4Address |
The IPv4 source address in the IP packet header. |
Either 8 or 27 |
11 |
destinationTransportPort |
The destination port identifier in the transport header. |
Yes |
12 |
destinationIPv4Address |
The IPv4 destination address in the IP packet header. |
Either 12 or 28 |
27 |
sourceIPv6Address |
The IPv6 source address in the IP packet header. |
Either 8 or 27 |
28 |
destinationIPv6Address |
The IPv6 destination address in the IP packet header. |
Either 12 or 28 |
150 |
flowStartSeconds |
The absolute timestamp of the first packet of the flow (in seconds). |
No |
151 |
flowEndSeconds |
The absolute timestamp of the last packet of the flow (in seconds). |
No |
152 |
flowStartMilliseconds |
The absolute timestamp of the first packet of the flow (in milliseconds). |
No |
153 |
flowEndMilliseconds |
The absolute timestamp of the last packet of the flow (in milliseconds). |
No |
154 |
flowStartMicroseconds |
The absolute timestamp of the first packet of the flow (in microseconds). |
No |
155 |
flowEndMicroseconds |
The absolute timestamp of the last packet of the flow (in microseconds). |
No |
156 |
flowStartNanoseconds |
The absolute timestamp of the first packet of the flow (in nanoseconds). |
No |
157 |
flowEndNanoseconds |
The absolute timestamp of the last packet of the flow (in nanoseconds). |
No |
How to configure NetFlow on the Switch
The following steps are for a Nexus 9000 switch. The configurations may slightly differ for other Cisco platforms. In any case, refer to the official Cisco configuration guide for the Cisco platform you're configuring.
Procedure
Step 1 |
Enter global configuration mode.
|
Step 2 |
Enable NetFlow feature.
|
Step 3 |
Configure a flow record. The following example configuration shows how to generate five tuple information of a flow in a NetFlow record.
|
Step 4 |
Configure a flow exporter. The following example configuration specifies the NetFlow protocol version, NetFlow template exchange interval, and NetFlow collector endpoint details. Specify the IP and port on which you enable the NetFlow connector on a Secure Workload Ingest appliance.
|
Step 5 |
Configure a flow monitor. Create a flow monitor and associate it with a flow record and flow exporter.
|
Step 6 |
Apply the flow monitor to an interface.
The above steps configure NetFlow on the Nexus 9000 to export NetFlow v9 protocol packets for ingress traffic going through interface 1/1. It sends the flow records to 172.26.230.173:4729 over a UDP protocol. Each flow record includes five tuple information of the traffic and the byte/packet count of the flow. ![]() |
How to Configure the Connector
For information about required virtual appliances, see Virtual Appliances for Connectors. For NetFlow connectors, IPv4 and IPv6 (dual stack mode) addresses are supported. However, do note that dual stack support is a BETA feature.
The following configurations are allowed on the connector.
-
Log: For more information, see Log Configuration .
In addition, the listening ports of IPFIX protocol on the connector can be updated on the Docker container in Secure Workload Ingest appliance using an allowed command. This command can be issued on the appliance by providing the connector ID of the connector, type of the port to be update, and the new port information. The connector ID can be found on the connector page in Secure Workload UI. For more information, see update-listening-ports.
Limits
Metric |
Limit |
---|---|
Maximum number of NetFlow connectors on single Secure Workload Ingest appliance |
3 |
Maximum number of NetFlow connectors on one Tenant (root scope) |
10 |
Maximum number of NetFlow connectors on Secure Workload |
100 |
F5 Connector
The F5 connector allows Secure Workload to ingest flow observations from F5 BIG-IP ADCs.
It allows Secure Workload to remotely monitor of flow observations on F5 BIG-IP ADCs, stitching client-side and server-side flows, and annotating users on the client IPs (if user information is available).
Using this solution, the hosts don’t need to run software agents because F5 BIG-IP ADCs configure the export of IPFIX records to the F5 connector for processing.
![F5 connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467240.jpg)
What is F5 BIG-IP IPFIX
F5 BIG-IP IPFIX logging collects flow data for traffic going through the F5 BIG-IP and exports IPFIX records to flow collectors.
Typically, the setup involves the following steps:
-
Create the IPFIX Log-Publisher on the F5 BIG-IP appliance.
-
Configure the IPFIX Log-Destination on the F5 BIG-IP appliance. This log-destination listens on the configured endpoint to receive and process flow records.
-
Create an F5 iRule that publishes IPFIX flow records to the log-publisher.
-
Add the F5 iRule to the virtual server of interest.
Note
F5 connector supports F5 BIG-IP software version 12.1.2 and above.
Flow Ingestion to Secure Workload
F5 BIG-IP connector is essentially an IPFIX collector. The connector receives the flow records from F5 BIG-IP ADCs, stitch the NATed flows, and forwards them to Secure Workload for flow analysis. In addition, if LDAP configuration is provided to the F5 connector, it determines values for configured LDAP attributes of a user associated with the transaction (if F5 authenticates the user before processing the transaction). The attributes are associated to the client IP address where the flow happened.
![]() Note |
F5 connector supports only the IPFIX protocol. |
![]() Note |
Each F5 connector reports only flows for one VRF. The connector puts the flows it exports into the VRF based on the Agent VRF configuration in the Cisco Secure Workload cluster. To configure the VRF for the connector, choose Configuration tab. In this page, under the Agent Remote VRF Configurations section, click the Create Config and provide the details about the connector. The form requests you to provide: the name of the VRF, the IP subnet of the connector, and the range of port numbers that can potentially send flow records to the cluster. and click the |
How to configure IPFIX on F5 BIG-IP
The following steps are for F5 BIG-IP load balancer. (Ref: Configuring F5 BIG-IP for IPFIX)
Purpose |
Description |
---|---|
1. Create a pool of IPFIX collectors. |
On a F5 BIG-IP appliance, create the pool of IPFIX collectors. These are the IP addresses associated with F5 connectors on a Secure Workload Ingest appliance. F5 connectors run in Docker containers on the VM listen on port 4739 for IPFIX packets. |
2. Create a log-destination. |
The log destination configuration on a F5 BIG-IP appliance specifies the actual pool of IPFIX collectors that are used. |
3. Create a log-publisher. |
A log publisher specifies where F5 BIG-IP sends the IPFIX messages. The publisher is bound with a log-destination. |
4. Add a F5 and Secure Workload approved iRule. |
Secure Workload and F5 developed iRules that will export flow records to F5 connectors. These iRules will export complete information about a given transaction: including all the endpoints, byte and packet counts, flow start and end time (in milliseconds). F5 connectors will create 4 independent flows and match each flow with its related flow. |
5. Add the iRule to the virtual server. |
In the iRule settings of a virtual server, add the Secure Workload, approved iRule to the virtual server. |
The above steps configures IPFIX on F5 BIG-IP load balancer to export IPFIX protocol packets for traffic going through the appliance. Here is a sample config of F5.
![Running configuration of IPFIX on F5 BIG-IP load balancer](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467241.jpg)
In the example above, flow records will be published to ipfix-pub-1. ipfix-pub-1 is configured with log-destination ipfix-collector-1 which sends the IPFIX messages to IPFIX pool ipfix-pool-1. ipfix-pool-1 has 10.28.118.6 as one of the IPFIX collectors. The virtual server vip-1 is configured with IPFIX iRule ipfix-rule-1 which specifies the IPFIX template and how the template gets filled and sent.
-
F5 and Secure Workload approved iRule for TCP virtual server. For more information, see L4 iRule for TCP virtual server.
-
F5 and Secure Workload approved iRule for UDP virtual server. For more information, see L4 iRule for UDP virtual server.
-
F5 and Secure Workload approved iRule for HTTPS virtual server. For more information, see iRule for HTTPS virtual server.
![]() Note |
Before using the iRule downloaded from this guide, update the log-publisher to point to the log-publisher configured in the F5 connector where you add the iRule. |
![]() Note |
F5 has published a GitHub repository, f5-tetration to help you to start with flow-stitching. The iRules for publishing IPFIX records to the F5 connector for various protocol types are available at: f5-tetration/irules. Visit the site for the latest iRule definitions. In addition, F5 also develops a script to:
This tool minimizes manual configuration and user error while enabling flow-stitching use-case. The script is available at f5-tetration/scripts. |
How to Configure the Connector
For information about required virtual appliances, see Virtual Appliances for Connectors.
The following configurations are allowed on the connector.
-
LDAP: LDAP configuration supports discovery of LDAP attributes and provide a workflow to pick the attribute that corresponds to username and a list of up to 6 attributes to fetch for each user. For more information, see Discovery.
-
Log: For more information, see Log Configuration .
In addition, the listening ports of IPFIX protocol on the connector can be updated on the Docker container in Secure Workload Ingest appliance using a command that is allowed to be run on the container. This command can be issued on the appliance by providing the connector ID of the connector, type of the port to be update, and the new port information. The connector ID can be found on the connector page in Secure Workload UI. For more information, see update-listening-ports.
Limits
Metric |
Limit |
---|---|
Maximum number of F5 connectors on one Secure Workload Ingest appliance |
3 |
Maximum number of F5 connectors on one Tenant (rootscope) |
10 |
Maximum number of F5 connectors on Secure Workload |
100 |
NetScaler Connector
NetScaler connector allows Secure Workload to ingest flow observations from Citrix ADCs (Citrix NetScalers). It allows Secure Workload to remotely monitor flow observations on Citrix ADCs and stitch client-side and server-side flows. Using this solution, the hosts do not need to run software agents, because Citrix ADCs will be configured to export IPFIX records to NetScaler connector for processing.
![NetScaler connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467242.jpg)
What is Citrix NetScaler AppFlow
Citrix NetScaler AppFlow collects flow data for traffic going through the NetScaler and exports IPFIX records to flow collectors. Citrix AppFlow protocol uses IPFIX to export the flows to flow collectors. Citrix AppFlow is supported in Citrix NetScaler load balancers.
Typically, the setup involves the following steps:
-
Enable AppFlow feature on one or more Citrix NetScaler instances.
-
Configure the AppFlow collector endpoint information on the remote network devices. This AppFlow collector will be listening on configured endpoint to receive and process flow records.
-
Configure AppFlow actions and policies to export flow records to AppFlow collectors.
![]() Note |
NetScaler connector supports Citrix ADC software version 11.1.51.26 and above. |
Flow Ingestion to Secure Workload
NetScaler connector is essentially a Citrix AppFlow (IPFIX) collector. The connector receives the flow records from Citrix ADCs, stitch the NATed flows and forwards them to Secure Workload for flow analysis. A NetScaler connector can be enabled on a Cisco Secure Workload Ingest appliance and runs as a Docker container. NetScaler connector also registers with Secure Workload as a Secure Workload NetScaler agent.
![]() Note |
NetScaler connector supports only IPFIX protocol. |
![]() Note |
Each NetScaler connector should report only flows for one VRF. The flows exported by the connector is put in the VRF based on the Agent VRF configuration in the Secure Workload cluster. To configure the VRF for the connector, go to: and click the Configuration tab. In this page, under Agent Remote VRF Configurations section, click Create Config and provide the details about the connector. The form requests the user to provide: the name of the VRF, IP subnet of the connector, and range of port numbers that can potentially send flow records to the cluster. |
How to configure AppFlow on NetScaler
The following steps are for NetScaler load balancer. (Ref: Configuring AppFlow)
Procedure
Step 1 |
Enable AppFlow on NetScaler.
|
Step 2 |
Add AppFlow collector endpoints. The collector receives the AppFlow records from NetScaler. Specify the IP and port of NetScaler connector enabled on a Secure Workload Ingest appliance as an AppFlow collector.
|
Step 3 |
Configure an AppFlow action. This lists the collectors that will get AppFlow records if the associated AppFlow policy matches.
|
Step 4 |
Configure an AppFlow policy. This is a rule that has to match for an AppFlow record to be generated.
|
Step 5 |
Bind AppFlow policy to Virtual Server. Traffic hitting the IP of the virtual server (VIP) will be evaluated for AppFlow policy matches. On a match, a flow record is generated and sent to all collectors listed in the associated AppFlow action.
|
Step 6 |
Optionally, bind AppFlow policy globally (for all virtual servers). An AppFlow policy could also be bound globally to all virtual servers. This policy applies to all traffic that flows through Citrix ADC.
|
Step 7 |
Optionally, template refresh interval.
The above steps configures AppFlow on Citrix NetScaler load balancer to export IPFIX protocol packets for traffic going through NetScaler. The flow records will be sent to either 172.26.230.173:4739 (for traffic going through vserver lb1) and to 172.26.230.184:4739 (for all traffic going through the NetScaler). Each flow record includes 5 tuple information of the traffic and the byte/packet count of the flow. The following screenshot shows a running configuration of AppFlow on a Citrix NetScaler load balancer. ![]() |
How to Configure the Connector
For information about required virtual appliances, see Virtual Appliances for Connectors. The following configurations are allowed on the connector.
-
Log: . For more information, see Log Configuration .
In addition, the listening ports of IPFIX protocol on the connector can be updated on the Docker container in Secure Workload Ingest appliance using a an allowed command. This command can be issued on the appliance by providing the connector ID of the connector, type of the port to be update, and the new port information. The connector ID can be found on the connector page in Secure Workload UI. . For more information, see update-listening-ports.
Limits
Metric |
Limit |
---|---|
Maximum number of NetScaler connectors on one Secure Workload Ingest appliance |
3 |
Maximum number of NetScaler connectors on one Tenant (rootscope) |
10 |
Maximum number of NetScaler connectors on Secure Workload |
100 |
Cisco Secure Firewall Connector
Secure Firewall Connector (formerly known as ASA Connector) allows Secure Workload to ingest flow observations from Secure Firewall ASA (formerly known as Cisco ASA) and Secure Firewall Threat Defense (formerly known as Firepower Threat Defense or FTD). Using this solution, the hosts do not need to run software agents, because the Cisco switches will relay NetFlow Secure Event Logging (NSEL) records to Secure Firewall Connector hosted in a Secure Workload Ingest appliance for processing.
![Secure Firewall Connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467244.jpg)
Cisco Secure Firewall ASA NetFlow Secure Event Logging (NSEL) provides a stateful, IP flow monitoring that exports significant events in a flow to a NetFlow collector. When an event causes a state change on a flow, an NSEL event is triggered that sends the flow observation along with the event that caused the state change to the NetFlow collector. The flow collector receives these flow records and stores them in their flow storage for offline querying and analysis.
Typically, the setup involves the following steps:
-
Enable NSEL feature on Secure Firewall ASA and/or Secure Firewall Threat Defense.
-
Configure the Secure Firewall connector endpoint information on Secure Firewall ASA and/or Secure Firewall Threat Defense. Secure Firewall connector will be listening on configured endpoint to receive and process NSEL records.
Flow Ingestion to Secure Workload
Secure Firewall connector is essentially a NetFlow collector. The connector receives the NSEL records from Secure Firewall ASA and Secure Firewall Threat Defense, and forwards them to Secure Workload for flow analysis. Secure Firewall connector can be enabled on a Secure Workload Ingest appliance and runs as a Docker container.
Secure Firewall connector also registers with Secure Workload as a Secure Workload agent. Secure Firewall connector decapsulates the NSEL protocol packets (i.e., flow records); then processes and reports the flows like a regular Secure Workload agent. Unlike a Deep Visibility Agent, it does not report any process or interface information.
![]() Note |
Secure Firewall connector supports NetFlow v9 protocol. |
![]() Note |
Each Secure Firewall connector should report only flows for one VRF. The flows exported by the connector is put in the VRF based on the Agent VRF configuration in Secure Workload cluster. To configure the VRF for the connector, go to: and click the Configuration tab. In this page, under Agent Remote VRF Configurations section, click Create Config and provide the details about the connector. The form requests the user to provide: the name of the VRF, IP subnet of the connector, and range of port numbers that can potentially send flow records to the cluster. |
Handling NSEL Events
The following table shows how various NSEL events are handled by Secure Firewall connector. For more information about these elements, see IP Flow Information Export (IPFIX) Entities document.
Flow Event Element ID: 233 Element Name: NF_F_FW_EVENT |
Extended Flow Event Element ID: 33002 Element Name: NF_F_FW_EXT_EVENT |
Action on Secure Firewall connector |
---|---|---|
0 (default, ignore this value) |
Don’t care |
No op |
1 (Flow created) |
Don’t care |
Send flow to Secure Workload |
2 (Flow deleted) |
> 2000 (indicates the termination reason) |
Send flow to Secure Workload |
3 (Flow denied) |
1001 (denied by ingress ACL) |
Send flow with disposition marked as rejected to Secure Workload |
1002 (denied by egress ACL) |
||
1003 (denied connection by ASA interface or denied ICMP(v6) to device) |
||
1004 (first packet on TCP is not SYN) |
||
4 (Flow alert) |
Don’t care |
No op |
5 (Flow updated) |
Don’t care |
Send flow to Secure Workload |
Based on the NSEL record, Secure Firewall connector sends flow observation to Secure Workload. NSEL flow records are bidirectional. So, Secure Firewall connector sends 2 flows: forward flow and reverse flow to Secure Workload.
Here are the details about flow observation sent by Secure Firewall connector to Secure Workload.
Forward Flow observation
Field |
NSEL Element ID |
NSEL Element Name |
---|---|---|
Protocol |
4 |
NF_F_PROTOCOL |
Source Address |
8 |
NF_F_SRC_ADDR_IPV4 |
27 |
NF_F_SRC_ADDR_IPV6 |
|
Source Port |
7 |
NF_F_SRC_PORT |
Destination Address |
12 |
NF_F_DST_ADDR_IPV4 |
28 |
NF_F_DST_ADDR_IPV6 |
|
Destination Port |
11 |
NF_F_DST_PORT |
Flow Start Time |
152 |
NF_F_FLOW_CREATE_TIME_MSEC |
Byte Count |
231 |
NF_F_FWD_FLOW_DELTA_BYTES |
Packet Count |
298 |
NF_F_FWD_FLOW_DELTA_PACKETS |
Reverse Flow Information
Field |
NSEL Element ID |
NSEL Element Name |
---|---|---|
Protocol |
4 |
NF_F_PROTOCOL |
Source Address |
12 |
NF_F_DST_ADDR_IPV4 |
28 |
NF_F_DST_ADDR_IPV6 |
|
Source Port |
11 |
NF_F_DST_PORT |
Destination Address |
8 |
NF_F_SRC_ADDR_IPV4 |
27 |
NF_F_SRC_ADDR_IPV6 |
|
Destination Port |
7 |
NF_F_SRC_PORT |
Flow Start Time |
152 |
NF_F_FLOW_CREATE_TIME_MSEC |
Byte Count |
232 |
NF_F_REV_FLOW_DELTA_BYTES |
Packet Count |
299 |
NF_F_REV_FLOW_DELTA_PACKETS |
NAT
If the client to ASA flow is NATed, NSEL flow records indicate the NATed IP/port on the server side. Secure Firewall connector uses this information to stitch server to ASA and ASA to client flows.
Here is the NATed flow record in the forward direction.
Field |
NSEL Element ID |
NSEL Element Name |
---|---|---|
Protocol |
4 |
NF_F_PROTOCOL |
Source Address |
225 |
NF_F_XLATE_SRC_ADDR_IPV4 |
281 |
NF_F_XLATE_SRC_ADDR_IPV6 |
|
Source Port |
227 |
NF_F_XLATE_SRC_PORT |
Destination Address |
226 |
NF_F_XLATE_DST_ADDR_IPV4 |
282 |
NF_F_XLATE_DST_ADDR_IPV6 |
|
Destination Port |
228 |
NF_F_XLATE_DST_PORT |
Flow Start Time |
152 |
NF_F_FLOW_CREATE_TIME_MSEC |
Byte Count |
231 |
NF_F_FWD_FLOW_DELTA_BYTES |
Packet Count |
298 |
NF_F_FWD_FLOW_DELTA_PACKETS |
The forward flow will be marked as related to the NATed flow record in the forward direction (and vice versa)
Here is the NATed flow record in the reverse direction
Field |
NSEL Element ID |
NSEL Element Name |
---|---|---|
Protocol |
4 |
NF_F_PROTOCOL |
Source Address |
226 |
NF_F_XLATE_DST_ADDR_IPV4 |
282 |
NF_F_XLATE_DST_ADDR_IPV6 |
|
Source Port |
228 |
NF_F_XLATE_DST_PORT |
Destination Address |
225 |
NF_F_XLATE_SRC_ADDR_IPV4 |
281 |
NF_F_XLATE_SRC_ADDR_IPV6 |
|
Destination Port |
227 |
NF_F_XLATE_SRC_PORT |
Flow Start Time |
152 |
NF_F_FLOW_CREATE_TIME_MSEC |
Byte Count |
232 |
NF_F_REV_FLOW_DELTA_BYTES |
Packet Count |
299 |
NF_F_REV_FLOW_DELTA_PACKETS |
The reverse flow will be marked as related to the NATed flow record in the reverse direction (and vice versa).
![]() Note |
Only NSEL element IDs listed in this section are supported by Secure Firewall connector. |
TCP Flags Heuristics
The NSEL records do not have TCP flags information. The Secure Firewall connector uses the following heuristics to set the TCP flags so that the flows can be further analyzed by automatic policy discovery:
-
If there are at least one forward packets, adds
SYN
to the forward flow TCP flags. -
If there are at least two forward packets and one reverse packet, adds
ACK
to the forward flow TCP flags andSYN-ACK
to the reverse flow TCP flags. -
If the previous condition holds true and the flow event is Flow deleted, adds
FIN
to both forward and reverse TCP flags.
How to Configure NSEL on Secure Firewall ASA
The following steps are guidelines on how to configure NSEL and export NetFlow packets to a collector (i.e., Secure Firewall connector). For more information, see the official Cisco configuration guide at Cisco Secure Firewall ASA NetFlow Implementation Guide for more details.
flow-export destination outside 172.29.142.27 4729
flow-export template timeout-rate 1
!
policy-map flow_export_policy
class class-default
flow-export event-type flow-create destination 172.29.142.27
flow-export event-type flow-teardown destination 172.29.142.27
flow-export event-type flow-denied destination 172.29.142.27
flow-export event-type flow-update destination 172.29.142.27
user-statistics accounting
service-policy flow_export_policy global
In this example, Secure Firewall ASA appliance is configured to sent NetFlow packets to 172.29.142.27 on port 4729. In addition, flow-export actions are enabled on flow-create, flow-teardown, flow-denied, and flow-update events. When these flow events occur on ASA, a NetFlow record is generated and sent to the destination specified in the configuration.
Assuming a Secure Firewall connector is enabled on Secure Workload and listening on 172.29.142.27:4729 in a Secure Workload Ingest appliance, the connector will receive NetFlow packets from Secure Firewall ASA appliance. The connector processes the NetFlow records as discussed in Handling NSEL Events and exports flow observations to Secure Workload. In addition, for NATed flows, the connector stitches the related flows (client-side and server-side) flows.
How to Configure the Connector
For information about required virtual appliances, see Virtual Appliances for Connectors. The following configurations are allowed on the connector.
-
Log: For more information, see Log Configuration .
In addition, the listening ports of IPFIX protocol on the connector can be updated on the Docker container in Secure Workload Ingest appliance using a an allowed command. This command can be issued on the appliance by providing the connector ID of the connector, type of the port to be update, and the new port information. The connector ID can be found on the connector page in Secure Workload UI. For more information, see update-listening-ports.
Limits
Metric |
Limit |
---|---|
Maximum number of Secure Firewall connectors on one Secure Workload Ingest appliance |
1 |
Maximum number of Secure Firewall connectors on one Tenant (rootscope) |
10 |
Maximum number of Secure Firewall connectors on Secure Workload |
100 |
Meraki Connector
Meraki connector allows Secure Workload to ingest flow observations from Meraki firewalls (included in Meraki MX security appliances and wireless access points). Using this solution, the hosts do not need to run software agents, because the Cisco switches will relay NetFlow records to Meraki connector hosted in a Secure Workload Ingest appliance for processing.
![Meraki connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467245.jpg)
What is NetFlow
NetFlow protocol allows network devices such as Meraki Firewall to aggregate traffic that passes through them into flows and export these flows to a flow collector. The flow collector receives these flow records and stores them in their flow storage for offline querying and analysis.
Typically, the setup involves the following steps:
-
Enable NetFlow statistics reporting on Meraki Firewall.
-
Configure the NetFlow collector endpoint information on Meraki Firewall.
Flow Ingestion to Secure Workload
Meraki connector is essentially a NetFlow collector. The connector receives the flow records from the Meraki firewalls that are configured to export NetFlow traffic statistics. It processes the NetFlow records and sends the flow observations reported by Meraki firewalls to Secure Workload for flow analysis. A Meraki connector can be enabled on a Secure Workload Ingest appliance and runs as a Docker container.
Meraki connector also registers with Secure Workload as a Secure Workload Meraki agent. Meraki connector decapsulates the NetFlow protocol packets (i.e., flow records); then processes and reports the flows like a regular Secure Workload agent. Unlike a Deep Visibility Agent, it does not report any process or interface information.
![]() Note |
Meraki connector supports NetFlow v9 protocol. |
![]() Note |
Each Meraki connector should report only flows for one VRF. The flows exported by the connector is put in the VRF based on the Agent VRF configuration in Secure Workload cluster. To configure the VRF for the connector, go to: and click the Configuration tab. In this page, under Agent Remote VRF Configurations section, click Create Config and provide the details about the connector. The form requests the user to provide: the name of the VRF, IP subnet of the connector, and range of port numbers that can potentially send flow records to the cluster. |
Handling NetFlow Records
Based on the NetFlow record, Meraki connector sends flow observation to Secure Workload. Meraki NetFlow flow records are bidirectional. So, Meraki connector sends 2 flows: forward flow and reverse flow to Secure Workload.
Here are the details about flow observation sent by Meraki connector to Secure Workload.
Forward Flow observation
Field |
Element ID |
Element Name |
---|---|---|
Protocol |
4 |
protocolIdentifier |
Source Address |
8 |
sourceIPv4Address |
Source Port |
7 |
sourceTransportPort |
Destination Address |
12 |
destinationIPv4Address |
Destination Port |
11 |
destinationTransportPort |
Byte Count |
1 |
octetDeltaCount |
Packet Count |
2 |
packetDeltaCount |
Flow Start Time |
Set based on when the NetFlow record for this flow is received on the connector |
Reverse Flow Information
Field |
Element ID |
|
---|---|---|
Protocol |
4 |
protocolIdentifier |
Source Address |
8 |
sourceIPv4Address |
Source Port |
7 |
sourceTransportPort |
Destination Address |
12 |
destinationIPv4Address |
Destination Port |
11 |
destinationTransportPort |
Byte Count |
23 |
postOctetDeltaCount |
Packet Count |
24 |
postPacketDeltaCount |
Flow Start Time |
Set based on when the NetFlow record for this flow is received on the connector |
How to configure NetFlow on Meraki Firewall
The following steps show how to configure NetFlow reporting on Meraki Firewall.
Procedure
Step 1 |
Login to Meraki UI console. |
Step 2 |
Navigate to NetFlow traffic reporting and make sure the value is set to Enabled: send NetFlow traffic statistics. . In Reporting settings, enable |
Step 3 |
Set NetFlow collector IP and NetFlow collector port to the IP and port on which Meraki connector is listening in Secure Workload Ingest appliance. Default port on which Meraki connector listens for NetFlow records is 4729. |
Step 4 |
Save the changes. ![]() |
How to Configure the Connector
For information about required virtual appliances, see Virtual Appliances for Connectors. The following configurations are allowed on the connector.
-
Log: For more information, see Log Configuration .
In addition, the listening ports of NetFlow v9 protocol on the connector can be updated on the Docker container in Secure Workload Ingest appliance using an allowed command. This command can be issued on the appliance by providing the connector ID of the connector, type of the port to be update, and the new port information. The connector ID can be found on the connector page in Secure Workload UI. For more information, see update-listening-ports.
Limits
Metric |
Limit |
---|---|
Maximum number of Meraki connectors on one Secure Workload Ingest appliance |
1 |
Maximum number of Meraki connectors on one Tenant (rootscope) |
10 |
Maximum number of Meraki connectors on Secure Workload |
100 |
ERSPAN Connector
ERSPAN connector allows Secure Workload to ingest flow observations from routers and switches in the network. Using this solution, the hosts do not need to run software agents, because the Cisco switches will relay the hosts’ traffic to the ERSPAN connector for processing.
What is ERSPAN
Encapsulated Remote Switch Port Analyzer (ERSPAN) is a feature present in most of Cisco switches. It mirrors frames seen by a network device, encapsulates them in a IP packet and sends them to a remote analyzer. Users can select a list of interfaces and/or VLANS on the switch to be monitored.
Commonly, the setup involves configuring source ERSPAN monitoring session(s) on one or more network devices and configuring the destination ERSPAN monitoring session(s) on the remote network device(s) directly connected to a traffic analyzer.
The Secure Workload ERSPAN connector provides both the destination ERSPAN session and traffic analyzer functionalities; therefore there is no need to configure any destination sessions on the switches with the Secure Workload solution.
What are the SPAN Agents
Each ERSPAN connector registers a SPAN agent with the cluster. The Secure Workload SPAN agents are regular Secure Workload agents configured to only process ERSPAN packets: Like Cisco destination ERSPAN sessions, they decapsulate the mirrored frames; then they process and report the flows like a regular Secure Workload agent. Unlike Deep Visibility Agents, they do not report any process or interface information.
What is the Ingest Appliance for ERSPAN
The Secure Workload Ingest appliance for ERSPAN is a VM that internally runs three ERSPAN Secure Workload connectors. It uses the same OVA or QCOW2 as the normal Ingest appliance.
Each connector runs inside a dedicated Docker container to which one vNIC and two vCPU cores with no limiting quota are exclusively assigned.
The ERSPAN connector register a SPAN agent with the cluster with the container hostname: <VM hostname>-<interface IP address>.
The connectors and agents are preserved/restored upon VM, Docker daemon or Docker container crash/reboot.
![]() Note |
The ERSPAN connector’s status will be reported back to the Connector page. See the Agent List page and check the corresponding SPAN agents state. |
For more information about required virtual appliances, see Virtual Appliances for Connectors. For ERSPAN connectors, IPv4 and IPv6 (dual stack mode) addresses are supported. However, do note that dual stack support is a BETA feature.
How to configure the source ERSPAN session
The following steps are for a Nexus 9000 switch. The configurations may slightly differ for other Cisco platforms. For configuring a Cisco platform, see the Cisco Secure Workload User Guide.
![Configuring ERSPAN source on Cisco Nexus 9000](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467247.jpg)
The above steps created a source ERSPAN session with id 10. The switch will mirror the frames ingressing and egressing (both) the interface eth1/23 and the ones on VLANS 315 and 512. The outer GRE packet carrying the mirrored frame will have source IP 172.28.126.1 (must be the address of a L3 interface on this switch) and destination IP 172.28.126.194. This is one of the IP addresses configured on the ERSPAN VM.
Supported ERSPAN formats
The Secure Workload SPAN Agents can process ERSPAN type I, II and III packets described in the proposed ERSPAN RFC. Therefore they can process ERSPAN packets generated by Cisco devices. Among the non RFC compliant formats, they can process the ERSPAN packets generated by VMware vSphere Distributed Switch (VDS).
Performance considerations when configuring ERSPAN source
Carefully choose the ERSPAN source’s port/VLAN list. Although the SPAN agent has two dedicated vCPUs, the session may generate considerable amount of packets which could saturate the processing power of the agent. If an agent is receiving more packets than it can process, it will be shown in the Agent Packet Misses graph on the cluster’s Deep Visibility Agent page.
More fine grained tuning on which frames the ERSPAN source will mirror can be achieved with ACL policies, usually via the filter configuration keyword.
If the switch supports it, the ERSPAN source session can be configured to modify the maximum transport unit (MTU) of the ERSPAN packet (commonly the default value 1500 bytes), usually via a mtu keyword. Deacreasing it will limit the ERSPAN bandwidth usage in your network infrastructure, but it will have no effect on the SPAN Agent load, given the agent’s workload is on a per-packet basis. When reducing this value, allow room for 160 bytes for the mirrored frame. For the ERSPAN header overhead details, see the proposed ERSPAN RFC.
There are three versions of ERSPAN. The smaller the version, the lower the ERSPAN header overhead. Version II and III allow for applying QOS policies to the ERSPAN packets, and provide some VLAN info. Version III carries even more settings. Version II is usually the default one on Cisco switches. While Secure Workload SPAN Agents support all three versions, at the moment they do not make use of any extra information the ERSPAN version II and III packets carry.
Security considerations
The Ingest Virtual Machine for ERSPAN guest Operating System is CentOS 7.9, from which OpenSSL server/clients packages were removed.
![]() Note |
CentOS 7.9 is the guest operating system for Ingest and Edge virtual appliances in Secure Workload 3.8.1.19 and earlier releases. Starting Secure Workload 3.8.1.36, the operating system is AlmaLinux 9.2. |
Once the VM is booted and the SPAN agent containers are deployed (this takes a couple of minutes on first time boot only), no network interfaces, besides the loopback, will be present in the Virtual Machine. Therefore the only way to access the appliance is via its console.
The VM network interface are now moved inside the Docker containers. The containers run a centos:7.9.2009 based Docker image with no TCP/UDP port open.
![]() Note |
Starting Secure Workload 3.8.1.36, the containers run almalinux/9-base:9.2. |
Also, the containers are run with the base privileges (no –privileged option) plus the NET_ADMIN capability.
In the unlikely case a container is compromised, the VM guest OS should not be compromisable from inside the container.
All the other security consideration valid for Secure Workload Agents running inside a host do also apply to the Secure Workload SPAN Agents running inside the Docker containers.
Troubleshooting
Once SPAN Agents show in active state in the cluster Monitoring/Agent Overview page, no action is needed on the ERSPAN Virtual Machine, user does not need to log into it. If that is not happening or if the flows are not reported to the cluster, following information will help pinpoint deployment problems.
In normal conditions, on the VM:
-
systemctl status tet_vm_setup
reports an inactive service with SUCCESS exit satus; -
systemctl status tet-nic-driver
reports an active service; -
docker network ls
reports five networks:host, none
and threeerspan-<iface name>;
-
ip link
only reports the loopback interface; -
docker ps
reports three running containers; -
docker logs <cid>
for each container contains the message:INFO success: tet-sensor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
-
docker exec <cid> ifconfig
reports only one interface, besides the loopback; -
docker exec <cid> route -n
reports the default gateway; -
docker exec <cid> iptables -t raw -S PREROUTING
reports the rule-A PREROUTING -p gre -j DROP;
If any of the above does not hold true, check the deployment script logs in /local/tetration/logs/ tet_vm_setup.log
for the reason why the SPAN agent containers deployment failed.
Any other agent registration/connectivity issue can be troubleshooted the same way it is done for agents running on a host via the docker exec command:
-
docker exec <cid> ps -ef
reports the twotet-engine, tet-engine check_conf
instances and two/usr/local/tet/tet-sensor -f /usr/local/tet/conf/.sensor_config
instances, one with root user and one with tet-sensor user, along with the process manager/usr/bin/ python /usr/bin/supervisord -c /etc/supervisord.conf -n
instance. -
docker exec <cid> cat /usr/local/tet/log/tet-sensor.log
shows the agent’s logs; -
docker exec <cid> cat /usr/local/tet/log/fetch_sensor_id.log
shows the agent’s registration logs; -
docker exec <cid> cat /usr/local/tet/log/check_conf_update.log
shows the configuration update polling logs;If necessary, traffic to/from the container can be monitored with tcpdump after setting into the container’s network namespace:
-
Retrieve the container’s network namespace (SandboxKey) via docker inspect <cid> | grep SandboxKey;
-
Set into the container’s network namespace nsenter --net=/var/run/docker/netns/...;
-
Monitor eth0 traffic tcpdump -i eth0 -n.
-
Limits
Metric |
Limit |
---|---|
Maximum number of ERSPAN connectors on one Secure Workload Ingest appliance |
3 |
Maximum number of ERSPAN connectors on one Tenant (rootscope) |
24 (12 for TaaS) |
Maximum number of ERSPAN connectors on Secure Workload |
450 |
Connectors for Endpoints
Connectors for endpoints provide endpoint context for Secure Workload.
Connector |
Description |
Deployed on Virtual Appliance |
---|---|---|
AnyConnect |
Collect telemetry data from Cisco AnyConnect Network Visibility Module (NVM) and enrich endpoint inventories with user attributes |
Secure Workload Ingest |
ISE |
Collect information about endpoints and inventories managed by Cisco ISE appliances and enrich endpoint inventories with user attributes and secure group labels (SGL). |
Secure Workload Edge |
For more information about required virtual appliances, see Virtual Appliances for Connectors.
AnyConnect Connector
AnyConnect connector monitors endpoints that run Cisco AnyConnect Secure Mobility Client with Network Visibility Module (NVM). Using this solution, the hosts do not need to run any software agents on endpoints, because NVM sends host, interface, and flow records in IPFIX format to a collector (e.g., AnyConnect connector).
AnyConnect connector does the following high-level functions.
-
Register each endpoint (supported user devices such as a desktop, a laptop, or a smartphone) on Cisco Secure Workload as an AnyConnect agent.
-
Update interface snapshots from these endpoints with Secure Workload.
-
Send flow information exported by these endpoints to Secure Workload collectors.
-
Periodically send process snapshots for processes that generate flows on the endpoints tracked by the AnyConnect connector.
-
Label endpoint interface IP addresses with Lightweight Directory Access Protocol (LDAP) attributes corresponding to the logged-in-user at each endpoint.
Figure 11. AnyConnect connector
What is AnyConnect NVM
AnyConnect NVM provides visibility and monitoring of endpoint and user behavior both on and off premises. It collects information from endpoints that includes the following context.
-
Device/Endpoint Context: Device/endpoint specific information.
-
User Context: Users associated with the flow.
-
Application Context: Processes associated with the flow.
-
Location Context: Location specific attributes -if available.
-
Destination Context: FQDN of the destination. AnyConnect NVM generates 3 types of records.
NVM Record
Description
Endpoint Record
Device/endpoint information including unique device identifier (UDID), hostname, OS name, OS version and manufacturer.
Interface Record
Information about each interface in the endpoint including the endpoint UDID, interface unique identifier (UID), interface index, interface type, interface name, and MAC address.
Flow Record
Information about flows seen on the endpoint including endpoint UDID, interface UID, 5-tuple (source/destination ip/port and protocol), in/out byte counts, process information, user information, and fqdn of the destination.
Each record is generated and exported in IPFIX protocol format. When the device is in a trusted network (on- premise/VPN), AnyConnect NVM exports records to a configured collector. AnyConnect connector is an example IPFIX collector that can receive and process IPFIX stream from AnyConnect NVM.
![]() Note |
AnyConnect connector supports AnyConnect NVM from 4.2+ versions of Cisco AnyConnect Secure Mobility Client. |
How to configure AnyConnect NVM
See How to Implement AnyConnect NVM document for step by step instructions on how to implement AnyConnect NVM using either Cisco Secure Firewall ASA or Cisco Identity Services engine (ISE). Once NVM module is deployed, an NVM profile should be specified and pushed to and installed on the endpoints running Cisco AnyConnect Secure Mobility Client. When specifying NVM profile, the IPFIX collector should be configured to point to AnyConnect connector on port 4739.
AnyConnect connector also registers with Secure Workload as a Secure Workload AnyConnect Proxy agent.
Processing NVM records
AnyConnect connector processes AnyConnect NVM records as shown below.
Endpoint Record
Upon receiving an endpoint record, AnyConnect connector registers that endpoint as AnyConnect agent on Secure Workload. AnyConnect connector uses the endpoint specific information present in the NVM record along with AnyConnect connector’s certificate to register the endpoint. Once an endpoint is registered, data-plane for the endpoint is enabled by creating a new connection to one of the collectors in Secure Workload. Based on the activity (flow records) from this endpoint, AnyConnect connector checks-in the AnyConnect agent corresponding to this endpoint with the cluster periodically (20-30 minutes).
AnyConnect NVM starts to send agent version from 4.9. By default, the AnyConnect endpoint would be registered as version 4.2.x on Secure Workload. This version indicates the minimum supported AnyConnect NVM version. For the AnyConnect endpoints with version 4.9 or newer, the corresponding AnyConnect agent on Secure Workload would show the actual version installed.
![]() Note |
The AnyConnect agent installed version is not controlled by Secure Workload. Attempting to upgrade the AnyConnect endpoint agent on Secure Workload UI would not take effect. |
Interface Record
Interface Record IP address for an interface is not part of the AnyConnect NVM interface record. IP address for an interface is determined when flow records start coming from the endpoint for that interface. Once IP address is determined for an interface, AnyConnect connector sends a complete snapshot of all interfaces of that endpoint whose IP address is determined to config server of Secure Workload. This associates the VRF with the interface data and flows coming in on these interfaces will now be marked with this VRF.Flow Record
Upon receiving a flow record, AnyConnect connector translates the record to the format that Secure Workload understands and sends FlowInfo over the dataplane corresponding to that endpoint. Furthermore, it stores process information included in the flow record locally. In addition, if LDAP configuration is provided to AnyConnect connector, it determines values for configured LDAP attributes of the logged-in-user of the endpoint. The attributes are associated to the endpoint IP address where the flow happened. Periodically, process information and user labels are pushed to Secure Workload.
![]() Note |
Each AnyConnect connector will report only endpoints/interfaces/ flows for one VRF. The endpoints and interfaces reported by AnyConnect connector are associated with the VRF based on the Agent VRF configuration in Secure Workload. The flows exported by the AnyConnect connector agent on behalf of the AnyConnect endpoint belong to the same VRF. To configure the VRF for the agent, go to: Configuration tab. In this page, under “Agent Remote VRF Configurations” section, click “Create Config” and provide the details about the AnyConnect connector. The form requests the user to provide: the name of the VRF, IP subnet of the host on which the agent is installed, and range of port numbers that can potentially send flow records to the cluster. and click the |
Duplicate UDIDs in Windows Endpoints
If endpoint machines are cloned from the same golden image, it is possible that the UDID of all cloned endpoints are identical. In such cases, AnyConnect connector receives endpoint records from these endpoints with identical UDID and registers them on Secure Workload with same UDID. When interface/flow records are received by the connector from these endpoints, it is impossible for the connector to determine the correct AnyConnect agent on Secure Workload to associate the data. The connector associates all the data to one endpoint (and it is not deterministic).
To deal with this problem, AnyConnect NVM 4.8 release ships a tool called dartcli.exe to find and regenerate UDID on the endpoint.
-
dartcli.exe -u retrieves the UDID of the endpoint.
-
dartcli.exe -nu regenerates the UDID of the endpoint. To run this tool, use the following steps.
C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\DART>dartcli.exe -u
UDID : 8D0D1E8FA0AB09BE82599F10068593E41EF1BFFF
C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\DART>dartcli.exe -nu
Are you sure you want to re-generate UDID [y/n]: y
Adding nonce success
UDID : 29F596758941E606BD0AFF49049216ED5BB9F7A5
C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\DART>dartcli.exe -u
UDID : 29F596758941E606BD0AFF49049216ED5BB9F7A5
Periodic Tasks
Periodically, AnyConnect connector sends process snapshots and user labels on AnyConnect endpoint inventories.
-
Process Snapshots: every 5 minutes, AnyConnect connector walks through the processes it maintains locally for that interval and sends process snapshot for all the endpoints that had flows during that interval.
-
User Labels: every 2 minutes, AnyConnect connector walks through the LDAP user labels it maintains locally and updates User Labels on those IP addresses.
For user labels, AnyConnect connector creates a local snapshot of LDAP attributes of all users in the organization. When AnyConnect connector is enabled, configuration for LDAP (server/port information, attributes to fetch for a user, attribute that contains the username) may be provided. In addition, the LDAP user credentials to access LDAP server may be provided. LDAP user credentials are encrypted and never revealed in the AnyConnect connector. Optionally, an LDAP certificate may be provided for securely accessing LDAP server.
![]() Note |
AnyConnect connector creates a new local LDAP snapshot every 24 hours. This interval is configurable in LDAP configuration of the connector. |
How to Configure the Connector
For information about required virtual appliances, see Virtual Appliances for Connectors. The following configurations are allowed on the connector.
-
LDAP: LDAP configuration supports discovery of LDAP attributes and provide a workflow to pick the attribute that corresponds to username and a list of up to 6 attributes to fetch for each user. For more information, see Discovery .
-
Endpoint: For more information, see Endpoint Configuration.
-
Log: For more information, see Log Configuration.
In addition, the listening ports of IPFIX protocol on the connector can be updated on the Docker container in Secure Workload Ingest appliance using an allowed command. This command can be issued on the appliance by providing the connector ID of the connector, type of the port to be update, and the new port information. The connector ID can be found on the connector page in Secure Workload UI. For more information, see update-listening-ports.
Limits
Metric |
Limit |
---|---|
Maximum number of AnyConnect connectors on one Secure Workload Ingest appliance |
1 |
Maximum number of AnyConnect connectors on one Tenant (rootscope) |
50 |
Maximum number of AnyConnect connectors on Secure Workload |
500 |
ISE Connector
ISE connector in Secure Workload connects with Cisco Identity Services Engine (ISE), using Cisco Platform Exchange Grid (pxGrid), to retrieve contextual information about endpoints reported by ISE. Using these solutions, we can obtain enriched metadata for endpoints.
An ISE connector performs these functions:
-
Register each endpoint viewed by ISE on Secure Workload as an ISE endpoint agent.
-
Update metadata information regarding these endpoints to Secure Workload including MDM details, authentication, Security Group labels, and others.
-
Periodically take a snapshot and update cluster with active endpoints visible on ISE.
Figure 12. ISE connector
![]() Note |
Each ISE connector will register only endpoints and interfaces for one VRF. The endpoints and interfaces reported by ISE connector are associated with the VRF based on the Agent VRF configuration in Secure Workload. To configure the VRF for the agent, go to: Configuration tab. In this page, under the Agent Remote VRF Configurations section, click Create Config and provide the details about the ISE connector. The form requests the user to provide: the name of the VRF, IP subnet of the host on which the agent is installed, and range of port numbers that can potentially register ISE endpoints and interfaces on Secure Workload. and click the |
![]() Note |
The ISE endpoint agents are not listed on the Agents List page; instead ISE endpoints with the attributes can be viewed on the Inventory page. |
How to Configure the Connector
![]() Note |
ISE version 2.4+ is required for this integration. |
For information about required virtual appliances, see Virtual Appliances for Connectors. For ISE connectors, IPv4 and IPv6 (dual stack mode) addresses are supported. However, do note that dual stack support is a BETA feature.
The following configurations are allowed on the connector.
-
ISE Instance: ISE connector can connect to multiple instances of ISE using provided configurations. Each instance requires ISE certificate credentials along with hostname and nodename to connect to ISE. For more information, see ISE Instance Configuration.
-
LDAP: LDAP configuration supports discovery of LDAP attributes and provides a workflow to select the attribute that corresponds to username and a list of up to six attributes to fetch for each user. For more information, see Discovery .
-
Endpoint: For more information, see Endpoint Configuration.
-
Log: For more information, see Log Configuration.
ISE Instance Configuration
![ISE instance config](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467250.jpg)
![]() Note |
Starting Cisco Secure Workload version 3.7, the SSL certificate for Cisco ISE pxGrid node requires Subject Alternative Names (SAN) for this integration. Ensure the certification configuration of the ISE nodes is done by your ISE administrator prior to performing the integration with Secure Workload. |
To verify your pxGrid node’s certificate and confirm if SAN is configured, you need to do the following to verify the certificate from ISE.
Procedure
Step 1 |
Go to Certificates under . |
||
Step 2 |
Under Certificate Management, select System Certificates, select your “Used by” pxGrid certificate and choose View to review the pxGrid node cert. |
||
Step 3 |
Scroll the certificate and ensure the Subject Alternative Names are configured for this certificate. |
||
Step 4 |
This certificate should be signed by a valid Certificate Authority (CA), which should also be used to sign the pxGrid client certificate used for the Secure Workload ISE connector. ![]() |
||
Step 5 |
You can now generate the pxGrid client certificate signing request using the following template on any host installed with OpenSSL.
Save the file as ‘example-connector.cfg’ and use the OpenSSL command from your host to generate a Certificate Signing Request (CSR) and the certificate private key with the following command.
|
||
Step 6 |
Sign the Certificate Signing Request (CSR) by your CA using a Windows CA server. If you are also using a Windows CA server, run the following command to sign the pxGrid client’s CSR.
![]() |
||
Step 7 |
Copy the signed client certificate and the root CA in PEM format onto your host. This is the same host that generates the client CSR and the private key. Use OpenSSL to ensure the client certificate is in X.509 PEM format. Run the following command using OpenSSL to convert the signed client certificate to the X.509 PEM format.
|
||
Step 8 |
You can also confirm the PEM that is signed by the CA, use the following command.
|
||
Step 9 |
Using the above example’s file names, copy the ISE client cert - example-connector.pem, client key - example-connector.key and CA – root-ca.example.com.pem into the respective fields on the ISE configuration page on Secure Workload as shown below. ![]() |
![]() Note |
|
Processing ISE records
ISE connector processes records as described below.
Endpoint Record
ISE connector connects to ISE instance and subscribes for any updates for endpoints over pxGrid. Upon receiving an endpoint record, ISE connector registers that endpoint as ISE agent on Secure Workload. ISE connector uses the endpoint specific information present in endpoint record along with ISE connector’s certificate to register the endpoint. Once an endpoint is registered. ISE connector uses the endpoint object for inventory enrichment by sending this as user labels on Secure Workload. When ISE connector gets a disconnected endpoint from ISE, it deletes the inventory enrichment from Secure Workload.
Security Group Record
ISE connect also subscribes for updates about Security Group Labels change via pxGrid. On receiving this record, ISE connectors maintains a local database. It uses this database to map SGT name with value on receiving an endpoint record.
Periodic Tasks
ISE connector periodically shares user labels on ISE endpoint inventories.
-
Endpoint Snapshots: Every 20 hours, ISE connector fetches a snapshot of endpoints and security group labels from ISE instance and updates the cluster if any change is detected. This call does not compute for endpoints that are disconnected in case we do not see endpoints on Secure Workload coming from ISE.
-
User Labels: Every 2 minutes, ISE connector scans through the LDAP user and ISE endpoint labels maintained locally and updates user labels on those IP addresses.
For user labels, ISE connector creates a local snapshot of LDAP attributes of all users in the organization. When ISE connector is enabled, configuration for LDAP (server/port information, attributes to fetch for a user, attribute that contains the username) may be provided. In addition, the LDAP user credentials to access LDAP server may be provided. LDAP user credentials are encrypted and never revealed in the ISE connector. Optionally, an LDAP certificate may be provided for securely accessing LDAP server.
![]() Note |
ISE connector creates a new local LDAP snapshot every 24 hours. This interval is configurable in LDAP configuration of the connector. |
![]() Note |
On upgrading Cisco ISE device, ISE connector will need to be re-configured with new certifcates generated by ISE after upgrade. |
Limits
Metric |
Limit |
---|---|
Maximum number of ISE instances that can be configured on one ISE connector |
20 |
Maximum number of ISE connectors on one Secure Workload Edge appliance |
1 |
Maximum number of ISE connectors on one Tenant (rootscope) |
1 |
Maximum number of ISE connectors on Secure Workload |
150 |
![]() Note |
Maximum number of ISE agents supported per connector is 20000. If there is a use case that requires support for more ISE agents, please contact Secure Workload support. |
Connectors for Inventory Enrichment
Connectors for inventory enrichment provides additional meta-data and context about the inventories (IP addresses) monitored by Secure Workload.
Connector |
Description |
Deployed on Virtual Appliance |
---|---|---|
ServiceNow |
Collect endpoint information from ServiceNow instance and enrich the inventory with ServiceNow attributes. |
Secure Workload Edge |
See also: |
– |
For more information about required virtual appliances, see Virtual Appliances for Connectors.
ServiceNow Connector
ServiceNow connector connects with ServiceNow Instance to get all the ServiceNow CMDB related labels for the endpoints in ServiceNow inventory. Using this solution, we can get enriched metadata for the endpoints in Cisco Secure Workload.
ServiceNow connector does the following high-level functions.
-
Update ServiceNow metadata in Secure Workload’s inventory for these endpoints.
-
Periodically take snapshot and update the labels on these endpoints.
Figure 17. ServiceNow connector
How to Configure the ServiceNow Connector
For information about required virtual appliances, see Virtual Appliances for Connectors. The following configurations are allowed on the connector.
-
ServiceNow Tables: ServiceNow Tables configures the ServiceNow instance with it’s credentials, and the information about ServiceNow tables to fetch the data from.
-
Scripted REST api: ServiceNow scripted REST API tables can be configured similar to ServiceNow tables.
-
Sync Interval: Sync Interval configuration allows to make change the periodicity at which Secure Workload should query ServiceNow instance for updated data.
-
Log: For more information, see Log Configuration .
ServiceNow Instance Configuration
![ServiceNow instance confi](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467255.jpg)
You will need the following items to successfully configure a ServiceNow instance.
-
ServiceNow username
-
ServiceNow password
-
ServiceNow Instance URL
-
Include Scripted APIs
Subsequently, Secure Workload performs a discovery of all the tables from the ServiceNow Instance and Scripted REST API’s (only if Include Scripted APIs checkbox is enabled). It presents user with the list of tables to chose from, once a user selects table, Secure Workload fetches all the list of attributes from that table for the user to select. User has to chose the ip_address attribute from the table as the key. Subsequently, user can chose upto 10 unique attributes from the table. See the following figures for each step.
![]() Note |
ServiceNow Connector can only support integrating with tables having IP Address field. |
![]() Note |
To integrate with ServiceNow Scripted REST API’s you need to enable the Scripted APIs checkbox, which would give you a similar workflow to any other table. |
![]() Note |
For Scripted REST API’s to integrate with ServiceNow Connector, they cannot have path parameters. Also, they need to support sysparm_limit,sysparm_fields and sysparm_offset as query parameters. |
![]() Note |
The ServiceNow user roles need to include cmdb_read for tables and web_service_admin for Scripted REST API’s to integrate with Cisco Secure Workload. |
![ServiceNow instance config first step](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467256.jpg)
![Secure Workload Fetches the Table Info from ServiceNow Instance](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467257.jpg)
![Secure Workload presents the list of tables](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467258.jpg)
![User selects the ip_address attribute, and other attribute in the table](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467259.jpg)
![User finalizes the ServiceNow config](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467260.jpg)
Processing ServiceNow records
Based on the instance url you gives in configuration, ServiceNow connector connects to ServiceNow Instance. ServiceNow Instance uses HTTP calls using https://{Instance URL}/api/now/doc/table/schema, to obtain the initial table schema from the ServiceNow Table API. Based on the configured Tables, it queries those tables to fetch the ServiceNow labels/metadata. Secure Workload annotates the ServiceNow labels to IP addresses in its inventory. ServiceNow connector periodically fetches new labels and updates Secure Workload inventory.
![]() Note |
Secure Workload fetches records from ServiceNow tables periodically. This is configurable under SyncInterval tab in the ServiceNow connector. The default sync interval is 60 minutes. For cases where integrating with ServiceNow table with large number of entries, this sync interval should be set to a higher value. |
![]() Note |
Secure Workload will delete any entry not seen for 10 continuous sync intervals. In case the connection to ServiceNow instance is down for that long that could result in cleaning up of all labels for that instance. |
Sync Interval Configuration
-
Secure Workload ServiceNow connector provides a way to configure the frequency of sync between Secure Workload and ServiceNow instance. By default the sync interval is set to 60 minutes, but it can be changed under the sync interval configuration as Data fetch frequency.
-
For detecting deletion of a record, Secure Workload ServiceNow connector relies on syncs from ServiceNow instances. If an entry is not seen in 48 consecutive sync intervals, we go ahead and delete the entry. This can be configured under sync interval config as Delete entry interval.
-
If any additional parameters are to be passed when calling REST api’s for ServiceNow tables, you can configre them as part of Additional Rest API url params. This configuration is optional. For example, to get a reference lookup from ServiceNow the following url parameters can be used sysparm_exclude_reference_link=true&sysparm_display_value=true
Figure 24. Sync Interval Configuration
Explore Command to Delete the Labels
In case user wants to cleanup the labels for a particular IP for a given instance immediately, without waiting for delete interval, they can do so using an explore command. Here are the steps to run the command.
-
Finding vrf ID for a Tenant
-
Getting to Explore command UI
-
Running the commands
For TaaS cluster, contact TaaS Operation team to cleanup labels for ServiceNow labels.
Finding VRF ID for a Tenant
Site Admins and Customer Support users can access the Tenant page under the Platform menu in the navigation bar at the left side of the window. This page displays all of the currently configured Tenants and VRFs. For more information, see the Tenants section for more details.
On Tenants page, ID field of Tenants
table is vrf ID for the Tenant.
Getting to Explore Command UI
To reach the Maintenance Explorer command interface, choose Secure Workload web interface.
from the left navigation bar in the![]() Note |
Customer Support privileges are required to access explore menu. If explore tab does not show up, the account may not have needed permissions. |
Click on explore tab in the drop down menu to get to the Maintenance Explorer page.
![Maintenance Explorer tab](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467262.jpg)
Running the Commands
-
Choose the action as
POST
-
Enter snapshot host as
orchestrator.service.consul
-
Enter snapshot path
To delete the labels for a particular IP for a
servicenow instance: servicenow_cleanup_annotations?args=<vrf-id> <ip_address> <instance_url> <table_name>
-
Click Send
Note
If after deleting using explore command, we see the record show up in ServiceNow instace, it will be repopulated
Frequently Asked Questions
-
What if ServiceNow CMDB table does not have IP address.
In such case, the recommendation is to create a View on ServiceNow which will have desired fields from current table along with IP address (potentially coming from a JOIN operation with another table). Once such a view is created, it can be used in place of table name.
-
What if ServiceNow instance requires MFA.
Currently we do not support integrating with ServiceNow instance with MFA.
Limits
Metric |
Limit |
---|---|
Maxumum number of ServiceNow instances that can be configured on one ServiceNow connector |
20 |
Maximum number of attributes that can be fetched from one ServiceNow instance |
10 |
Maximum number of ServiceNow connectors on one Secure Workload Edge appliance |
1 |
Maximum number of ServiceNow connectors on one Tenant (rootscope) |
1 |
Maximum number of ServiceNow connectors on Secure Workload |
150 |
Connectors for Alert Notifications
Connectors for alert notifications enable Secure Workload to publish Secure Workload alerts on various messaging and logging platforms. These connectors run on TAN service on Secure Workload Edge Appliance.
Connector |
Description |
Deployed on Virtual Appliance |
---|---|---|
Syslog |
Send Secure Workload alerts to Syslog server. |
Secure Workload Edge |
|
Send Secure Workload alerts on Email. |
Secure Workload Edge |
Slack |
Send Secure Workload alerts on Slack. |
Secure Workload Edge |
Pager Duty |
Send Secure Workload alerts on Pager Duty. |
Secure Workload Edge |
Kinesis |
Send Secure Workload alerts on Amazon Kinesis. |
Secure Workload Edge |
For more information about required virtual appliances, see Virtual Appliances for Connectors.
Syslog Connector
When enabled, TAN service on Cisco Secure Workload Edge appliance can send alerts to Syslog server using configuration.
![Syslog connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467263.jpg)
The following table explains the configuration details for publishing Secure Workload alerts on Syslog server.For more information, see Syslog Notifier Configuration .
Parameter Name |
Type |
Description |
---|---|---|
Protocol |
dropdown |
Protocol to use to connect to server |
•UDP | ||
• TCP | ||
Server Address |
string |
IP address or hostname of the Syslog server |
Port |
number |
Listening port of Syslog server. Default port value is 514. |
![Sample configuration for Syslog Connector.](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467264.jpg)
![Sample alert](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467265.jpg)
Syslog Severity Mapping
The following table shows the default severity mapping for Secure Workload alerts on Syslog.
Secure Workload Alerts Severity |
Syslog Severity |
---|---|
LOW |
LOG_DEBUG |
MEDIUM |
LOG_WARNING |
HIGH |
LOG_ERR |
CRITICAL |
LOG_CRIT |
IMMEDIATE ACTION |
LOG_EMERG |
This setting can be modified using Severity Mapping configuration under Syslog Connector. You can choose any corresponding Syslog priority for each Secure Workload Alert Severity and change the Severity Mapping. For more information, see Syslog Severity Mapping Configuration .
Parameter Name |
Dropdown of mappings |
---|---|
IMMEDIATE_ACTION |
|
CRITICAL |
|
HIGH |
|
MEDIUM |
|
LOW |
![Sample config for Syslog Severity Mapping.](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467266.jpg)
Limits
Metric |
Limit |
---|---|
Maximum number of Syslog connectors on one Secure Workload Edge appliance |
1 |
Maximum number of Syslog connectors on one Tenant (rootscope) |
1 |
Maximum number of Syslog connectors on Secure Workload |
150 |
Email Connector
When enabled, TAN service on Secure Workload Edge Appliance can send alerts to given configuration.
![Email connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467267.jpg)
The following table explains the configuration details for publishing Secure Workload alerts on Email. For more information, see Email Notifier Configuration .
Parameter Name |
Type |
Description |
---|---|---|
SMTP Username |
string |
SMTP server username. This parameter is optional. |
SMTP Password |
string |
SMTP server password for the user (if given). This parameter is optional. |
SMTP Server |
string |
IP address or hostname of the SMTP server |
SMTP Port |
number |
Listening port of SMTP server. Default value is 587. |
Secure Connection |
checkbox |
Should SSL be used for SMTP server connection? |
From Email Address |
string |
Email address to use for sending alerts |
Default Recipients |
string |
Comma separated list of recipient email addresses |
![Sample configuration for Email Connector.](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467268.jpg)
![Sample alert](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467269.jpg)
![]() Note |
|
Limits
Metric |
Limit |
---|---|
Maximum number of Email connectors on one Secure Workload Edge appliance |
1 |
Maximum number of Email connectors on one Tenant (rootscope) |
1 |
Maximum number of Email connectors on Secure Workload |
150 |
Slack Connector
When enabled, TAN service on Secure Workload Edge appliance can send alerts to Slack using configuration.
![Slack connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467270.jpg)
The following table explains the configuration details for publishing Secure Workload alerts on Slack. For more information, see Slack Notifier Configuration .
Parameter Name |
Type |
Description |
---|---|---|
Slack Webhook URL |
string |
Slack webhook on which Secure Workload alerts should be published |
![]() Note |
|
![Sample configuration for Slack Connector.](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467271.jpg)
![Sample alert](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467272.jpg)
Limits
Metric |
Limit |
---|---|
Maximum number of Slack connectors on one Secure Workload Edge appliance |
1 |
Maximum number of Slack connectors on one Tenant (rootscope) |
1 |
Maximum number of Slack connectors on Secure Workload |
150 |
PagerDuty Connector
When enabled, TAN service on Secure Workload Edge appliance can send alerts to PagerDuty using configuration.
![PagerDuty connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467273.jpg)
The following table explains the configuration details for publishing Secure Workload alerts on PagerDuty. For more information, see PagerDuty Notifier Configuration .
Parameter Name |
Type |
Description |
---|---|---|
PagerDuty Service Key |
string |
PagerDuty service key for pushing Secure Workload alerts on PagerDuty. |
![Sample configuration for PagerDuty Connector.](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467274.jpg)
![Sample alert](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467275.jpg)
Limits
Metric |
Limit |
---|---|
Maximum number of PagerDuty connectors on one Secure Workload Edge appliance |
1 |
Maximum number of PagerDuty connectors on one Tenant (rootscope) |
1 |
Maximum number of PagerDuty connectors on Secure Workload |
150 |
Kinesis Connector
When enabled, TAN service on Secure Workload Edge appliance can send alerts using configuration.
![Kinesis connector](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467276.jpg)
The following table explains the configuration details for publishing Secure Workload alerts on Amazon Kinesis. For more information, see Kinesis Notifier Configuration .
Parameter Name |
Type |
Description |
---|---|---|
AWS Access Key ID |
string |
AWS access key ID to communicate with AWS |
AWS Secret Access Key |
string |
AWS secret access key to communicate with AWS |
AWS Region |
dropdown of AWS regions |
Name of the AWS region where Kinesis stream is configured |
Kinesis Stream |
string |
Name of the Kinesis stream |
Stream Partition |
string |
Partition Name of the stream |
![Sample configuration for Kinesis Connector.](/c/dam/en/us/td/i/400001-500000/460001-470000/467001-468000/467277.jpg)
Limits
Metric |
Limit |
---|---|
Maximum number of Kinesis connectors on one Secure Workload Edge appliance |
1 |
Maximum number of Kinesis connectors on one Tenant (rootscope) |
1 |
Maximum number of Kinesis connectors on Secure Workload |
150 |
Cloud Connectors
You can use a cloud connector for Secure Workload features on cloud-based workloads.
Cloud connectors do not require a virtual appliance.
Connector |
Supported Features |
Deployed on Virtual Appliance |
---|---|---|
AWS |
For Amazon Web Services VPCs:
From Elastic Kubernetes Service (EKS) clusters:
|
N/A |
Azure |
For Azure VNets:
From Azure Kubernetes Service (AKS) clusters:
|
N/A |
GCP |
For Google Cloud Platform VPCs:
From Google Kubernetes Engine (GKE) clusters:
|
N/A |
AWS Connector
Amazon Web Services (AWS) connector connects with AWS to perform the following high-level functions:
-
Automated ingestion of inventory (and its labels) live from an AWS Virtual Private Cloud (VPC) AWS allows you to assign metadata to your resources in the form of tags. Secure Workload query the tags for these resources which can then be used for inventory and traffic flow data visualization, and policy definition. This capability keeps the resource tag mapping updated by constantly synchronizing this data.
The tags from workloads and network interfaces of an AWS VPC are ingested. If you configure both workloads and network interfaces, Secure Workload merges and displays the tags. For more information, see Labels Generated by Cloud Connectors.
-
Ingestion of VPC-level flow logs If you have set up VPC flow logs in AWS for monitoring purposes, Secure Workload can ingest flow log information by reading the corresponding S3 bucket. You can use this telemetry for visualization and segmentation policy generation.
-
Segmentation When the segmentation option is enabled, Secure Workload programs security policies using AWS native Security Groups. When enforcement is enabled for a VPC, relevant policies are automatically programmed as security groups.
-
Automated ingestion of metadata from EKS clusters When Elastic Kubernetes Services (EKS) is running on AWS, you can choose to gather all node, service, and pod metadata related to all selected Kubernetes clusters.
You can choose which capabilities to enable for each VPC.
![]() Note |
We don’t currently support China Regions. |
Requirements and Prerequisites for AWS
For all capabilities: Create a dedicated user in AWS, or identify an existing AWS user for this connector. The connector configuration wizard generates a CloudFormation Template (CFT) that you can use to assign required privileges to this user. Make sure you have permissions in AWS to upload this CFT.
For granting cross AWS account access to the dedicated user, see (Optional) Configure cross AWS account access in AWS, including required access privileges.
Each VPC can belong to only one AWS connector. A Secure Workload cluster can have multiple AWS connectors. Gather the information described in the tables in Configure an AWS Connector.
This connector doesn’t require a virtual appliance.
For gathering labels and inventory: No additional prerequisites are required.
For ingesting flow logs: VPC level flow log definitions are required in order to trigger the collection of flow logs.
Only VPC-level flow logs can be ingested.
Flow logs must be published to Amazon Simple Storage Service (S3); Secure Workload cannot collect flow data from Amazon CloudWatch logs.
Secure Workload can ingest flow logs from an S3 bucket associated with any account, if the AWS user account credentials provided during connector creation have access to both the VPC flow logs and the S3 bucket.
The following flow log attributes (in any order) are required in the flow log: Source Address, Destination Address, Source Port, Destination Port, Protocol, Packets, Bytes, Start Time, End Time, Action, TCP Flags, Interface-ID, Log status and Flow Direction. Any other attributes are ignored.
Flow logs must capture both Allowed and Denied traffic.
![]() Note |
The Secure Workload AWS connector does not support VPC flow logs partition on an hourly basis. |
For segmentation: Enabling segmentation requires Gather Labels to be enabled.
Back up your existing security groups before enabling segmentation in the connector, as all existing rules are overwritten when you enable segmentation for a VPC.
For more information, see Best Practices When Enforcing Segmentation Policy for AWS Inventory.
For managed Kubernetes services (EKS): If you enable the Kubernetes option, see requirements and prerequisites in the Managed Kubernetes Services Running on AWS (EKS) section, including required access privileges.
(Optional) Configure cross AWS account access in AWS
If the given user credentials has access to VPCs belonging to other AWS accounts, they will be available for processing as part of the AWS connector.
-
The designated Secure Workload user should have the following AWS access permissions:
1. iam:GetPolicyVersion 2. iam:ListPolicyVersions 3. iam:ListAttachedUserPolicies 4. iam:GetUser
Example AWS policy JSON:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "iam:GetPolicyVersion", "iam:ListPolicyVersions", "iam:ListAttachedUserPolicies", "iam:GetUser" ], "Resource": "*" } ] }
-
Create an AWS IAM role in the desired AWS account of which the designated Secure Workload user is NOT part of.
-
Allow the AWS IAM role to be assumed by the Secure Workload user. This can be done by adding the Secure Workload user ARN to the AWS IAM role trust policy.
Example AWS IAM role trust policy JSON:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": <Secure Workload_user_arn> }, "Action": "sts:AssumeRole", "Condition": {} } ] }
-
Perform the steps 2 and 3 for all the desired AWS accounts which the Secure Workload user does not belong to.
-
Create a customer managed policy (NOT Inline policy) with permission to assume all the created AWS roles from different accounts.
Note
In AWS connector, Customer Inline Policy is not supported.
Example Managed policy JSON:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": "sts:AssumeRole", "Resource": [<AWS_role_cross_account_1_arn>, <AWS_role_cross_account_2_arn>...] } ] }
-
Attach the created customer managed policy to the Secure Workload user.
-
The connector configuration wizard will provide a CloudFormation Template. After uploading the CFT as-is to the designated Secure Workload user, you will edit the template and upload the edited template to the CloudFormation portal to grant the required permissions to the AWS IAM roles. For details, see Configure an AWS Connector.
AWS Connector Configuration Overview
The following graphic gives a high-level overview of the connector configuration process. For essential details, see the next topic (Configure an AWS Connector.)
![AWS connector configuration overview](/c/dam/en/us/td/i/400001-500000/460001-470000/468001-469000/468814.jpg)
(Note that the numbers in the graphic do not correspond to step numbers in the detailed procedure.)
Configure an AWS Connector
Procedure
Step 1 |
From the navigation bar at the left side of the window, choose . |
||||||||||||
Step 2 |
Click the AWS connector. |
||||||||||||
Step 3 |
Click Enable for the first connector (in a root scope) or Enable Another for additional connectors in the same root scope. |
||||||||||||
Step 4 |
Understand and meet Requirements and Prerequisites, then click Get Started. |
||||||||||||
Step 5 |
Name the connector and choose the desired capabilities, then click Next. Selections that you make on this page are used only to determine the privileges included in the CloudFormation Template (CFT) that are in the next step, and to display the settings that you must configure. To enable segmentation, you must also enable Gather Labels. Enabling Segmentation on this page does not enable policy enforcement or affect existing security groups. Policy enforcement and deletion of existing security groups occurs only if you enable Segmentation for individual VPCs later in the wizard. You can return to this wizard later to enable segmentation policy enforcement for individual VPCs. |
||||||||||||
Step 6 |
Download the generated CloudFormation Template (CFT). This template has the IAM privileges that are required for the capabilities that you selected in the previous step. If you enabled the Kubernetes option, you must separately configure permissions for EKS. See the Managed Kubernetes Services Running on AWS (EKS) section below. |
||||||||||||
Step 7 |
Upload the CFT to the AWS CloudFormation portal to assign privileges to the user for this connector. Ensure that the AWS user has required privileges before continuing to the next step in the wizard.
You can apply the CFT using either the portal or the CLI. For instructions, see:
When you upload the CFT, AWS asks for the following:
|
||||||||||||
Step 8 |
If you are using AWS cross-account access, follow these additional steps:
|
||||||||||||
Step 9 |
Configure settings:
|
||||||||||||
Step 10 |
Click Next. It may take a few minutes for the system to obtain the list of VPCs and EKS clusters from AWS. |
||||||||||||
Step 11 |
From the list of VPCs (Virtual Networks) and EKS clusters for each VPC, choose the VPCs and EKS clusters for which you want to enable your selected capabilities. Generally, you should enable flow ingestion as soon as possible, so that Secure Workload can begin to collect enough data required to suggest accurate policies. Note that since EKS only supports Gather Labels capability, no explicit capability selection has been provided. Selecting an EKS cluster will implicitly enable the supported capability. For each cluster for which you enable this capability, enter the Assume Role ARN (The Amazon resource number of the role to assume while connecting to Secure Workload.) Generally, you should not choose Enable Segmentation during initial configuration. Later, when you are ready to enforce segmentation policy for specific VPCs, you can edit the connector and enable segmentation for those VPCs. See the Best Practices When Enforcing Segmentation Policy for AWS Inventory. |
||||||||||||
Step 12 |
Once your selections are complete, click Create and wait a few minutes for the validation check to complete. The View Groups page shows all VPCs that you enabled for any functionality on the previous page, grouped by region. Each region, and each VPC in each region, is a new scope. |
||||||||||||
Step 13 |
Choose the parent scope under which to add the new set of scopes. If you have not yet defined any scopes, your only option is the default scope. |
||||||||||||
Step 14 |
To accept all settings configured in the wizard including the hierarchical scope tree, click Save. To accept all settings except the hierarchical scope tree, click Skip this step. You can manually create or edit the scope tree later, under . |
What to do next
If you have enabled gathering labels, ingesting flow data, and/or segmentation:
-
If you enabled flow ingestion, it may take up to 25 minutes for flows to begin appearing on the
page. -
(Optional) For richer flow data and other benefits including visibility into host vulnerabilities (CVEs), install the appropriate agent for your operating system on your VPC-based workloads. For requirements and details, see the agent installation chapter.
-
After you have successfully configured the AWS connector to gather labels and ingest flows, follow the standard process for building segmentation policies. For example: Allow Secure Workload to gather sufficient flow data to generate reliable policies; define or modify scopes (typically one for each VPC); create a workspace for each scope; automatically discover policies based on your flow data, and/or manually create policies; analyze and refine your policies; ensure that your policies meet the guidelines and best practices below; and then, when you are ready, approve and enforce those policies in the workspace. When you are ready to enforce segmentation policy for a particular VPC, return to the connector configuration to enable segmentation for the VPC. For details, see Best Practices When Enforcing Segmentation Policy for AWS Inventory.
If you have enabled the Kubernetes managed services (EKS) option:
-
Install Kubernetes agents on your container-based workloads. For details, see the Kubernetes/Openshift Agents - Deep Visibility and Enforcement section in the agent deployment chapter.
Edit an AWS Connector
You can edit an AWS connector, for example to enable segmentation enforcement for specific VPCs or to make other changes.
Changes are not saved until you finish the wizard.
Procedure
Step 1 |
From the navigation bar at the left side of the window, choose . |
Step 2 |
Click AWS. |
Step 3 |
If you have more than one AWS connector, choose the connector to edit from the top of the window. |
Step 4 |
Click Edit Connector. |
Step 5 |
Click through the wizard again and make changes. For detailed descriptions of the settings, see Configure an AWS Connector. |
Step 6 |
If you enable different capabilities (gathering labels, ingesting flows, enforcing segmentation, or gathering EKS data), you must download the revised CloudFormation Template (CFT) and upload it to AWS before continuing the wizard. |
Step 7 |
To enable enforcement of segmentation policy, first make sure you have completed recommended prerequisites described in Best Practices When Enforcing Segmentation Policy for AWS Inventory. On the page that lists the VPCs, choose Enable Segmentation for the VPCs on which you want to enable enforcement. |
Step 8 |
If you have already created scopes for any of the selected VPCs, either using the wizard or manually, click Skip this step to complete the wizard. You can edit the scope tree manually using the page. |
Step 9 |
If you have not already created any scopes for the selected VPCs and you want to keep the proposed hierarchy, choose the parent scope from above the scope tree, then click Save. |
Deleting Connectors and Data
If you delete a connector, data already ingested by that connector is not deleted.
Labels and inventory are automatically deleted from active inventory after 24 hours.
Best Practices When Enforcing Segmentation Policy for AWS Inventory
![]() Warning |
Before you enable segmentation enforcement on any VPC, create a backup of the security groups on that VPC. Enabling segmentation for a VPC removes existing Security Groups from that VPC. Disabling segmentation does not restore the old security groups. |
When creating policies:
-
As with all discovered policies, ensure that you have enough flow data to produce accurate policies.
-
Because AWS allows only ALLOW rules in security groups, your segmentation policies should include only Allow policies, except the Catch-All policy, which should have the Deny action.
We recommend that you enable enforcement in the workspace before you enable segmentation for the associated VPC. If you enable segmentation for a VPC that is not included in a workspace that has enforcement enabled, all traffic will be allowed on that VPC.
When you are ready to enforce policy for a VPC, edit the AWS connector (see Edit an AWS Connector) and enable segmentation for that VPC.
View AWS Inventory Labels, Details, and Enforcement Status
To view summary information for an AWS connector, navigate to the connector page (Manage > Connectors), then choose the connector from the top of the page. For more details, click a VPC row.
To view information about AWS VPC inventory, click an IP address on the AWS Connectors page to see the Inventory Profile page for that workload. For more information about inventory profiles, see Inventory Profile.
For information about labels, see:
Concrete policies for VPC inventory are generated based on their orchestrator_system/interface_id label value. You can see this on the Inventory Profile page.
To view enforcement status, choose Secure Workload window. For more information, see Enforcement Status for Cloud Connectors.
from the navigation bar on the left side of theTroubleshoot AWS Connector Issues
Problem: The Enforcement Status page shows that a Concrete Policy was SKIPPED.
Solution: This occurs when the number of security groups exceeds the AWS limits, as configured in the AWS connector.
When a concrete policy shows as SKIPPED, the new security groups are not implemented and the previously existing security groups on AWS remain in effect.
To resolve this issue, see if you can consolidate policies, for example by using a larger subnet in one policy rather than multiple policies with smaller subnets.
If you choose to increase limits on the number of rules, you must contact Amazon before changing the limits in the AWS connector configuration.
Background:
Concrete policies are generated for each VPC when segmentation is enabled. These concrete policies are used to create security groups in AWS. However, AWS and Secure Workload count policies differently. When converting Secure Workload policies to AWS security groups, AWS counts each unique subnet as one rule.
Accounting example:
Consider the following example Secure Workload policy:
OUTBOUND: Consumer Address Set -> Provider Address Set Allow TCP port 80, 8080
AWS counts this policy as (the number of unique subnets in the Provider Address set) multiplied by (the number of unique ports).
So, if the provider address set consists of 20 Unique subnets, then this single Secure Workload policy counts in AWS as 20(unique subnets) * 2(Unique ports) = 40 rules in security groups.
Keep in mind that because the VPCs are dynamic, the rule count is also dynamic, so the counts are approximate.
Problem: AWS unexpectedly allows all traffic
Solution: Make sure your Catch-All policy in Secure Workload is set to Deny.
Managed Kubernetes Services Running on AWS (EKS)
If you have deployed Amazon Elastic Kubernetes Service (EKS) on your AWS cloud, then you can use an AWS connector to pull in inventory and labels (EKS tags) from your Kubernetes cluster.
When an AWS connector is configured to pull metadata from managed Kubernetes services, Secure Workload connects to the cluster’s API server and tracks the status of nodes, pods and services in that cluster. For the Kubernetes labels gathered and generated using this connector, see Labels Related to Kubernetes Clusters.
Requirements and Prerequisites for EKS
-
Verify that your Kubernetes version is supported. See https://www.cisco.com/go/secure-workload/requirements/integrations.
-
Configure the required access in EKS, as described below.
EKS Roles and Access Privileges
$ kubectl edit configmap -n kube-system aws-auth
apiVersion: v1
data:
mapAccounts: |
[]
mapRoles: |
- "groups":
- "system:bootstrappers"
- "system:nodes"
"rolearn": "arn:aws:iam::938996165657:role/eks-cluster-2021011418144523470000000a"
"username": "system:node:{{EC2PrivateDNSName}}"
- "rolearn": arn:aws:iam::938996165657:role/BasicPrivilegesRole
"username": secure.workload.read.only-user
"groups":
- secure.workload.read.only
mapUsers: |
[]
kind: ConfigMap
metadata:
creationTimestamp: "2021-01-14T18:14:47Z"
managedFields:
- apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:data:
.: {}
f:mapAccounts: {}
f:mapRoles: {}
f:mapUsers: {}
manager: HashiCorp
operation: Update
time: "2021-01-14T18:14:47Z"
name: aws-auth
namespace: kube-system
resourceVersion: "829"
selfLink: /api/v1/namespaces/kube-system/configmaps/aws-auth
uid: 6c5a3ac7-58c7-4c57-a9c9-cad701110569
EKS specific RBAC considerations
Create a cluster role binding of the cluster role and the user/service account.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: csw-clusterrolebinging
subjects:
- kind: User
name: csw.read.only
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: csw.read.only
apiGroup: rbac.authorization.k8s.io
kubectl create -f clusterrolebinding.yaml
clusterrolebinding.rbac.authorization.k8s.io/csw-clusterrolebinging created
For information on EKS roles and access, see the EKS Roles and Access Privileges section.
Configure EKS Settings in the AWS Connector Wizard
You enable the Managed Kubernetes Services capability when you configure the AWS connector. See Configure an AWS Connector.
You will need the Assume Role ARN for each EKS cluster. For more information, see: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
If you are using the AWS user to access the EKS cluster, allow the user to access the Assume Role.
If you are using a cross-account IAM role, allow the IAM role to access the Assume Role.
Azure Connector
The Azure connector connects with your Microsoft Azure account to perform the following high-level functions:
-
Automated ingestion of inventory (and its tags) live from your Azure virtual networks (VNets) Azure allows you to assign metadata to your resources in the form of tags. Secure Workload can ingest the tags associated with virtual machines and network interfaces, which can then be used as labels in Secure Workload for inventory and traffic flow data visualization and policy definitions. This metadata is synchronized constantly.
The tags from workloads and network interfaces of the subscription associated with the connector are ingested. If both workloads and network interfaces are configured then the tags are merged and displayed in Secure Workload. For more information, see Labels Generated by Cloud Connectors.
-
Ingestion of flow logs The connector can ingest flow logs that you set up in Azure for your Network Security Groups (NSGs). You can then use this telemetry data in Secure Workload for visualization and segmentation policy generation.
-
Segmentation When enforcement of segmentation policy is enabled for a virtual network, Secure Workload policies will be enforced using Azure's native Network Security Groups.
-
Automated ingestion of metadata from AKS clusters When Azure Kubernetes Services (AKS) are running on Azure, you can choose to gather all node, service, and pod metadata related to all selected Kubernetes clusters.
You can choose which of the above capabilities to enable for each VNet.
Azure connector supports multiple subscriptions.
![]() Note |
China Regions are currently not supported. |
Requirements and Prerequisites for Azure
For all capabilities: A single connector can handle multiple subscriptions. You will need a subscription ID to configure the connector. This subscription ID can be one of the many subscription IDs that are being onboarded to a connector.
In Azure, create/register an application using Azure Active Directory (AD). You will need the following information from this application:
-
Application (client) ID
-
Directory (tenant) ID
-
Client credentials (you can use either a certificate or a client secret)
-
Subscription ID
The connector configuration wizard will generate an Azure Resource Manager (ARM) template that you can use to create a custom role with the permissions needed for the connector capabilities you choose to enable. These permissions will apply to all resources in the subscription you specify for the connector. Make sure you have permissions in Azure to upload this template.
If required for connectivity, ensure that you have an HTTP proxy available for this integration.
Each virtual network (VNet) can belong to only one Azure connector. An Azure account can have multiple Azure connectors.
This connector does not require a virtual appliance.
For gathering labels and inventory: No additional prerequisites are required.
For ingesting flow logs: Each virtual network (VNet) must have at least one subnet configured.
Every subnet under each VNet must have a Network Security Group (NSG) associated with it. You can associate a single NSG with multiple subnets. You can specify any Resource Group when configuring the NSG.
Only traffic that hits an NSG rule will be included in flow logs. Therefore, every NSG should have at least one rule each for inbound traffic and for outbound traffic that applies to any source, any destination – the equivalent of a catch-all rule in Secure Workload. (By default, NSGs include these rules.)
Each NSG must have flow logs enabled.
-
A storage account in Azure is required. Access permissions must be included for the subscription you are using for this connector.
-
The flow logs must use Version 2.
-
Retention time can be 2 days (the connector pulls new flow data every minute, and two days should allow enough time for any connection failures to be remedied.)
For segmentation: Enabling segmentation requires Gather Labels to be enabled.
When you enable segmentation for a virtual network (VNet), all existing rules are removed from the NSGs associated with subnets and the network interfaces that are part of those subnets. Back up your existing NSG rules on subnet and network interface before you enable segmentation in the connector.
See also Best Practices When Enforcing Segmentation Policy for Azure Inventory, below.
For managed Kubernetes services (AKS): If you will enable the Kubernetes AKS option, see requirements and prerequisites in the Managed Kubernetes Services running on Azure (AKS) section below, .
Azure Connector Configuration Overview
The following graphic gives a high-level overview of the connector configuration process. For essential details, see the next topic (Configure an Azure Connector.)
![Azure connector configuration overview](/c/dam/en/us/td/i/400001-500000/460001-470000/468001-469000/468825.jpg)
(Note that the numbers in the graphic do not correspond to step numbers in the detailed procedure.)
Configure an Azure Connector
Procedure
Step 1 |
From the navigation bar at the left side of the window, choose . |
||||||||||||||||
Step 2 |
Click the Azure connector. |
||||||||||||||||
Step 3 |
Click Enable for the first connector (in a root scope) or Enable Another for additional connectors in the same root scope. |
||||||||||||||||
Step 4 |
Understand and meet requirements and prerequisites in Requirements and Prerequisites, then click Get Started. |
||||||||||||||||
Step 5 |
Name the connector and choose desired capabilities: Selections you make on this page are used only to determine the privileges included in the Azure Resource Manager (ARM) template that will be generated in the next step, and to display the settings that you will need to configure. In order to enable segmentation, you must also enable Gather Labels. Enabling Segmentation on this page does not in itself enable policy enforcement or affect existing network security groups. Policy enforcement and deletion of existing security groups occurs only if you enable Segmentation for individual VNets later in the wizard. You can return to this wizard later to enable segmentation policy enforcement for individual VNets. |
||||||||||||||||
Step 6 |
Click Next and read the information on the configuration page. |
||||||||||||||||
Step 7 |
Your subscription must have the required privileges before you can continue to the next page in the wizard. To use the provided Azure Resource Manager (ARM) template to assign required permissions for the connector:
This template has the IAM permissions required for the capabilities that you selected in the previous step. If you enabled the Kubernetes managed services option, you must separately configure permissions for AKS. See Managed Kubernetes Services Running on Azure (AKS). |
||||||||||||||||
Step 8 |
Configure settings:
|
||||||||||||||||
Step 9 |
Click Next. It may take a few minutes for the system to obtain the list of VNets and AKS clusters from Azure. |
||||||||||||||||
Step 10 |
From the list of VNets and AKS clusters for each VNet, choose the VNets and AKS clusters for which you want to enable your selected capabilities. Generally, you should enable flow ingestion as soon as possible, so that Secure Workload can begin to collect enough data to suggest accurate policies. Note that since AKS only supports Gather Labels capability, no explicit capability selection has been provided. Selecting an AKS cluster will implicitly enable the supported capability. Upload the client certificate and key for each cluster for which you enable this functionality. Generally, you should not choose Enable Segmentation during initial configuration. Later, when you are ready to enforce segmentation policy for specific VNets, you can edit the connector and enable segmentation for those VNets. See Best Practices When Enforcing Segmentation Policy for Azure Inventory. |
||||||||||||||||
Step 11 |
Once your selections are complete, click Create and wait a few minutes for the validation check to complete. The View Groups page shows all VNets that you enabled for any functionality on the previous page, grouped by region. Each region, and each VNet in each region, is a new scope. |
||||||||||||||||
Step 12 |
(Optional) Choose the parent scope under which to add the new set of scopes. If you have not yet defined any scopes, your only option is the default scope. |
||||||||||||||||
Step 13 |
(Optional) To accept all settings configured in the wizard including the hierarchical scope tree, click Save. To accept all settings except the hierarchical scope tree, click Skip this step. You can manually create or edit the scope tree later, under . |
What to do next
If you have enabled gathering labels, ingesting flows data, and/or segmentation:
-
If you enabled flow ingestion, it may take up to 25 minutes for flows to begin appearing on the
page. -
(Optional) For richer flow data and other benefits including visibility into host vulnerabilities (CVEs), install the appropriate agent for your operating system on your VNet-based workloads. For requirements and details, see the agent installation chapter.
-
After you have successfully configured the Azure connector to gather labels and ingest flows, follow the standard process for building segmentation policies. For example: Allow Secure Workload to gather sufficient flow data to generate reliable policies; define or modify scopes (typically one for each VNet); create a workspace for each scope; automatically discover policies based on your flow data, and/or manually create policies; analyze and refine your policies; ensure that your policies meet the guidelines and best practices below; and then, when you are ready, approve and enforce those policies in the workspace. When you are ready to enforce segmentation policy for a particular VNet, return to the connector configuration to enable segmentation for the VNet. For details, see Best Practices When Enforcing Segmentation Policy for Azure Inventory.
If you have enabled the Kubernetes managed services (AKS) option:
-
Install Kubernetes agents on your container-based workloads. For details, see Installing Kubernetes or OpenShift Agents for Deep Visibility and Enforcement in the agent deployment chapter.
Edit an Azure Connector
You can edit an Azure connector, for example to enable segmentation enforcement for specific VNets or to make other changes.
Changes are not saved until you finish the wizard.
Procedure
Step 1 |
From the navigation bar at the left side of the window, choose . |
Step 2 |
Click Azure. |
Step 3 |
If you have more than one Azure connector, choose the connector to edit from the top of the window. |
Step 4 |
Click Edit Connector. |
Step 5 |
Click through the wizard again and make changes. For detailed descriptions of the settings, see Configure an Azure Connector. |
Step 6 |
If you enable different capabilities (gathering labels, ingesting flows, enforcing segmentation, or gathering AKS data), you must download the revised ARM template, edit the new template text to specify the subscription ID, and upload the new template to the custom role you created in Azure before continuing the wizard. |
Step 7 |
To enable enforcement of segmentation policy, first make sure you have completed recommended prerequisites described in Best Practices When Enforcing Segmentation Policy for Azure Inventory. Then, on the wizard page that lists the VNets, choose Enable Segmentation for the VNets on which you want to enable enforcement. |
Step 8 |
If you have already created scopes for any of the selected VNets, either using the wizard or manually, click Skip this step to complete the wizard. You can edit the scope tree manually using the page. |
Step 9 |
If you have not already created any scopes for the selected VNets and you want to keep the proposed hierarchy, choose the parent scope from above the scope tree, then click Save. |
Deleting Connectors and Data
If you delete a connector, data already ingested by that connector is not deleted.
Labels and inventory are automatically deleted from active inventory after 24 hours.
Best Practices When Enforcing Segmentation Policy for Azure Inventory
![]() Warning |
Before you enable segmentation enforcement on any VNet, create a backup of the network security groups on that VNet. Enabling segmentation for a VNet removes existing rules from the network security group associated with that virtual network. Disabling segmentation does not restore the old network security groups. |
When creating policies: As with all discovered policies, ensure that you have enough flow data to produce accurate policies.
We recommend that you enable enforcement in the workspace before you enable segmentation for the associated VNet. If you enable segmentation for a VNet that is not included in a workspace that has enforcement enabled, all traffic will be allowed on that VNet.
When you are ready to enforce policy for a VNet, edit the Azure connector (see Edit an Azure Connector) and enable segmentation for that VNet.
Note that if a subnet does not have a Network Security Group associated with it, Secure Workload does not enforce segmentation policy on that subnet. When you enforce segmentation policy on a VNet, the NSG at the subnet level is changed to allow all traffic, and Secure Workload policies overwrite the interface-level NSGs. An NSG for the interface is automatically created if not already present.
View Azure Inventory Labels, Details, and Enforcement Status
To view summary information for an Azure connector, navigate to the connector page (Manage > Connectors), then choose the connector from the top of the page. For more details, click a VNet row.
To view information about Azure VNet inventory, click an IP address on the Azure Connectors page to view the Inventory Profile page for that workload. For more information about inventory profiles, see Inventory Profile.
For information about labels, see:
Concrete policies for VNet inventory are generated based on their orchestrator_system/interface_id label value. You can see this on the Inventory Profile page.
To view enforcement status, choose Secure Workload window. For more information, see Enforcement Status for Cloud Connectors.
from the navigation bar on the left side of theTroubleshoot Azure Connector Issues
Problem: Azure unexpectedly allows all traffic
Solution: Make sure your Catch-All policy in Secure Workload is set to Deny.
Managed Kubernetes Services Running on Azure (AKS)
If you have deployed Azure Kubernetes Services (AKS) on your Azure cloud, then you can use an Azure connector to dynamically pull in inventory and labels (AKS tags) from your Kubernetes cluster.
When an Azure connector is configured to pull metadata from managed Kubernetes services, Secure Workload tracks the status of nodes, pods and services in that cluster.
For the Kubernetes labels gathered and generated using this connector, see Labels Related to Kubernetes Clusters.
Requirements and Prerequisites for AKS
-
Verify that your Kubernetes version is supported. See the Compatibility Matrix for the operating systems, external systems, and connectors for Secure Workload agents.
-
Enable and configure the Managed Kubernetes Services (AKS) capability when you configure the Azure connector. See Configure an Azure Connector for details.
GCP Connector
The Google Cloud Platform connector connects with GCP to perform the following high-level functions:
-
Automated ingestion of inventory (and its tags) live from GCP Virtual Private Cloud (VPC)
GCP allows you to assign metadata to your resources in the form of tags. Secure Workload will query the tags for these resources which can then be used for inventory and traffic flow data visualization, and policy definition. This capability keeps the resource tag mapping updated by constantly synchronizing this data.
The tags from workloads and network interfaces of a GCP VPC are ingested. If both workloads and network interfaces are configured then the tags are merged and displayed in Secure Workload. For more information, see Labels Generated by Cloud Connectors.
-
Ingestion of flow logs from VPC If you have set up VPC flow logs in GCP for monitoring purposes, Secure Workload can ingest flow log information by reading the corresponding Google Storage bucket. This telemetry can be used for visualization and segmentation policy generation.
-
Segmentation Enabling this option will allow Secure Workload to program security policies using GCP native VPC firewall. When enforcement is enabled for a VPC, relevant policies will be automatically programmed to the VPC firewall.
-
Automated ingestion of metadata from GKE clusters (K8s capabilities) when Google Kubernetes Engine (GKE) is running on GCP, you can choose to gather all node, service, and pod metadata related to all selected Kubernetes clusters.
You can choose which of the above capabilities to enable for each VPC.
Requirements and Prerequisites for GCP Conector
For all capabilities: Create a dedicated service account in GCP, or identify an existing GCP service account for this connector. The connector configuration wizard generates a IAM policy list that you can use to assign required privileges to this service account. Make sure you have permissions in GCP to upload this IAM policy list.
![]() Note |
The recommended method for applying the permission in the IAM policy list to the service account is through the CLI. |
Each VPC can belong to only one GCP connector. An Secure Workload cluster can have multiple GCP connectors. Gather the information described in the tables in Configure a GCP Connector, below.
This connector does not require a virtual appliance.
-
For gathering labels and inventory: No additional prerequisites are required.
-
For ingesting flow logs: VPC level flow log definitions are required in order to trigger the collection of flow logs.
To use the flow log ingestion, user is required to enable flow logs on the desired VPCs and setup a log router sink.
Inclusion filter for the log router sink:
-
resource.type="gce-subnetwork"
-
log_name="projects/<project_id>/logs/compute.googleapis.com%2Fvpc_flows"
Choose the sink destination as a cloud storage bucket and then choose the desired storage bucket.
While configuring the GCP connector with ingress flow logs, it is mandatory to enter the storage bucket name.
Only flow logs from VPC can be ingested.
Flow logs must be published to Google storage bucket; Secure Workload cannot collect flow data from Google Cloud Operations Suite.
Secure Workload can ingest flow logs from an Google Storage bucket associated with any account, if the GCP user account provided during connector creation have access to both the VPC flow logs and the Google storage bucket.
The following flow log attributes (in any order) are required in the flow log: Source Address, Destination Address, Source Port, Destination Port, Protocol, Packets, Bytes, Start Time, End Time, Action, TCP Flags, Interface-ID, Log status and Flow Direction. Any other attributes are ignored.
Flow logs must capture both Allowed and Denied traffic.
-
-
For segmentation: Enabling segmentation requires Gather Labels to be enabled.
Back up your existing security groups before enabling segmentation in the connector, as all existing rules will be overwritten when you enable segmentation policy enforcement for a VPC.
See also Best Practices When Enforcing Segmentation Policy for GCP Inventory, below.
-
For managed Kubernetes services (GKE): If you enable the Kubernetes option, see requirements and prerequisites in the Managed Kubernetes Services Running on GCP (GKE) section below, including required access privileges.
Configure Multiple Projects Access in GCP
To configure cross multiple projects access in GCP, you can follow these steps:
Procedure
Step 1 |
Sign in to your GCP console. |
||
Step 2 |
Click on the project drop-down menu in the top navigation bar and select New Project or you can either create a new Project or use an existing project with service Account. |
||
Step 3 |
Enter a name for your new project. Choose the organization that own the new project or select No organization if you do not have one. |
||
Step 4 |
Click on the Create button to create the new project.
|
||
Step 5 |
To link multiple projects in a single service account, navigate to IAM & Admin page and choose Service Account. |
||
Step 6 |
Click on the Create Service Account button. Follow the prompts to create the service account and grant it the necessary permissions.
|
||
Step 7 |
From the Keys tab, click Add Key to generate a private key in JSON file. |
||
Step 8 |
Go to the IAM & Admin page in the GCP console and select IAM.
|
||
Step 9 |
Click on the Grant access button to add a new project. |
||
Step 10 |
In the New principals field, enter the email address of the service account you want to link to the project. |
||
Step 11 |
Click on the Save button to associate the service account to your project.
|
||
Step 12 |
Make sure that the Service Account has permissions to least common ancestor (common ancestor to all the projects selected) resource level, such as a folder or organization. |
GCP Connector Configuration Overview
The following graphic gives a high-level overview of the connector configuration process. For essential details, see the next topic (Configure a GCP Connector.)
![](/c/dam/en/us/td/i/400001-500000/470001-480000/472001-473000/472467.jpg)
(Note that the numbers in the graphic do not correspond to step numbers in the detailed procedure.)
Configure a GCP Connector
Procedure
Step 1 |
From the navigation bar at the left side of the window, choose . |
||||||||
Step 2 |
Click the GCP connector. |
||||||||
Step 3 |
Click Enable for the first connector (in a root scope) or Enable Another for additional connectors in the same root scope. |
||||||||
Step 4 |
Understand and meet requirements and prerequisites in Requirements and Prerequisites for GCP Conector and Managed Kubernetes Services Running on GCP (GKE), then click Get Started. |
||||||||
Step 5 |
Enter a name for the connector and choose desired capabilities, then click Next. Selections you make on this page are used only to determine the privileges included in the IAM policy list that will be generated in the next step, and to display the settings that you will need to configure. In order to enable segmentation, you must enable Gather Labels. ![]() |
||||||||
Step 6 |
Create service account in the Google Cloud console. |
||||||||
Step 7 |
Download the generated IAM custom role policy list from the Secure Workload GCP Connector configuration windows. This IAM custom role policy list has the IAM privileges required for the capabilities that you selected in the previous step. If you enabled the Kubernetes option, you must separately configure permissions for GKE. See the Managed Kubernetes Services Running on GCP (GKE). |
||||||||
Step 8 |
(Optional) To generate IAM custom role using Google Cloud CLI. Sample command for custom role creation using Google Cloud CLI is as shown below.
|
||||||||
Step 9 |
Attach the created role to the service account in GCP console. |
||||||||
Step 10 |
Upload service account json file with required capabilities you have prepared in the prerequisites above.
|
||||||||
Step 11 |
Enter the Flow Log Storage Bucket Name if the the Ingress Flow logs capability is checked. |
||||||||
Step 12 |
Enter the Root Resource Id, which is the GCP folder ID or organization ID.
|
||||||||
Step 13 |
Configure the following settings:
|
||||||||
Step 14 |
Click Next. It may take a few minutes for the system to obtain the list of virtual network and GKE clusters from your GCP project(s). |
||||||||
Step 15 |
From the list of VPCs (Virtual Networks) and GKE clusters, choose the resources and their respective capabilities. Generally, you should enable flow ingestion as soon as possible, so that Secure Workload can begin to collect enough data required to suggest accurate policies. Generally, you should not choose Enable Segmentation during initial configuration. Later, when you are ready to enforce segmentation policy for specific VPCs, you can edit the connector and enable segmentation for those VPCs. See the Best Practices When Enforcing Segmentation Policy for GCP Inventory. |
||||||||
Step 16 |
Click Create and wait a few minutes for the validation check to complete. The View Groups page shows all VPCs that you enabled for any functionality on the previous page, grouped by logical_group_id (CSW), which is also a project_id (GCP). Each logical_group_id, and each VPC in each logical_group_id, is a new scope. |
||||||||
Step 17 |
Choose the parent scope under which to add the new set of scopes. If you have not yet defined any scopes, your only option is the default scope. |
||||||||
Step 18 |
To accept all settings configured in the wizard including the hierarchical scope tree, click Save. To accept all settings except the hierarchical scope tree, click Skip this step. You can manually create or edit the scope tree later, under . |
What to do next
If you have enabled gathering labels, ingesting flow data, and/or segmentation:
-
If you enabled flow ingestion, it may take up to 25 minutes for flows to begin appearing on the
page. -
(Optional) For richer flow data and other benefits including visibility into host vulnerabilities (CVEs), install the appropriate agent for your operating system on your VPC-based workloads. For requirements and details, see the agent installation chapter.
-
After you have successfully configured the GCP connector to gather labels and ingest flows, follow the standard process for building segmentation policies. For example: Allow Secure Workload to gather sufficient flow data to generate reliable policies; define or modify scopes (typically one for each VPC); create a workspace for each scope; automatically discover policies based on your flow data, and/or manually create policies; analyze and refine your policies; ensure that your policies meet the guidelines and best practices below; and then, when you are ready, approve and enforce those policies in the workspace. When you are ready to enforce segmentation policy for a particular VPC, return to the connector configuration to enable segmentation for the VPC. For details, see Best Practices When Enforcing Segmentation Policy for GCP Inventory.
If you have enabled the Kubernetes managed services (GKE) option:
-
Install Kubernetes agents on your container-based workloads. For details, see Kubernetes/Openshift Agents - Deep Visibility and Enforcement in the agent deployment chapter.
Edit a GCP Connector
If you want to enable gathering data from different or additional VPCs or GKE clusters, you may need to upload a service account json file with required capabilities with different permissions before you can select different VPCs or GKEs.
Changes are not saved until you finish the wizard.
Procedure
Step 1 |
From the navigation bar at the left side of the window, choose . |
Step 2 |
Click GCP Connector. |
Step 3 |
If you have more than one GCP connector, choose the connector to edit from the top of the window. |
Step 4 |
Click Edit Connector. |
Step 5 |
Click through the wizard again and make changes. For detailed descriptions of the settings, see Configure a GCP Connector. |
Step 6 |
If you enable different capabilities (gathering labels, ingesting flows, enforcing segmentation, or gathering GKE data), you must download the revised IAM template and upload it to GKE before continuing the wizard. |
Step 7 |
To enable enforcement of segmentation policy, first ensure that you have completed recommended prerequisites described in Best Practices When Enforcing Segmentation Policy for GCP Inventory. On the page that lists the VPCs, select Enable Segmentation for the VPCs on which you want to enable enforcement. |
Step 8 |
If you have already created scopes for any of the selected VPCs, either using the wizard or manually, click Skip this step to complete the wizard. You can edit the scope tree manually using the page. |
Step 9 |
If you have not already created any scopes for the selected VPCs and you want to keep the proposed hierarchy, choose the parent scope from above the scope tree, then click Save. |
Deleting Connectors and Data GCP
If you delete a connector, data already ingested by that connector is not deleted.
Labels and inventory are automatically deleted from active inventory after 24 hours.
Best Practices When Enforcing Segmentation Policy for GCP Inventory
![]() Warning |
Before you enable segmentation enforcement on any VPC, create a backup of the security groups on that VPC. Enabling segmentation for a VPC removes existing Security Groups from that VPC. Disabling segmentation does not restore the old security groups. |
When creating policies:
-
As with all discovered policies, ensure that you have enough flow data to produce accurate policies.
-
Because GCP allows both ALLOW/DENY rules in firewall policy. Since GCP has very strict limitation on number of rules.So, it is better to have only ALLOW-list.
We recommend that you enable enforcement in the workspace before you enable segmentation for the associated VPC. If you enable segmentation for a VPC that is not included in a workspace that has enforcement enabled, all traffic will be allowed on that VPC.
When you are ready to enforce policy for a VPC, edit the GCP connector (see Edit a GCP Connector) and enable segmentation for that VPC.
GKE Inventory Labels, Details, and Enforcement Status
To view summary information for a GCP connector, navigate to Connector > and choose GCP Connector on the Connectors page.
To view information about inventory, click the IP address of a particular workload from the Scopes and Inventory page. You can also access the Inventory Profile from the interface tab on the VPC Profile. For more information about the Inventory profile, see Inventory Profile.
Similarly, to view all Concrete Policies under the VPC profile, from the Inventory Profile Concrete Policies tab, navigate to the parent VPC Profile to see all the Concrete Policies under the VPC.
The VPC Profile is accessible from the GCP Configuration or Enforcement Status page (either global or within a workspace). You can view the Enforcement Status and Concrete Policies at the VPC level on the VPC Profile. You can also view the combined VPC Firewall Polices of all the interfaces on the VPC Firewall Policies tab.
For more information on labels, see:
Troubleshoot GCP Connector Issues
Problem: The Enforcement Status page shows that a Concrete Policy was SKIPPED.
Solution: This occurs when the number of rules in firewall policy exceeds the GCP limits, as configured in the GCP connector.
When a concrete policy shows as SKIPPED, the new security groups are not implemented and the previously existing security groups on GCP remain in effect.
To resolve this issue, see if you can consolidate policies, for example by using a larger subnet in one policy rather than multiple policies with smaller subnets.
Background:
Concrete policies are generated for each VPC when segmentation is enabled. These concrete policies are used to create firewall policy in GCP. However, GCP and Secure Workload count policies differently. When converting Secure Workload policies to GCP firewall rules in firewall policy, GCP counting mechanism is complex. For more details,see GCP.
Problem: GCP unexpectedly allows all traffic
Solution: Make sure your Catch-All policy in Secure Workload is set to Deny.
Managed Kubernetes Services Running on GCP (GKE)
You can use a cloud connector to gather metadata from Google Kubernetes Engine (GKE) clusters running on Google Cloud Platform (GCP).
The connector gathers all node, service, and pod metadata related to all selected Kubernetes clusters.
Requirements and Prerequisites
Secure Workload requirements: This connector does not require a virtual appliance.
Platform requirements:
-
Make sure you have permissions in GCP to configure the required access for this connector.
-
Each GKE cluster can only belong to one GCP connector.
-
Gather the information described in the tables in Configure a GCP connector, below.
GKE requirements:
-
You must configure the required access privileges in GKE.
-
To support Managed K8s capabilities, the roles required by the service account are:
-
Compute Network Viewer is an IAM role that gives read-only access to all network resources in GCP.https://cloud.google.com/compute/docs/access/iam#compute.networkViewer
-
Kubernetes Engine Viewer is a GKE cluster role that provides read-only access to resources within GKE clusters, such as nodes, pods, and GKE API objects. https://cloud.google.com/iam/docs/understanding-roles#kubernetes-engine-roles
-