updateHipsPolicies


SoftLayer_Software_Component_Trellix::updateHipsPolicies

Update the Host IPS policies.

Description

Update the Host IPS policies. To retrieve valid policy options you must use the provided relationships.

Parameters

Name Type Description
newIpsMode string IPS mode setting to be updated.
newIpsProtection string IPS protection setting to be updated
newFirewallMode string Firewall mode setting to be updated
newFirewallRuleset string Firewall rule set setting to be updated
newApplicationMode string Application mode setting to be updated
newApplicationRuleset string Application rule set setting to be updated
newEnforcementPolicy string Enforcement policy setting to be updated

Required Headers

Optional Headers

  • None

Return Values

  • boolean

Error Handling

  • Throws the error “A host ips policy update may only take place if a previous anti-virus/spyware policy update has finished.”
  • Throws the error “The host ips policy update page returned a failed response code.”
  • Throws the error “The host ips policies could not be updated at this time.”
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string, string, string, string, string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Software_Component_Trellix/{SoftLayer_Software_Component_TrellixID}/updateHipsPolicies'