/AWS1/CL_SAGNETWORKTRAFFICRULE¶
A rule that controls network traffic during penetration testing by allowing or denying traffic to specific URL patterns.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_effect TYPE /AWS1/SAGNETWORKTRAFRULEEFFECT /AWS1/SAGNETWORKTRAFRULEEFFECT¶
The effect of the rule. Valid values are ALLOW and DENY.
iv_pattern TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The URL pattern to match for the rule.
iv_networktrafficruletype TYPE /AWS1/SAGNETWORKTRAFRULETYPE /AWS1/SAGNETWORKTRAFRULETYPE¶
The type of the network traffic rule. Currently, only URL is supported.
Queryable Attributes¶
effect¶
The effect of the rule. Valid values are ALLOW and DENY.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EFFECT() |
Getter for EFFECT, with configurable default |
ASK_EFFECT() |
Getter for EFFECT w/ exceptions if field has no value |
HAS_EFFECT() |
Determine if EFFECT has a value |
pattern¶
The URL pattern to match for the rule.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PATTERN() |
Getter for PATTERN, with configurable default |
ASK_PATTERN() |
Getter for PATTERN w/ exceptions if field has no value |
HAS_PATTERN() |
Determine if PATTERN has a value |
networkTrafficRuleType¶
The type of the network traffic rule. Currently, only URL is supported.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NETWORKTRAFFICRULETYPE() |
Getter for NETWORKTRAFFICRULETYPE, with configurable default |
ASK_NETWORKTRAFFICRULETYPE() |
Getter for NETWORKTRAFFICRULETYPE w/ exceptions if field has |
HAS_NETWORKTRAFFICRULETYPE() |
Determine if NETWORKTRAFFICRULETYPE has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_NETWORKTRAFFICRULELIST¶
TYPES TT_NETWORKTRAFFICRULELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGNETWORKTRAFFICRULE WITH DEFAULT KEY
.