Nachdem ich Antivirus oder Host IDS gekauft habe, was ist richtig api für Edit Antivirus & Edit Host IDS (wie Security Software Liste der Softlayer Kontrolle) ich bin implementieren jetzt in Java, aber wenn es andere Sprachen Proben sind, lassen Sie mich wissenSicherheitssoftware Bearbeiten von Antivirus & Edit Host IDS API
0
A
Antwort
0
Um Edit anti-virus
finden Sie unter (Rest Beispiel):
https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Software_Component_AntivirusSpyware/9510197/updateAntivirusSpywarePolicy
Method: POST
Json payload:
{
"parameters": [
4,
true
]
}
Referenzen:
SoftLayer_Software_Component_AntivirusSpyware::updateAntivirusSpywarePolicy
Host IDS Policy
zu bearbeiten, finden Sie in der folgenden Anfrage:
https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Software_Component_HostIps/[Host_IDS_id]/updateHipsPolicies
Method: POST
Json Payload:
{
"parameters": [
"On_10", # IPS Mode
"Maximum Protection", # IPS Protection
"McAfee Default", # Firewall Mode
"No_Rules", # Firewall RuleSet
"", # newApplicationMode, this option cannot be set in Control Portal (N/A)
"", # newApplicationRuleset, this option cannot be set in Control Portal (N/A)
"__EPO_ENFORCE_YES__" # Enforcement Policy
]
}
Werte in der obigen Anforderung einstellen zu erhalten, führen Sie bitte:
https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Software_Component_HostIps/[Host_IDS_id]/getObject?objectMask=enforcementPolicyNames;ipsModePolicyNames;ipsProtectionPolicyNames;firewallModePolicyNames;firewallRuleSetPolicyNames
Method: GET
Die Antwort wäre in etwa so:
{
"hardwareId": 588888,
"id": 9700000,
"manufacturerLicenseInstance": "0CC47A581D3888",
"epoVersion": "4.5",
"enforcementPolicyNames": [
{
"name": "__EPO_ENFORCE_YES__"
},
{
"name": "__EPO_ENFORCE_NO__"
}
],
"firewallModePolicyNames": [
{
"name": "McAfee Default"
},
{
"name": "My Default"
},
{
"name": "Off [McAfee Default]"
},
{
"name": "On"
},
{
"name": "Adaptive"
},
{
"name": "Learn"
},
{
"name": "Custom_FWONSpecial_DONOTUSE"
}
],
"firewallRuleSetPolicyNames": [
{
"name": "McAfee Default"
},
{
"name": "Typical Corporate Environment"
},
{
"name": "SLDefault"
},
{
"name": "No_Rules"
},
{
"name": "My Default"
}
],
"ipsModePolicyNames": [
{
"name": "McAfee Default"
},
{
"name": "On_120"
},
{
"name": "On [McAfee Default]"
},
{
"name": "Adaptive_10"
},
{
"name": "Adaptive_120"
},
{
"name": "Adaptive_UR"
},
{
"name": "On_10"
},
{
"name": "On_UR"
},
{
"name": "Off"
}
],
"ipsProtectionPolicyNames": [
{
"name": "Basic Protection [McAfee Default]"
},
{
"name": "Enhanced Protection"
},
{
"name": "Maximum Protection"
},
{
"name": "Prepare for Enhanced Protection"
},
{
"name": "Prepare for Maximum Protection"
},
{
"name": "Warning"
}
]
}
Referenzen: SoftLayer_Software_Component_HostIps::updateHipsPolicies
Verwandte Themen
- 1. Erkennen des Antivirus-Status
- 2. Prozess Selbstverteidigung wie Antivirus
- 3. Windows Server 2008 Antivirus-Software mit einer API
- 4. Drittanbieter-Antivirus-Name Fetch
- 5. Antivirus-Konflikt mit Programm
- 6. Antivirus aktivieren und deaktivieren
- 7. Powershell zum Bearbeiten der Host-Datei
- 8. local host api Zugriff von Android-Gerät
- 9. Edit Distanzalgorithmus
- 10. Telegram API Nachricht bearbeiten
- 11. Mapping von Office365 REST-Kalender-IDs zu EWS CalendarItem IDs
- 12. Edit Prototxt-Datei von Python
- 13. Edit Persistent Objekt
- 14. Edit Rails Modell von der Befehlszeile
- 15. Edit Datenbankspalte Parameter von Laravel (basteln)
- 16. Mehrzeilige Edit Text und Anfangsbuchstaben Großschreibung von Edit Text
- 17. Google Drive API Datei abrufen URL bearbeiten
- 18. Erhalten Sie Produkt Kategorie IDs von Magento v2.0 SOAP API
- 19. Edit-Modus in UITableView
- 20. Win API C++ - Steuerelement Bearbeiten erforderlich
- 21. Benötige ich Antivirus, etc. auf einer virtuellen Maschine?
- 22. Web-API-Routen zur Unterstützung von GUID- und Ganzzahl-IDs
- 23. Erstellen eines Bearbeiten API-Controller ASP.NET MVC
- 24. Edit Vuejs Daten von Komponente
- 25. Nested-IDs in REST-API-URL
- 26. Graph API: Wie paging mehrere IDs Anfrage?
- 27. Edit Quellcode beim Debuggen
- 28. Edit Textformat
- 29. Edit und Contiue VS2005
- 30. Wie erkennt ein Antivirus nicht bösartigen Code?