StackIT support in Prowler is community-maintained. For commercial support or to request additional service coverage, contact us.
Prerequisites
Before running Prowler with the StackIT provider, ensure you have:- A StackIT account with at least one project
- A StackIT service account key file with project permissions for the services to scan.
iaas.vieweris sufficient for the currently shipped IaaS checks. For SKE, assign the project-scopedReaderrole as a broad read-only convenience, or create a custom role withresource-manager.project.get,ske.cluster.list,ske.cluster.get, andske.version.list. Theresource-manager.project.getpermission is optional for scanning; it only lets Prowler verify and display the project name. See the Authentication guide for the full setup. - Access to Prowler CLI (see Installation)
Prowler CLI
Step 1: Point Prowler at the Service Account Key
Prowler authenticates with a StackIT service account key. The SDK signs the RSA challenge in the key and refreshes access tokens internally for the life of the scan, so there is no manual token rotation. On a workstation or persistent agent (key on disk):For the inline key, prefer the
STACKIT_SERVICE_ACCOUNT_KEY env var over the matching CLI flag; passing the secret on the command line leaks it through process listings and shell history.Keep the key file outside of source control and lock it down with chmod 600 ~/.stackit/sa-key.json. Anyone with the JSON can mint access tokens for the service account.Step 2: Run Your First Scan
Step 3: Review the Results
Prowler outputs findings to the console and writes reports to theoutput/ directory by default:
- CSV:
output/prowler-output-stackit-{project_id}-{timestamp}.csv - JSON:
output/prowler-output-stackit-{project_id}-{timestamp}.json - HTML:
output/prowler-output-stackit-{project_id}-{timestamp}.html
Supported StackIT Services
Additional services will be added in future releases. Track progress in the Prowler release notes.
Troubleshooting
Authentication Errors
If the scan fails with a 401 error, the service account key is no longer valid (revoked, rotated or the key file is incomplete). Re-issue the key in the StackIT portal and updateSTACKIT_SERVICE_ACCOUNT_KEY_PATH.
Permission Errors
If the connection probe warns that Resource Manager access could not be verified with a 403 response, Prowler continues to service discovery. Grant the optionalresource-manager.project.get permission to verify and display the project name.
If a service call fails with a 403 response, the service account is missing a permission required by that service. iaas.viewer is sufficient for the shipped IaaS checks. The ske_cluster_no_public_endpoint check lists clusters and therefore requires ske.cluster.list; STACKIT least-privilege custom-role examples also include ske.cluster.get and ske.version.list. Service API calls remain authoritative and stop the scan when access is denied.
For detailed setup steps, see the Authentication guide.
