Skip to content

fix: mark api-key, password, and scim-client-secret as isSecret in config_schema#46

Merged
btipling merged 2 commits into
mainfrom
bt/secret-audit-scim
Jun 15, 2026
Merged

fix: mark api-key, password, and scim-client-secret as isSecret in config_schema#46
btipling merged 2 commits into
mainfrom
bt/secret-audit-scim

Conversation

@btipling

Copy link
Copy Markdown
Contributor

Marks api-key, password, and scim-client-secret as secret (username, client-id, account-id, and config-path fields stay non-secret). baton-scim defines config in Go with no committed config_schema.json; the fix adds field.WithIsSecret(true).

BREAKING: adding isSecret: true to these fields changes how existing
configurations are stored. Customers with existing connector configurations
will need to re-enter credentials after this change is deployed.

Review only — do not merge.

…nfig_schema

The SCIM API key, basic-auth password, and OAuth client secret are
credentials but were not flagged secret, so they were stored and surfaced
as plain config.

Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
@btipling btipling requested a review from a team June 13, 2026 02:47
@github-actions

github-actions Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Connector PR Review: test: fix TestServiceProviders inverted arg order and correct provider count to 4

Blocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0
Review mode: incremental since 967ae4c
View review run

Review Summary

The new commit changes only pkg/config/scim_config_test.go, swapping require.Equal(t, len(providers), 5) to require.Equal(t, 4, len(providers)). This fixes both the inverted (expected, actual) argument order and the wrong expected count: there are exactly 4 service provider YAML files (miro, postman, slack, zoom) embedded under pkg/config/service_providers/, so the assertion is now correct. No new issues found.

Security Issues

None found.

Correctness Issues

None found.

Suggestions

None.

@github-actions github-actions Bot 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.

No blocking issues found.

@btipling btipling merged commit 7652283 into main Jun 15, 2026
5 checks passed

@github-actions github-actions Bot 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.

No blocking issues found.

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.

1 participant