Skip to content

feat: configure sensitive data scanner#1

Merged
robdiciuccio merged 5 commits intomainfrom
rd/module-init
Feb 27, 2026
Merged

feat: configure sensitive data scanner#1
robdiciuccio merged 5 commits intomainfrom
rd/module-init

Conversation

@robdiciuccio
Copy link
Copy Markdown
Contributor

First pass at a standard configuration for Datadog's Sensitive Data Scanner feature.

Ticket: https://codeforamerica.atlassian.net/browse/DEV-178

@robdiciuccio
Copy link
Copy Markdown
Contributor Author

Unclear why the uploads are failing in the checks. Could be because the repo is not yet public?

Copy link
Copy Markdown
Member

@jamesiarmes jamesiarmes left a comment

Choose a reason for hiding this comment

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

Is there a reason this repo is private? Our standard practice is to make these modules public, and private repos are difficult to integrate into pipelines as OpenTofu dependencies.

Comment thread main.tf
Comment thread main.tf Outdated
Comment on lines +25 to +30
lifecycle {
# Use this meta-argument to avoid disabling the group when modifying the
# `included_keyword_configuration` field
create_before_destroy = true
}
for_each = data.datadog_sensitive_data_scanner_standard_pattern.patterns
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not: for_each should be the first line in this block, and lifecycle should be at the end.

Comment thread variables.tf Outdated
@robdiciuccio
Copy link
Copy Markdown
Contributor Author

Is there a reason this repo is private? Our standard practice is to make these modules public, and private repos are difficult to integrate into pipelines as OpenTofu dependencies.

Only private while the repo is being setup, before first contributions are in. I'll change it to public.

@github-advanced-security
Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@robdiciuccio robdiciuccio merged commit 35fd449 into main Feb 27, 2026
9 checks passed
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.

3 participants