Skip to content
代码片段 群组 项目
未验证 提交 12fce1c5 编辑于 作者: Connor Gilbert's avatar Connor Gilbert 提交者: GitLab
浏览文件

Docs: Add basic troubleshooting for shared SAST/SD rulesets

上级 be3c8bdd
No related branches found
No related tags found
无相关合并请求
...@@ -115,6 +115,16 @@ variables: ...@@ -115,6 +115,16 @@ variables:
See [specify a private remote configuration example](#specify-a-private-remote-configuration) for advanced usage. See [specify a private remote configuration example](#specify-a-private-remote-configuration) for advanced usage.
### Troubleshooting remote configuration files
If remote configuration file doesn't seem to be applying customizations correctly, the causes can be:
1. Your repository has a local `.gitlab/sast-ruleset.toml` file.
- A local file is used if it's present, even if a remote configuration is set as a variable.
- A change to this logic is considered in [issue 414732](https://gitlab.com/gitlab-org/gitlab/-/issues/414732).
1. There is a problem with authentication.
- To check whether this is the cause of the problem, try referencing a configuration file from a repository location that doesn't require authentication.
## Schema ## Schema
### The top-level section ### The top-level section
......
...@@ -520,7 +520,7 @@ variables: ...@@ -520,7 +520,7 @@ variables:
SECRET_DETECTION_RULESET_GIT_REFERENCE: "gitlab.com/example-group/example-ruleset-project" SECRET_DETECTION_RULESET_GIT_REFERENCE: "gitlab.com/example-group/example-ruleset-project"
``` ```
For more information on the syntax of remote configurations, see the For more information on the syntax of remote configurations and how to troubleshoot, see the
[specify a private remote configuration example](../sast/customize_rulesets.md#specify-a-private-remote-configuration) [specify a private remote configuration example](../sast/customize_rulesets.md#specify-a-private-remote-configuration)
on the SAST customize rulesets page. on the SAST customize rulesets page.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册