Infoblox::DNS::FireEyeAlertMap - FireEye Alert Map object


NAME

Infoblox::DNS::FireEyeAlertMap - FireEye Alert Map object


DESCRIPTION

The alert map object is used to configure FireEye alerts to Response Policy Zone rules.


CONSTRUCTOR

 my $alertmap = Infoblox::DNS::FireEye::AlertMap->new(
     alert_type => "INFECTION_MATCH" | "WEB_INFECTION" | "MALWARE_OBJECT" | "DOMAIN_MATCH" | "MALWARE_CALLBACK", # Required
     rpz_rule   => "PASSTHRU" | "NXDOMAIN" | "NODATA" | "SUBSTITUTE" | "NONE", # Required
     lifetime   => $uint, # Required
 );


MODULE METHODS

The following functions are available to apply to a FireEye Alert Map object.

Infoblox::DNS::FireEye::RuleMapping->fireeye_alert_mapping( )

Use this function to specify the alert map for this rule mapping. See Infoblox::DNS::FireEye::RuleMapping->fireeye_alert_mapping() for parameters, return values and code samples.


METHODS

This section describes all the methods that you can use to set and retrieve the attribute values of a DNS Member object.

alert_type( )

Use this method to set or retrieve the alert type.

Parameter

The valid value is one of "INFECTION_MATCH", "WEB_INFECTION", "MALWARE_OBJECT", "DOMAIN_MATCH" or "MALWARE_CALLBACK".

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 alert_type
 my $alert_type = $am->alert_type();
 #Modify alert_type
 $am->alert_type("INFECTION_MATCH");

rpz_rule( )

Use this method to set or retrieve the rpz rule.

Parameter

The valid value is one of "PASSTHRU", "NXDOMAIN", "NODATA", "SUBSTITUTE" or "NONE".

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 rpz_rule
 my $rpz_rule = $am->rpz_rule();
 #Modify rpz_rule
 $am->rpz_rule("PASSTHRU");

lifetime( )

Use this method to set or retrieve the expiration lifetime for this alert type.

Parameter

The valid value is an unsigned integer, which specifies the amount of seconds this alert type will live for. 0 means the alert will never expire.

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 lifetime
 my $lifetime = $am->lifetime();
 #Modify lifetime
 $am->lifetime(1234);


AUTHOR

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


SEE ALSO

Infoblox::DNS::Zone, Infoblox::DNS::Zone


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.