Skip to content

Commit 87f28e9

Browse files
committed
feat(alb-waf): Onboard WAF managed rule set
STACKITCLI-442 Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent 815dd61 commit 87f28e9

33 files changed

Lines changed: 2224 additions & 0 deletions

docs/stackit_beta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ stackit beta [flags]
4242

4343
* [stackit](./stackit.md) - Manage STACKIT resources using the command line
4444
* [stackit beta alb](./stackit_beta_alb.md) - Manages application loadbalancers
45+
* [stackit beta alb-waf](./stackit_beta_alb-waf.md) - Manages the Web Application Firewall (WAF) for application loadbalancers
4546
* [stackit beta cdn](./stackit_beta_cdn.md) - Manage CDN resources
4647
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
4748
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake

docs/stackit_beta_alb-waf.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## stackit beta alb-waf
2+
3+
Manages the Web Application Firewall (WAF) for application loadbalancers
4+
5+
### Synopsis
6+
7+
Manage the lifecycle of Web Application Firewall (WAF) configurations for application loadbalancers.
8+
9+
```
10+
stackit beta alb-waf [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta alb-waf"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
33+
* [stackit beta alb-waf managed-rule-set](./stackit_beta_alb-waf_managed-rule-set.md) - Provides functionality for managed rule sets of the ALB WAF
34+
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## stackit beta alb-waf managed-rule-set
2+
3+
Provides functionality for managed rule sets of the ALB WAF
4+
5+
### Synopsis
6+
7+
Provides functionality for managed rule sets (MRS) of the Web Application Firewall (WAF) for application loadbalancers.
8+
9+
```
10+
stackit beta alb-waf managed-rule-set [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta alb-waf managed-rule-set"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta alb-waf](./stackit_beta_alb-waf.md) - Manages the Web Application Firewall (WAF) for application loadbalancers
33+
* [stackit beta alb-waf managed-rule-set create](./stackit_beta_alb-waf_managed-rule-set_create.md) - Creates a managed rule set for the ALB WAF
34+
* [stackit beta alb-waf managed-rule-set delete](./stackit_beta_alb-waf_managed-rule-set_delete.md) - Deletes a managed rule set of the ALB WAF
35+
* [stackit beta alb-waf managed-rule-set describe](./stackit_beta_alb-waf_managed-rule-set_describe.md) - Describes a managed rule set of the ALB WAF
36+
* [stackit beta alb-waf managed-rule-set list](./stackit_beta_alb-waf_managed-rule-set_list.md) - Lists all managed rule sets of the ALB WAF
37+
* [stackit beta alb-waf managed-rule-set update](./stackit_beta_alb-waf_managed-rule-set_update.md) - Updates a managed rule set of the ALB WAF
38+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## stackit beta alb-waf managed-rule-set create
2+
3+
Creates a managed rule set for the ALB WAF
4+
5+
### Synopsis
6+
7+
Creates a managed rule set (MRS) for the Web Application Firewall (WAF) of application loadbalancers.
8+
9+
```
10+
stackit beta alb-waf managed-rule-set create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a managed rule set with name "my-managed-rule-set"
17+
$ stackit beta alb-waf managed-rule-set create --name my-managed-rule-set
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta alb-waf managed-rule-set create"
24+
--name string Name of the managed rule set
25+
--type string Managed rule set type (one of: [TYPE_OWASP_CRS]) (default "TYPE_OWASP_CRS")
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
-y, --assume-yes If set, skips all confirmation prompts
32+
--async If set, runs the command asynchronously
33+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
34+
-p, --project-id string Project ID
35+
--region string Target region for region-specific requests
36+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
37+
```
38+
39+
### SEE ALSO
40+
41+
* [stackit beta alb-waf managed-rule-set](./stackit_beta_alb-waf_managed-rule-set.md) - Provides functionality for managed rule sets of the ALB WAF
42+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta alb-waf managed-rule-set delete
2+
3+
Deletes a managed rule set of the ALB WAF
4+
5+
### Synopsis
6+
7+
Deletes a managed rule set (MRS) of the Web Application Firewall (WAF) for application loadbalancers.
8+
9+
```
10+
stackit beta alb-waf managed-rule-set delete NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete a managed rule set with name "my-managed-rule-set"
17+
$ stackit beta alb-waf managed-rule-set delete my-managed-rule-set
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta alb-waf managed-rule-set delete"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta alb-waf managed-rule-set](./stackit_beta_alb-waf_managed-rule-set.md) - Provides functionality for managed rule sets of the ALB WAF
40+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta alb-waf managed-rule-set describe
2+
3+
Describes a managed rule set of the ALB WAF
4+
5+
### Synopsis
6+
7+
Describes a managed rule set (MRS) of the Web Application Firewall (WAF) for application loadbalancers.
8+
9+
```
10+
stackit beta alb-waf managed-rule-set describe NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Get details about a managed rule set with name "my-managed-rule-set"
17+
$ stackit beta alb-waf managed-rule-set describe my-managed-rule-set
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta alb-waf managed-rule-set describe"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta alb-waf managed-rule-set](./stackit_beta_alb-waf_managed-rule-set.md) - Provides functionality for managed rule sets of the ALB WAF
40+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## stackit beta alb-waf managed-rule-set list
2+
3+
Lists all managed rule sets of the ALB WAF
4+
5+
### Synopsis
6+
7+
Lists all managed rule sets (MRS) of the Web Application Firewall (WAF) for application loadbalancers.
8+
9+
```
10+
stackit beta alb-waf managed-rule-set list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List all managed rule sets
17+
$ stackit beta alb-waf managed-rule-set list
18+
19+
List all managed rule sets in JSON format
20+
$ stackit beta alb-waf managed-rule-set list --output-format json
21+
22+
List up to 10 managed rule sets
23+
$ stackit beta alb-waf managed-rule-set list --limit 10
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help Help for "stackit beta alb-waf managed-rule-set list"
30+
--limit int Number of managed rule sets to list
31+
```
32+
33+
### Options inherited from parent commands
34+
35+
```
36+
-y, --assume-yes If set, skips all confirmation prompts
37+
--async If set, runs the command asynchronously
38+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
39+
-p, --project-id string Project ID
40+
--region string Target region for region-specific requests
41+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
42+
```
43+
44+
### SEE ALSO
45+
46+
* [stackit beta alb-waf managed-rule-set](./stackit_beta_alb-waf_managed-rule-set.md) - Provides functionality for managed rule sets of the ALB WAF
47+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## stackit beta alb-waf managed-rule-set update
2+
3+
Updates a managed rule set of the ALB WAF
4+
5+
### Synopsis
6+
7+
Updates the rules of a managed rule set (MRS) of the Web Application Firewall (WAF) for application loadbalancers. Only the rules provided in the configuration file are updated, all other rules remain unchanged.
8+
9+
```
10+
stackit beta alb-waf managed-rule-set update NAME [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Update the rules of a managed rule set with name "my-managed-rule-set" from a configuration file
17+
$ stackit beta alb-waf managed-rule-set update my-managed-rule-set --configuration my-rules.json
18+
```
19+
20+
### Options
21+
22+
```
23+
-c, --configuration string Filename of the input configuration file
24+
-h, --help Help for "stackit beta alb-waf managed-rule-set update"
25+
```
26+
27+
### Options inherited from parent commands
28+
29+
```
30+
-y, --assume-yes If set, skips all confirmation prompts
31+
--async If set, runs the command asynchronously
32+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
33+
-p, --project-id string Project ID
34+
--region string Target region for region-specific requests
35+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
36+
```
37+
38+
### SEE ALSO
39+
40+
* [stackit beta alb-waf managed-rule-set](./stackit_beta_alb-waf_managed-rule-set.md) - Provides functionality for managed rule sets of the ALB WAF
41+

docs/stackit_config_set.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ stackit config set [flags]
2929
### Options
3030

3131
```
32+
--alb-waf-custom-endpoint string ALB WAF API base URL, used in calls to this API
3233
--allowed-url-domain string Domain name, used for the verification of the URLs that are given in the custom identity provider endpoint and "STACKIT curl" command
3334
--authorization-custom-endpoint string Authorization API base URL, used in calls to this API
3435
--cdn-custom-endpoint string CDN API base URL, used in calls to this API

docs/stackit_config_unset.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ stackit config unset [flags]
2626
### Options
2727

2828
```
29+
--alb-waf-custom-endpoint ALB WAF API base URL. If unset, uses the default base URL
2930
--allowed-url-domain Domain name, used for the verification of the URLs that are given in the IDP endpoint and curl commands. If unset, defaults to stackit.cloud
3031
--assume-yes If set, skips all confirmation prompts
3132
--async Configuration option to run commands asynchronously

0 commit comments

Comments
 (0)