mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-03-22 03:08:23 +00:00
26 lines
581 B
Plaintext
26 lines
581 B
Plaintext
---
|
|
title: "Check Aliases"
|
|
---
|
|
|
|
Prowler allows you to use aliases for the checks. You only have to add the `CheckAliases` key to the check's metadata with a list of the aliases:
|
|
|
|
```json title="check.metadata.json"
|
|
"Provider": "<provider>",
|
|
"CheckID": "<check_id>",
|
|
"CheckTitle": "<check_title>",
|
|
"CheckAliases": [
|
|
"<check_alias_1>"
|
|
"<check_alias_2>",
|
|
...
|
|
],
|
|
...
|
|
```
|
|
|
|
Then you can execute the check either with its check ID or with one of the previous aliases:
|
|
|
|
```shell
|
|
prowler <provider> -c/--checks <check_alias_1>
|
|
|
|
Using alias <check_alias_1> for check <check_id>...
|
|
```
|