Infoblox::Grid::ThreatProtection - Grid Threat Protection object.


NAME

Infoblox::Grid::ThreatProtection - Grid Threat Protection object.


DESCRIPTION

This object provides information about the Grid Threat protection settings.


SESSION METHODS

The following functions can be applied to a Grid::ThreatProtection object.

Infoblox::Session->get( )

Use this method to retrieve all the matching objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.

Key References
 Apply the following attributes to get a specific Grid Threat Protection object
  object - Required. It must be set to "Infoblox::Grid::ThreatProtection".
Example
 my @retrieved_objs = $session->get(
     'object' => 'Infoblox::Grid::ThreatProtection',
 );

Infoblox::Session->modify( )

Use this method to modify an object in the Infoblox appliance. See Infoblox::Session->modify() for parameters and return values.

Example
 # 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 );


METHODS

This section describes all the methods that you can use to configure and retrieve values of the Threat Protection object.

current_ruleset( )

Use this method to set or retrieve the current Grid ruleset.

Parameter

Valid value is an Infoblox::Grid::ThreatProtection::Ruleset object.

Returns

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.

Example
 #Get attribute value
 my $value = $obj->current_ruleset();
 #Modify attribute value
 $obj->current_ruleset($rs);

enable_nat_rules( )

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.

Paramter

Specify 'true' to enable NAT mapping support for threat protection or 'false' to disable it. The default value is 'false'.

Returns

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.

Example
 #Get attribute value
 my $value = $object->enable_nat_rules();
 #Modify attribute value
 $object->enable_nat_rules('true');

events_per_second_per_rule( )

Use this method to set or retrieve the number of events logged per second per rule.

Parameter

The number of events logged per second per rule in string format.

Returns

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.

Example
 # Get attribute value
 my $value = $object->events_per_second_per_rule();
 # Modify attribute value
 $object->events_per_second_per_rule('2');

enable_auto_download( )

Use this method to enable or disable the auto download service.

Parameter

Specify 'true' to enable the auto download service or 'false' to disable it. The default value is 'false'.

Returns

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.

Example
 #Get attribute value
 my $value = $obj->enable_auto_download();
 #Modify attribute value
 $obj->enable_auto_download('true');

enable_scheduled_download( )

Use this method to enable or disable the scheduled download. The default frequency is once every 24 hours if it is disabled.

Parameter

Specify 'true' to enable the scheduled download or 'false' to disable it. The default value is 'false'.

Returns

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.

Example
 #Get attribute value
 my $value = $obj->enable_scheduled_download();
 #Modify attribute value
 $obj->enable_scheduled_download('true');

rule_update_policy( )

Use this method to set or retrieve the updated rule policy.

Parameter

Valid value is 'AUTOMATIC' or 'MANUAL'.

Returns

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.

Example
 # Get attribute value
 my $value = $object->rule_update_policy();
 # Modify attribute value
 $object->rule_update_policy('MANUAL');

last_checked_for_update( )

Use this method to retrieve the time when the Grid last checked for updates.

Parameter

None

Returns

The method returns the attribute value, the number of seconds that have elapsed since January 1st, 1970 UTC.

Example
 # Get attribute value
 my $value = $object->last_checked_for_update();

last_rule_update_version( )

Use this method to retrieve the last rule update version. This is a read-only attribute.

Parameter

None

Returns

The method returns the attribute value.

Example
 # Get attribute value
 my $value = $object->last_rule_update_version();

nat_rules( )

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.

Parameter

The valid value is an array of Infoblox::Grid::ThreatProtection::NATRule objects.

Returns

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.

Example
 #Get attribute value
 my $value = $obj->nat_rules();
 #Modify attribute value
 $obj->nat_rules($nat_rules);

scheduled_download( )

Use this method to set or retrieve the schedule setting for automatic rule update.

Parameter

Valid value is an Infoblox::Grid::ScheduleSetting object.

Returns

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.

Example
 #Get attribute value
 my $value = $obj->scheduled_download();
 #Modify attribute value
 $obj->scheduled_download($schedule);

test_threat_protection_server_connectivity( )

Use this method ot test the connectivity with the Infoblox threat protection server.

Key Reference

None

Returns

The method returns an Infoblox::Grid::TestResult object if connectivity test occurs and 0 otherwise.

Example
 my $res = $obj->test_threat_protection_server_connectivity();

disable_multiple_dns_tcp_request( )

Use this method to disable multiple BIND responses via TCP connection.

Parameter

Set the parameter to "true" to disable multiple TCP requests. Set the parameter to "false" to enable multiple TCP requests.

Returns

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.

Example
 # Get attribute value
 my $value = $object->disable_multiple_dns_tcp_request();
 # Modify attribute value
 $object->disable_multiple_dns_tcp_request('true');


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::Session, Infoblox::Grid::Member::ThreatProtection, Infoblox::Grid::ScheduleSetting, Infoblox::Grid::ThreatProtection::NATRule


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.