feat: added no-secrets-masking respect option to allow raw output#2346
Merged
DmitryAnansky merged 9 commits intomainfrom Oct 8, 2025
Merged
feat: added no-secrets-masking respect option to allow raw output#2346DmitryAnansky merged 9 commits intomainfrom
no-secrets-masking respect option to allow raw output#2346DmitryAnansky merged 9 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 210614d The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
7bc7bb4 to
5188645
Compare
DmitryAnansky
commented
Oct 7, 2025
no-mask-secrets respect option to allow raw outputsecrets-reveal respect option to allow raw output
DmitryAnansky
commented
Oct 7, 2025
Contributor
|
📦 A new experimental 🧪 version v0.0.0-snapshot.1759850691 of Redocly CLI has been published for testing. Install with NPM: npm install @redocly/cli@0.0.0-snapshot.1759850691
# or
npm install @redocly/openapi-core@0.0.0-snapshot.1759850691
# or
npm install @redocly/respect-core@0.0.0-snapshot.1759850691 |
secrets-reveal respect option to allow raw outputno-secrets-masking respect option to allow raw output
JLekawa
reviewed
Oct 8, 2025
Co-authored-by: Jacek Łękawa <164185257+JLekawa@users.noreply.github.com>
JLekawa
approved these changes
Oct 8, 2025
tatomyr
reviewed
Oct 8, 2025
tatomyr
reviewed
Oct 8, 2025
tatomyr
reviewed
Oct 8, 2025
packages/respect-core/src/modules/__tests__/config-parser/get-security-parameters.test.ts
Show resolved
Hide resolved
tatomyr
approved these changes
Oct 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What/Why/How?
Introduced new
respectcommand cli andrespect-corerun()optionsno-secrets-maskingandnoSecretsMasking.This new option disables masking of secrets in the output. By default, any sensitive information, such as values described with
format: password, as well as tokens and authentication headers fromx-security,are masked with********in both terminal logs and file outputs. When this flag is set totrue, the raw (unmasked) data shows in all outputs.So in practice, when
noSecretsMaskingis provided and istrue:********.runfunction execution result will contain additional property, calledsecretValueswith the list of secret strings, it will be the consumer's responsibility to mask them.har-outputwill not mask secrets with********insideentries.json-outputwill not mask secrets with********inside workflow and step data + will contain additional property, calledsecretValueswith the list of secret strings, it will be the consumer's responsibility to mask them:{ "files": { "test.arazzo.yaml": { "totalRequests": 4, "executedWorkflows": [ ... ], "totalTimeMs": 1269.643958, "globalTimeoutError": false, "secretValues": [ "secret", "super-secret" ] } }, "status": "success", "totalTime": 1271.05825 }Reference
Closes: #2341
Testing
CLI example:
Screenshots (optional)
Check yourself
Security