import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Network Firewall Policy Security Rule resource in Oracle Cloud Infrastructure Network Firewall service. * * Get Security Rule by the given name in the context of network firewall policy. * * ## Example Usage */ export declare function getNetworkFirewallPolicySecurityRule(args: GetNetworkFirewallPolicySecurityRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNetworkFirewallPolicySecurityRule. */ export interface GetNetworkFirewallPolicySecurityRuleArgs { /** * Name for the Security rule, must be unique within the policy. */ name: string; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: string; } /** * A collection of values returned by getNetworkFirewallPolicySecurityRule. */ export interface GetNetworkFirewallPolicySecurityRuleResult { /** * Types of Action on the Traffic flow. * * ALLOW - Allows the traffic. * * DROP - Silently drops the traffic, e.g. without sending a TCP reset. * * REJECT - Rejects the traffic, sending a TCP reset to client and/or server as applicable. * * INSPECT - Inspects traffic for vulnerability as specified in `inspection`, which may result in rejection. */ readonly action: string; /** * Criteria to evaluate against network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic. */ readonly conditions: outputs.NetworkFirewall.GetNetworkFirewallPolicySecurityRuleCondition[]; /** * The description of the security rule. This field can be used to add additional info. */ readonly description: string; readonly id: string; /** * Type of inspection to affect the Traffic flow. This is only applicable if action is INSPECT. * * INTRUSION_DETECTION - Intrusion Detection. * * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`. */ readonly inspection: string; /** * Name for the Security rule, must be unique within the policy. */ readonly name: string; readonly networkFirewallPolicyId: string; /** * OCID of the Network Firewall Policy this security rule belongs to. */ readonly parentResourceId: string; /** * An object which defines the position of the rule. */ readonly positions: outputs.NetworkFirewall.GetNetworkFirewallPolicySecurityRulePosition[]; readonly priorityOrder: string; } /** * This data source provides details about a specific Network Firewall Policy Security Rule resource in Oracle Cloud Infrastructure Network Firewall service. * * Get Security Rule by the given name in the context of network firewall policy. * * ## Example Usage */ export declare function getNetworkFirewallPolicySecurityRuleOutput(args: GetNetworkFirewallPolicySecurityRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNetworkFirewallPolicySecurityRule. */ export interface GetNetworkFirewallPolicySecurityRuleOutputArgs { /** * Name for the Security rule, must be unique within the policy. */ name: pulumi.Input; /** * Unique Network Firewall Policy identifier */ networkFirewallPolicyId: pulumi.Input; } //# sourceMappingURL=getNetworkFirewallPolicySecurityRule.d.ts.map