Cisco Cisco Security Manager 4.7 Guia De Especificaciones

Descargar
Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  63
 
3.1.5.1.1  Policy Config Device Response Example 
<?xml version="1.0" encoding="utf-8"?>
 
<
n:policyConfigDeviceResponse
 xmlns:n
="
csm
"
 xmlns:xsi
="
http://www.w3.org/2001/XMLSchema-
instance
"
 
>
 
 
<
policy
>
 
 
 
<
deviceAccessRuleFirewallPolicy
>
 
 
 
 
<
gid
>
00000000-0000-0000-0000-000000000889
</
gid
>
 
 
 
 
<
name
>
string
</
name
>
 
 
 
 
<
lastUpdateTime
>
1697-02-01T00:00:00Z
</
lastUpdateTime
 
 
 
<
updatedByUser
>
admin
</
updatedByUser
 
 
 
<
lastCommitTime
>
2012-12-05T09:18:39.371Z 
</
lastCommitTime
 
 
 
<
activityName
>
admin_05.Dec.2012_01.17.10
</
activityName
 
 
 
<
type
>
Access Rule
</
type
>
 
 
 
 
<
orderId
>
0
</
orderId
>
 
 
 
 
<
isMandatoryAggregation
>
false
</
isMandatoryAggregation
>
 
 
 
 
<
description
/>
 
 
 
 
<
isEnabled
>
true
</
isEnabled
>
 
 
 
 
<
direction
>
In
</
direction
>
 
 
 
 
<
permit
>
true
</
permit
>
 
 
 
 
<
interfaceRoleObjectGIDs
>
00000000-0000-0000-0000-
000000000123
</
interfaceRoleObjectGIDs
>
 
 
 
 
<
sources
>
 
 
 
 
 
<
networkObjectGIDs
>
00000000-0000-0000-0000-
000000000124
</
networkObjectGIDs
>
 
 
 
 
 
<
interfaceRoleObjectGIDs
>
00000000-0000-0000-0000-
000000000123
</
interfaceRoleObjectGIDs
>
 
 
 
 
 
<
ipv4Data
>
1.1.1.1/32
</
ipv4Data
>
 
 
 
 
</
sources
>
 
 
 
 
<
destinations
>
 
 
 
 
 
<
networkObjectGIDs
>
00000000-0000-0000-0000-
000000000125
</
networkObjectGIDs
>
 
 
 
 
 
<
interfaceRoleObjectGIDs
>
00000000-0000-0000-0000-
000000000123
</
interfaceRoleObjectGIDs
>
 
 
 
 
 
<
ipv4Data
>
2.2.2.2
</
ipv4Data
>
 
 
 
 
</
destinations
>
 
 
 
 
<
services
>
 
 
 
 
 
<
serviceObjectGIDs
>
00000000-0000-0000-0000-
000000000126
</
serviceObjectGIDs
>
 
 
 
 
 
<
serviceParameters
>
 
 
 
 
 
 
<
protocol
>
tcp
</
protocol
>
 
 
 
 
 
 
<
sourcePort
>
 
 
 
 
 
 
 
<
port
>
80
</
port
>
 
 
 
 
 
 
</
sourcePort
>
 
 
 
 
 
 
<
destinationPort
>
 
 
 
 
 
 
 
<
port
>
80
</
port
>
 
 
 
 
 
 
</
destinationPort
>
 
 
 
 
 
</
serviceParameters
>
 
 
 
 
</
services
>
 
 
 
 
<
logOptions
>
 
 
 
 
 
<
isFirewallLoggingEnabled
>
false
</
isFirewallLoggingEnabled
>
 
 
 
 
</
logOptions
>