Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions content/en/security/code_security/troubleshooting/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@ If you are not seeing `datadog.appsec.risk_management.iast.host_instance`, check
Runtime application security data is sent with APM traces. See [APM troubleshooting][4] to [confirm APM setup][5] and check for [connection errors][6].

### Issues with Python and Flask instrumentation
If you're running a Flask application, ensure that you are calling the `ddtrace_iast_flask_patch()` function at the top level of the module and before calling `app.run()`. For more information, see the [Flask integration documentation][17].
If you're running a Flask application, ensure that you are calling the `ddtrace_iast_flask_patch()` function at the top level of the module and before calling `app.run()`. For more information, see the [Flask integration documentation][19].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just confirming the intended link is a blog post?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. i couldn't find doc on the Flask integration.


## Disabling Code Security capabilities
### Disabling static repository scanning
To disable scanning Static Code Analysis (SAST) or static Software Composition Analysis:
- If you are scanning your repositories through Datadog-hosted scanning, navigate to [**Code Security > Setup**][17], click **Enable scanning for your repositories**, and disable the toggles previously enabled for scanning either all connected repositories or each repository.
- If you are scanning your repositories through Datadog-hosted scanning, navigate to Code Security [**Setup**][17], click **Enable scanning for your repositories**, and disable the toggles previously enabled for scanning either all connected repositories or each repository.
- If you are scanning source code repositories through your CI pipelines, remove the relevant job(s) from your CI pipelines.

### Disabling runtime SCA on your services
Expand Down Expand Up @@ -285,7 +285,9 @@ To disable IAST, remove the `DD_IAST_ENABLED=true` environment variable from you
[9]: https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#enabling-the-lock-file
[12]: https://app.datadoghq.com/security/appsec/vm/library
[13]: https://github.com/DataDog/datadog-static-analyzer/blob/main/doc/diff-aware.md
[17]: https://app.datadoghq.com/security/configuration/code-security/setup
[16]: https://app.datadoghq.com/services?&lens=Security
[18]: https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-git-large-file-storage
[19]: https://www.datadoghq.com/blog/monitoring-flask-apps-with-datadog/
[19]: https://docs.datadoghq.com/security/code_security/software_composition_analysis/setup_static/?tab=datadog#running-options
[20]: /security/configuration/code-security/setup?steps=iast
Loading