mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-05 03:12:14 +00:00
Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"description": "API key.\n\nLong-lived key issued from the provider's console.",
|
|
"properties": {
|
|
"api_url": {
|
|
"description": "Base URL of the provider API.",
|
|
"examples": ["https://api.acme.com"],
|
|
"title": "API URL",
|
|
"type": "string"
|
|
},
|
|
"api_key": {
|
|
"description": "Key used to authenticate against the provider API.",
|
|
"format": "password",
|
|
"title": "API Key",
|
|
"type": "string",
|
|
"writeOnly": true
|
|
},
|
|
"ca_bundle": {
|
|
"default": "",
|
|
"description": "Certificates of a private authority, in PEM format, for an API whose certificate no public authority signed. Leave empty to use public trust.",
|
|
"title": "CA Bundle",
|
|
"type": "string",
|
|
"x-prowler-widget": "textarea"
|
|
},
|
|
"verify_tls": {
|
|
"default": true,
|
|
"description": "Whether to verify the API's TLS certificate.",
|
|
"title": "Verify TLS",
|
|
"type": "boolean"
|
|
},
|
|
"timeout_seconds": {
|
|
"default": 30,
|
|
"description": "Seconds to wait for the API before giving up.",
|
|
"maximum": 300,
|
|
"minimum": 1,
|
|
"title": "Timeout",
|
|
"type": "integer"
|
|
},
|
|
"auth_scheme": {
|
|
"description": "How the key is sent on each request.",
|
|
"enum": ["bearer", "basic"],
|
|
"title": "Authentication Scheme",
|
|
"type": "string",
|
|
"default": "bearer"
|
|
}
|
|
},
|
|
"required": ["api_url", "api_key"],
|
|
"title": "TemplateStaticCredentials",
|
|
"type": "object"
|
|
}
|