Infoblox::DNS::FireEyeAlertMap - FireEye Alert Map object
The alert map object is used to configure FireEye alerts to Response Policy Zone rules.
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 );
The following functions are available to apply to a FireEye Alert Map object.
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.
This section describes all the methods that you can use to set and retrieve the attribute values of a DNS Member object.
Use this method to set or retrieve the alert type.
The valid value is one of "INFECTION_MATCH", "WEB_INFECTION", "MALWARE_OBJECT", "DOMAIN_MATCH" or "MALWARE_CALLBACK".
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 alert_type my $alert_type = $am->alert_type(); #Modify alert_type $am->alert_type("INFECTION_MATCH");
Use this method to set or retrieve the rpz rule.
The valid value is one of "PASSTHRU", "NXDOMAIN", "NODATA", "SUBSTITUTE" or "NONE".
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 rpz_rule my $rpz_rule = $am->rpz_rule(); #Modify rpz_rule $am->rpz_rule("PASSTHRU");
Use this method to set or retrieve the expiration lifetime for this alert type.
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.
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 lifetime my $lifetime = $am->lifetime(); #Modify lifetime $am->lifetime(1234);
Infoblox Inc. http://www.infoblox.com/
Infoblox::DNS::Zone, Infoblox::DNS::Zone
Copyright (c) 2017 Infoblox Inc.