Softlayer安全软件访问保护日志

时间:2016-05-03 09:09:41

标签: api ibm-cloud-infrastructure

订购安全软件(McAFee Anti-virus)后,如何使用API​​获取防病毒日志和访问保护日志?

enter image description here

1 个答案:

答案 0 :(得分:0)

此信息可能对您有所帮助:

https://forums.softlayer.com/forum/softlayer-developer-network/implementations/83143-python-api-retrieve-the-view-access-protection-logs

https://forums.softlayer.com/forum/softlayer-developer-network/implementations/83114-get-mcafee-epolicy-orchestrator-version45-event

目前,您要显示的信息仅可使用SOAP请求获取:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://api.service.softlayer.com/soap/v3/">
   <soapenv:Header>
      <authenticate xsi:type="v3:authenticate">
         <username xsi:type="xsd:string">?</username>
         <apiKey xsi:type="xsd:string">?</apiKey>
      </authenticate>
      <SoftLayer_Software_Component_AntivirusSpywareInitParameters xsi:type="v3:SoftLayer_Software_Component_AntivirusSpywareInitParameters">
         <id xsi:type="xsd:int">9510000</id>
      </SoftLayer_Software_Component_AntivirusSpywareInitParameters>
      <SoftLayer_ObjectMask xsi:type="v3:SoftLayer_ObjectMask">
         <mask xsi:type="xsd:string">?</mask>
      </SoftLayer_ObjectMask>
      <SoftLayer_Software_Component_AntivirusSpywareObjectFilter xsi:type="v3:SoftLayer_Software_Component_AntivirusSpywareObjectFilter"/>
      <SoftLayer_Software_Component_AntivirusSpywareObjectMask xsi:type="v3:SoftLayer_Software_Component_AntivirusSpywareObjectMask">
               <mask>
                 <latestAntivirusEvents>
                   <virusActionTaken/>
                </latestAntivirusEvents>            
               </mask>
      </SoftLayer_Software_Component_AntivirusSpywareObjectMask>
   </soapenv:Header>
   <soapenv:Body>
      <v3:getObject soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
   </soapenv:Body>
</soapenv:Envelope>

存在与此问题相关的问题。