Skip to content

Docs: "Security Opt Not Set" query points to outdated Docker Compose documentation #8027

@savinmikhail

Description

@savinmikhail

Hi,

The documentation for the KICS query Security Opt Not Set
(query id ce76b7d0-9e77-464d-b86f-c5c48e03e22d) links to outdated Docker docs.

Current KICS query page:
https://docs.kics.io/latest/queries/dockercompose-queries/ce76b7d0-9e77-464d-b86f-c5c48e03e22d/

Suggested replacement links:

  1. Current Compose reference for security_opt: https://docs.docker.com/compose/compose-file/compose-file-v3/#cap_add-cap_drop which being redirected to https://docs.docker.com/reference/compose-file/services/#security_opt. This page does not contain related documentation, cuz docs were moved as I understand

  2. Docker Engine security docs that explain the practical meaning of security_opt:

Why this matters:

  • the current linked legacy page is confusing and effectively dead-end for users trying to understand the finding
  • the current Compose page documents the field location/syntax
  • the engine security pages explain the actual security model and common values

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions