我想知道是否有办法检索Fortigate防火墙日志,也可以在https://control.softlayer.com/devices/details/ / vlanFirewall中找到"报告"或任何其他日志。
我可以检索updateRequests,因此我可以获取链接到执行该操作的用户的防火墙规则集的更改历史记录。
此致 ILIAS
答案 0 :(得分:0)
请按以下步骤操作:
找到防火墙关联的 https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Network_Vlan_Firewall/[Vlan_Firewall_Id]/getNetworkVlans
Method: GET
:
[
{
"accountId": 207800,
"id": 204000,
"modifyDate": "2012-06-18T14:11:22-05:00",
"primarySubnetId": 420900,
"vlanNumber": 1600
}
]
响应应该是这样的:
Ip address
其中:'“id”:204000'是我们需要的
<强>参考文献:强>
SoftLayer_Network_Vlan_Firewall::getNetworkVlan
SoftLayer_Network_Vlan_Firewall::getNetworkVlans
要获取与上述 Vlan_Id
相关联的https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Network_Vlan/204000/getFirewallProtectableIpAddresses?objectMask=mask[ id,ipAddress]
Method: GET
列表,请执行:
Control Portal
<强>参考文献:强> SoftLayer_Network_Vlan::getFirewallProtectableIpAddresses
最后,在IP Address
,选择Ip_Address_Id = 54846700
(在我的情况下为Firewall Report
)以获取https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Network_Subnet_IpAddress/54846700/getSyslogEventsOneDay
Method: GET
。我们将执行以下操作:
CDialog
<强>参考文献:强>
SoftLayer_Network_Subnet_IpAddress::getSyslogEventsOneDay
SoftLayer_Network_Subnet_IpAddress::getSyslogEventsSevenDays
我希望这些信息可以帮到你。