Security & Compliance

KeelPilot audits the IAM, S3 and ECR configuration of an AWS account, checks Kubernetes clusters against a set of CIS benchmark controls, and lets you browse Terraform and CloudFormation state, Secrets Manager secrets and SSM parameters. Audits and CIS scans run when you start them; they are not continuous.

Before you start

  • An AWS connection (see Connect AWS).
  • Plan: Security Posture is on every plan. CIS Compliance is Enterprise only. IaC Viewer, Secrets Manager and Parameter Store need Pro or Enterprise. The trial includes all of them. See Plans & limits.
  • In your access profile, the section of each screen you will use.
  • Creating, editing or deleting secrets and parameters needs the “Operations” level on the connection role (see Connect AWS).

The Security Posture, CIS, IaC Viewer, Secrets Manager and Parameter Store screens show most of their texts in Spanish, also with the interface in English.

1. Security Posture (IAM, S3, ECR)

  1. 1Go to Security → Security Posture, choose the connection and click Run Audit. Without a previous audit the screen says “No hay auditorías previas para esta conexión.”
    Security posture summary with overall score, IAM, S3 and ECR scores and Run Audit highlighted
  2. 2When it finishes, Resumen shows the “Security Score General”, the score per area and the “Tendencia de scores” across audits. The header shows Last audit with its date.
  3. 3The IAM, S3 and ECR tabs show the details of each area (see the table).
  4. 4In Hallazgos filter by severity (Critical, High, Medium, Low), category and status. Open a finding to read its description and Remediación, and mark it with Reconocer (Revertir a abierto undoes it). Exportar CSV downloads the findings of the last audit.
    Security findings tab with severity, category and status filters, Export CSV and the findings table
AreaWhat it checks
IAMUsers without MFA, access keys older than 90 days or never used, password policy (length 14+, symbols, numbers, upper and lower case, rotation of 90 days or less), root account without MFA or with access keys, users inactive for more than 90 days, policies with wildcards in Allow, users with direct policies
S3Public Access Block not fully enabled, no default encryption, no versioning, no access logs, no lifecycle rules, bucket policy with Principal "*"
ECRRepositories without scan on push, critical vulnerabilities in the latest image, latest image not scanned

If the organization has webhooks for the security.finding event (see API & Webhooks), each audit with findings sends one event with up to 50 of them.

2. CIS Compliance (Kubernetes)

  1. 1Go to Security → CIS Compliance (“Evaluación de compliance CIS para clusters Kubernetes.”), choose the connection and the cluster, and click Run Scan.
    CIS Compliance with account and cluster selected and Run Scan highlighted
  2. 2Read the Overall Score, the scores for Policies, Workloads and Networking, and each control with its result (PASS, FAIL, WARN, NOT_APPLICABLE or ERROR) and its Remediation.
  3. 3Compliance Trend shows how the score changed across scans of that cluster.
    CIS Compliance with the Overall Score and the Compliance Trend chart across two scans highlighted

It evaluates 13 controls from sections 4 (Worker Nodes) and 5 (Policies) of the CIS Kubernetes Benchmark: cluster-admin use, access to secrets, wildcards in Roles and ClusterRoles, privileged pods, hostPID, hostNetwork, hostIPC, resource limits, the latest tag, readOnlyRootFilesystem, NetworkPolicies per namespace, workloads in the default namespace and nodes in Ready status. It is not an AWS account benchmark. A scan with failures sends the compliance.violation webhook event.

3. IaC Viewer

  1. 1Go to AWS → IaC Viewer. It has three tabs: Terraform, CloudFormation and Terraform Cloud.
  2. 2In Terraform, click Agregar Backend de Terraform, choose the Bucket S3 and the Archivo .tfstate (or type the path), and save. Open the backend to see its resources and, in each one, Atributos (JSON).
    Add Terraform backend dialog with S3 bucket, .tfstate file, region and label
  3. 3In CloudFormation, choose the region to list the stacks and their resources.
  4. 4In Terraform Cloud, click Agregar Configuración with your Organización TFC and API Token to list workspaces.

IaC Viewer shows what the state says. It does not compare it with the real infrastructure, so it does not detect drift.

4. Secrets Manager and Parameter Store

  1. 1Go to AWS → Secrets Manager, choose the region and click Crear Secreto: Nombre, and the value as Texto plano or Key / Value variables. In a secret you can see its value (Mostrar/Ocultar), whether rotation is on, change the value or delete it.
    Secrets Manager list with name, description, last modified and rotation, Create secret highlighted
  2. 2Go to AWS → Parameter Store (the screen is called SSM Parameters), choose the region and filter by path (for example /app/prod/) or type. Crear Parámetro asks for name, type, value and optional tags; each parameter has its version history.
    SSM Parameters with type and path filters and the parameter list

With Google Cloud: Secret Manager and Parameter Manager

  • Secrets Manager becomes Secret Manager (global secrets of the project). The list never brings values. Reading one needs write access to the connection and the secret values module, and it is audited without the value. Editing adds a version.
  • Creating and deleting secrets needs the separate “create and delete” box (roles/secretmanager.editor, which cannot change IAM). Google deletes a secret right away, with no recovery window.
  • Parameter Store becomes Parameter Manager, global or regional. A parameter has versions with a format (YAML, JSON or unformatted); editing creates a new version. There is no path hierarchy: the filter is by name. References to Secret Manager are shown unresolved; View with secrets resolved resolves them with the same conditions as reading a secret.
  • Security Posture, the IaC Viewer and Activity Audit are still AWS only. See Connect Google Cloud.

Related

The Security menu also has IaC Vulnerabilities and Scan Policies, which scan your repositories: see Git & IaC Scanning.

How to check it works

  • After Run Audit, Last audit shows the current date and Resumen shows the score.
  • After Run Scan in CIS Compliance, the Overall Score and the list of controls appear.
  • A secret or parameter you created appears in the list of its region.

Troubleshooting

“Some sections could not be evaluated and are not part of the score:” with IAM, S3 or ECR below.

Cause: The connection role cannot read that area. The tab says which permissions to check (for example iam:ListUsers, s3:ListAllMyBuckets, ecr:DescribeRepositories).

Fix: Give those read permissions to the KeelPilotAccessRole role and run the audit again.

“No findings to export”.

Cause: There is no audit yet for that connection, or the last one had no findings.

Fix: Run an audit before exporting.

A CIS category shows “No checks could be evaluated”.

Cause: KeelPilot could not read the Kubernetes resources that category needs (permissions in the cluster or a private endpoint).

Fix: Check the cluster access (see Cluster Prerequisites and Private Clusters).

“No permissions to read this secret”.

Cause: Viewing a value needs secretsmanager:GetSecretValue. AWS ReadOnlyAccess does not include it and the KeelPilot policies do not add it.

Fix: If you want to see values from KeelPilot, add that permission to the connection role, limited to the secrets you need.

“No permissions to create secrets” or “No permissions to create parameters”.

Cause: The connection role does not have the Operations level.

Fix: Update the KeelPilotAccessRole stack with PermitirOperaciones=Yes.