Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RulesSource

import type { RulesSource } from "https://aws-api.deno.dev/v0.4/services/networkfirewall.ts?docs=full";

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.

interface RulesSource {
RulesSourceList?: RulesSourceList | null;
RulesString?: string | null;
StatefulRules?: StatefulRule[] | null;
StatelessRulesAndCustomActions?: StatelessRulesAndCustomActions | null;
}

§Properties

§
RulesSourceList?: RulesSourceList | null
[src]

Stateful inspection criteria for a domain list rule group.

§
RulesString?: string | null
[src]

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.

§
StatefulRules?: StatefulRule[] | null
[src]

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?: StatelessRulesAndCustomActions | null
[src]

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