libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.NetworkFirewall.Types.RulesSource

Description

 
Synopsis

Documentation

data RulesSource Source #

The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single RulesSource. You can use an instance of this for either stateless rules or stateful rules.

See: newRulesSource smart constructor.

Constructors

RulesSource' 

Fields

  • rulesString :: Maybe Text

    Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.

    These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

  • rulesSourceList :: Maybe RulesSourceList

    Stateful inspection criteria for a domain list rule group.

  • statefulRules :: Maybe [StatefulRule]

    An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

  • statelessRulesAndCustomActions :: Maybe StatelessRulesAndCustomActions

    Stateless inspection criteria to be used in a stateless rule group.

Instances

Instances details
Eq RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Read RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Show RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Generic RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Associated Types

type Rep RulesSource :: Type -> Type #

NFData RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

Methods

rnf :: RulesSource -> () #

Hashable RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

ToJSON RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

FromJSON RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

type Rep RulesSource Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RulesSource

type Rep RulesSource = D1 ('MetaData "RulesSource" "Amazonka.NetworkFirewall.Types.RulesSource" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "RulesSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rulesString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rulesSourceList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RulesSourceList))) :*: (S1 ('MetaSel ('Just "statefulRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StatefulRule])) :*: S1 ('MetaSel ('Just "statelessRulesAndCustomActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatelessRulesAndCustomActions)))))

newRulesSource :: RulesSource Source #

Create a value of RulesSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:rulesString:RulesSource', rulesSource_rulesString - Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.

These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

$sel:rulesSourceList:RulesSource', rulesSource_rulesSourceList - Stateful inspection criteria for a domain list rule group.

$sel:statefulRules:RulesSource', rulesSource_statefulRules - An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

$sel:statelessRulesAndCustomActions:RulesSource', rulesSource_statelessRulesAndCustomActions - Stateless inspection criteria to be used in a stateless rule group.

rulesSource_rulesString :: Lens' RulesSource (Maybe Text) Source #

Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS that includes a standard rule-based language for network traffic inspection.

These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

rulesSource_rulesSourceList :: Lens' RulesSource (Maybe RulesSourceList) Source #

Stateful inspection criteria for a domain list rule group.

rulesSource_statefulRules :: Lens' RulesSource (Maybe [StatefulRule]) Source #

An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

rulesSource_statelessRulesAndCustomActions :: Lens' RulesSource (Maybe StatelessRulesAndCustomActions) Source #

Stateless inspection criteria to be used in a stateless rule group.