Skip to content

Commit 718d86c

Browse files
authored
Add limit of filename to 255 chars (#30447)
* feat: add limit of filename to 255 chars * fix: address PR feedbacks and use <br> instead of <ul>
1 parent 39185dd commit 718d86c

File tree

2 files changed

+6
-1
lines changed
  • content/en/security/code_security

2 files changed

+6
-1
lines changed

content/en/security/code_security/software_composition_analysis/setup_static/_index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ For GitHub repositories, you can run Datadog SCA scans directly on Datadog infra
3737
[1]: https://app.datadoghq.com/security/configuration/code-security/setup
3838

3939
<div class="alert alert-info">
40-
Datadog-hosted SCA does not support repositories using <a href="https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-git-large-file-storage">Git Large File Storage</a> or file paths with parent directory traversal (<code>..</code>).<br/>Instead, use <b>run SCA scans in your CI Pipelines</b> for these repositories.
40+
Datadog-hosted SCA does not support repositories that:<br>
41+
- Use <a href="https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-git-large-file-storage">Git Large File Storage</a><br>
42+
- Contain file paths with parent directory traversal (<code>..</code>)<br>
43+
- Contain file names longer than 255 characters<br>
44+
Use CI Pipelines for these repositories.
4145
</div>
4246

4347
{{% /tab %}}

content/en/security/code_security/troubleshooting/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ Datadog-hosted SCA scans do **not** support repositories that:
164164
- Use [Git Large File Storage][18] (`git-lfs`)
165165
- Contain invalid or reserved file paths (such as `/` or `\\`)
166166
- Contain file paths with parent directory traversal (`..`)
167+
- Contain file names longer than 255 characters
167168

168169
If any of these conditions apply to your repository, and you cannot update your repository to account for these constraints, [set up the analysis in a CI pipeline][19] to run SCA and upload results to Datadog.
169170

0 commit comments

Comments
 (0)