Infoblox::Grid::ThreatProtection - Grid Threat Protection object.
This object provides information about the Grid Threat protection settings.
The following functions can be applied to a Grid::ThreatProtection object.
Use this method to retrieve all the matching objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.
Apply the following attributes to get a specific Grid Threat Protection object object - Required. It must be set to "Infoblox::Grid::ThreatProtection".
my @retrieved_objs = $session->get( 'object' => 'Infoblox::Grid::ThreatProtection', );
Use this method to modify an object in the Infoblox appliance. See Infoblox::Session->modify() for parameters and return values.
# Use this method to modify some of the attributes of the retrieved_objs object. $retrieved_objs->events_per_second_per_rule('2'); $retrieved_objs->rule_update_policy('MANUAL'); # Submit modification my $response = $session->modify( $retrieved_objs );
This section describes all the methods that you can use to configure and retrieve values of the Threat Protection object.
Use this method to set or retrieve the current Grid ruleset.
Valid value is an Infoblox::Grid::ThreatProtection::Ruleset object.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $obj->current_ruleset(); #Modify attribute value $obj->current_ruleset($rs);
Use this method to enable or disable the NAT Threat Protection feature.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Specify 'true' to enable NAT mapping support for threat protection or 'false' to disable it. The default value is 'false'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $object->enable_nat_rules();
#Modify attribute value $object->enable_nat_rules('true');
Use this method to set or retrieve the number of events logged per second per rule.
The number of events logged per second per rule in string format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
# Get attribute value my $value = $object->events_per_second_per_rule(); # Modify attribute value $object->events_per_second_per_rule('2');
Use this method to enable or disable the auto download service.
Specify 'true' to enable the auto download service or 'false' to disable it. The default value is 'false'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $obj->enable_auto_download(); #Modify attribute value $obj->enable_auto_download('true');
Use this method to enable or disable the scheduled download. The default frequency is once every 24 hours if it is disabled.
Specify 'true' to enable the scheduled download or 'false' to disable it. The default value is 'false'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $obj->enable_scheduled_download(); #Modify attribute value $obj->enable_scheduled_download('true');
Use this method to set or retrieve the updated rule policy.
Valid value is 'AUTOMATIC' or 'MANUAL'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
# Get attribute value my $value = $object->rule_update_policy(); # Modify attribute value $object->rule_update_policy('MANUAL');
Use this method to retrieve the time when the Grid last checked for updates.
None
The method returns the attribute value, the number of seconds that have elapsed since January 1st, 1970 UTC.
# Get attribute value my $value = $object->last_checked_for_update();
Use this method to retrieve the last rule update version. This is a read-only attribute.
None
The method returns the attribute value.
# Get attribute value my $value = $object->last_rule_update_version();
Use this method to set or retrieve the list of NAT mapping rules for threat protection.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an array of Infoblox::Grid::ThreatProtection::NATRule objects.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $obj->nat_rules(); #Modify attribute value $obj->nat_rules($nat_rules);
Use this method to set or retrieve the schedule setting for automatic rule update.
Valid value is an Infoblox::Grid::ScheduleSetting object.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#Get attribute value my $value = $obj->scheduled_download(); #Modify attribute value $obj->scheduled_download($schedule);
Use this method ot test the connectivity with the Infoblox threat protection server.
None
The method returns an Infoblox::Grid::TestResult object if connectivity test occurs and 0 otherwise.
my $res = $obj->test_threat_protection_server_connectivity();
Use this method to disable multiple BIND responses via TCP connection.
Set the parameter to "true" to disable multiple TCP requests. Set the parameter to "false" to enable multiple TCP requests.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
# Get attribute value my $value = $object->disable_multiple_dns_tcp_request(); # Modify attribute value $object->disable_multiple_dns_tcp_request('true');
Infoblox Inc. http://www.infoblox.com/
Infoblox::Session, Infoblox::Grid::Member::ThreatProtection, Infoblox::Grid::ScheduleSetting, Infoblox::Grid::ThreatProtection::NATRule
Copyright (c) 2017 Infoblox Inc.