Skip to content

SAST <> Bits Code: replace campaigns language with automations#37423

Open
clreaume wants to merge 1 commit into
masterfrom
cara/DOCS-14414_remove-bits-code-campaigns-language-from-sast
Open

SAST <> Bits Code: replace campaigns language with automations#37423
clreaume wants to merge 1 commit into
masterfrom
cara/DOCS-14414_remove-bits-code-campaigns-language-from-sast

Conversation

@clreaume

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

The AI-Enhanced Static Code Analysis page's Remediation section mentions Bits Code campaigns, which are no longer a thing. We now have automations! I updated the page to reflect that.

Merge instructions

merge-able!

Merge readiness:

  • Ready for merge

AI assistance

Had Claude review

Additional notes

Jira ticket

@clreaume clreaume requested a review from a team as a code owner June 10, 2026 19:54
@github-actions

Copy link
Copy Markdown
Contributor

@domalessi domalessi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR! Left some feedback. Tag me or re-request review when ready for another look!

| [Detection](#ai-native-sast) | AI-native SAST: LLM-based taint analysis to detect security vulnerabilities with higher accuracy | At scan time (Datadog Hosted Scans only) | Identifies contextually complex vulnerabilities missed by rule-based analysis |
| [Validation](#validation-and-triage) | False positive filtering: Deprioritize low-likelihood findings | After scan | Reduce noise, allow focus on actual issues |
| [Remediation](#remediation) | Batched remediation: Generate suggested fixes (and optionally PRs) for one or multiple vulnerabilities | After scan | Reduces developer effort, accelerates fix cycle |
| [Remediation](#remediation) | Automated remediation: Generate suggested fixes (and optionally PRs) for vulnerabilities manually or with automation | After scan | Reduces developer effort, accelerates fix cycle |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
| [Remediation](#remediation) | Automated remediation: Generate suggested fixes (and optionally PRs) for vulnerabilities manually or with automation | After scan | Reduces developer effort, accelerates fix cycle |
| [Remediation](#remediation) | Automated remediation: Generate suggested fixes (and optionally PRs) for vulnerabilities manually or automatically | After scan | Reduces developer effort, accelerates fix cycle |

[Bits AI][9] reviews the context of each SAST finding and assesses whether it is more likely to be a true or false positive, along with a short explanation of the reasoning.

To narrow down your initial list for triage, in [Vulnerabilities][6], select **Filter out false positives**. This option uses the `-bitsAssessment:"False Positive"` query.
To narrow down your initial list for triage, in [Vulnerabilities][6], enable the **Filter out false positives** toggle. This option uses the `-bitsAssessment:"False Positive"` query.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
To narrow down your initial list for triage, in [Vulnerabilities][6], enable the **Filter out false positives** toggle. This option uses the `-bitsAssessment:"False Positive"` query.
To narrow down your initial list for triage, in [Vulnerabilities][6], turn on the **Filter out false positives** toggle. This option uses the `-bitsAssessment:"False Positive"` query.

## Remediation

Datadog SAST uses the [Bits Code][10] to generate code fixes for vulnerabilities. You can remediate individual vulnerabilities or fix multiple vulnerabilities using bulk remediation campaigns.
Datadog SAST uses [Bits Code][10] to generate code fixes for vulnerabilities. In addition to remediating an individual vulnerability, you can set up an [automation][13] so that Bits Code automatically acts on similar vulnerabilities in the future.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Datadog SAST uses [Bits Code][10] to generate code fixes for vulnerabilities. In addition to remediating an individual vulnerability, you can set up an [automation][13] so that Bits Code automatically acts on similar vulnerabilities in the future.
Datadog SAST uses [Bits Code][10] to generate code fixes for vulnerabilities. You can also create an [automation][13] to automatically generate fixes for vulnerabilities as they are found or on a schedule.

- To generate a fix, select [**Single fix**](#single-fix) or [**Bulk fix**](#bulk-fix-campaigns).
- If a fix has already been generated, select **View fix and create PR** to view the existing [remediation session](#remediation-session-details).
1. In the **Next Steps** > **Remediation** section, click **Fix with Bits**, then one of the following options:
- [**Single fix**](#single-fix): Generates a code fix for this vulnerability

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [**Single fix**](#single-fix): Generates a code fix for this vulnerability
- [**Single fix**](#single-fix): Generates a code fix for this vulnerability.

1. In the **Next Steps** > **Remediation** section, click **Fix with Bits**, then one of the following options:
- [**Single fix**](#single-fix): Generates a code fix for this vulnerability
- If a fix has already been generated, select **View fix and create PR** to view the existing [remediation session](#remediation-session-details).
- [**Create automation**](#create-automation): Opens a pop-up modal where you can create a [Bits Code automation][13]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [**Create automation**](#create-automation): Opens a pop-up modal where you can create a [Bits Code automation][13]
- [**Create automation**](#create-automation): Opens a pop-up modal where you can create a [Bits Code automation][13].

Use **Single fix** to open a Bits Code session to fix this single vulnerability. You can review the proposed diff, ask follow-up questions, edit the patch, and create a pull request to apply the remediation to your source code repository.

### Bulk fix (campaigns)
View all Bits Code sessions on **Bits AI** > **Bits Code** > [**Sessions**][7].

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
View all Bits Code sessions on **Bits AI** > **Bits Code** > [**Sessions**][7].
View all Bits Code sessions in **Bits AI** > **Bits Code** > [**Sessions**][7].

Click a campaign to view details including session status, pull requests by repository, and remediated findings. You can click on individual sessions to review, edit, and merge fixes with the [Bits Code][10].

{{< img src="/code_security/static_analysis/campaigner-hero-image.png" alt="Campaigns page in Bits Code" style="width:100%;">}}
View all Bits Code automations on **Bits AI** > **Bits Code** > [**Automations**][14].

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
View all Bits Code automations on **Bits AI** > **Bits Code** > [**Automations**][14].
View all Bits Code automations in **Bits AI** > **Bits Code** > [**Automations**][14].

To open the remediation session, select the vulnerability from the [**Vulnerabilities**][6] page to open the side panel, scroll to the **Remediation** section, and select **Expand & Chat**.

You can also navigate to remediation sessions through the [**Campaigns**][12] and [**Sessions**][7] views.
You can also view all remediation sessions on [**Sessions**][7].

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
You can also view all remediation sessions on [**Sessions**][7].
You can also view all remediation sessions in [**Sessions**][7].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants