fix(docs): update security opt Docker Compose link#8048
Open
omribz156 wants to merge 2 commits into
Open
Conversation
cx-artur-ribeiro
suggested changes
May 21, 2026
Contributor
cx-artur-ribeiro
left a comment
There was a problem hiding this comment.
Hi @omribz156,
Thanks for the contribution.
Take a look at my comments, pretty straigthforward.
Despite those, looks good to me, thanks for your help improving KICS!
Contributor
There was a problem hiding this comment.
This is an automatic generated file, no need to change anything. Just the query descriptionUrl does the work 😃
| |Memory Not Limited<br/><sup><sub>bb9ac4f7-e13b-423d-a010-c74a1bfbe492</sub></sup>|<span style="color:#ff7213">Medium</span>|Resource Management|<a href="../dockercompose-queries/bb9ac4f7-e13b-423d-a010-c74a1bfbe492" onclick="newWindowOpenerSafe(event, '../dockercompose-queries/bb9ac4f7-e13b-423d-a010-c74a1bfbe492')">Query details</a><br><a href="https://docs.docker.com/compose/compose-file/compose-file-v3/#resources">Documentation</a><br/>| | ||
| |Pids Limit Not Set<br/><sup><sub>221e0658-cb2a-44e3-b08a-db96a341d6fa</sub></sup>|<span style="color:#ff7213">Medium</span>|Resource Management|<a href="../dockercompose-queries/221e0658-cb2a-44e3-b08a-db96a341d6fa" onclick="newWindowOpenerSafe(event, '../dockercompose-queries/221e0658-cb2a-44e3-b08a-db96a341d6fa')">Query details</a><br><a href="https://docs.docker.com/compose/compose-file/compose-file-v3/#domainname-hostname-ipc-mac_address-privileged-read_only-shm_size-stdin_open-tty-user-working_dir">Documentation</a><br/>| | ||
| |Security Opt Not Set<br/><sup><sub>610e266e-6c12-4bca-9925-1ed0cd29742b</sub></sup>|<span style="color:#ff7213">Medium</span>|Resource Management|<a href="../dockercompose-queries/610e266e-6c12-4bca-9925-1ed0cd29742b" onclick="newWindowOpenerSafe(event, '../dockercompose-queries/610e266e-6c12-4bca-9925-1ed0cd29742b')">Query details</a><br><a href="https://docs.docker.com/compose/compose-file/compose-file-v3/#security_opt">Documentation</a><br/>| | ||
| |Security Opt Not Set<br/><sup><sub>610e266e-6c12-4bca-9925-1ed0cd29742b</sub></sup>|<span style="color:#ff7213">Medium</span>|Resource Management|<a href="../dockercompose-queries/610e266e-6c12-4bca-9925-1ed0cd29742b" onclick="newWindowOpenerSafe(event, '../dockercompose-queries/610e266e-6c12-4bca-9925-1ed0cd29742b')">Query details</a><br><a href="https://docs.docker.com/reference/compose-file/services/#security_opt">Documentation</a><br/>| |
Contributor
There was a problem hiding this comment.
Same thing applies here. Remove both changes on .md files, please.
Remove generated markdown changes per maintainer feedback; the metadata descriptionUrl remains the source for regenerated docs.
Author
|
Thanks, fixed in the latest push. Removed the two generated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #8027
Reason for Proposed Changes
Security Opt Not Setquery still link to the legacy Compose v3security_optanchor.security_opton the Compose services reference athttps://docs.docker.com/reference/compose-file/services/#security_opt.Proposed Changes
security_opt_not_setquery metadatadescriptionUrlto the current Docker Compose services reference.610e266e-6c12-4bca-9925-1ed0cd29742b.Security Opt Not Set.Verification:
security_optreference is athttps://docs.docker.com/reference/compose-file/services/#security_opt.node -e "JSON.parse(require('fs').readFileSync('assets/queries/dockerCompose/security_opt_not_set/metadata.json','utf8')); console.log('metadata json ok')"git diff --checkNote: the issue body mentions query id
ce76b7d0-9e77-464d-b86f-c5c48e03e22d, but that id currently maps toContainer Capabilities Unrestricted. This patch updates theSecurity Opt Not Setquery referenced by the issue title and current docs page.This was implemented with Codex assistance, with the patch kept focused and manually reviewed before sending.
I submit this contribution under the Apache-2.0 license.