Module exposing: AptAllowUnauthenticated
# Source: https://github.com/bridgecrewio/checkov | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
from __future__ import annotations
from typing import Any
from checkov.ansible.checks.base_ansible_task_value_check import BaseAnsibleTaskValueCheck
from checkov.common.models.enums import CheckResult, CheckCategories
class AptAllowUnauthenticated(BaseAnsibleTaskValueCheck):
def __init__(self) -> None:
name = "Ensure that packages with untrusted or missing signatures are not used"
id = "CKV_ANSIBLE_5"
super().__init__(
name=name,
id=id,
categories=(CheckCategories.GENERAL_SECURITY,),
supported_modules=("ans
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key