PromucFlow_constructor/app/server/appsmith-plugins
Rishabh Rathod b59838c03a
fix: apiKey security issue (#33528)
## Description
Fixes #30009

### Summary:
This PR addresses the issue of masking sensitive information in query
parameters or headers based on the authentication type selected by the
user. The changes ensure that sensitive data is properly masked before
sending back as response.

### Changes:
- RequestCaptureFilter.java
Added logic to check the authentication type and mask the appropriate
query parameters or headers.

### Testing:
Verified that the masking functionality works as expected for API_KEY
authentication types.

## Automation

/test datasource

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9203547387>
> Commit: 9a7fc9cc1942ddc61c54f6ae9451706ad527f49c
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9203547387&attempt=2"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->







## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-05-23 13:45:16 +05:30
..
amazons3Plugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
anthropicPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
appsmithAiPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
arangoDBPlugin fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
awsLambdaPlugin fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
databricksPlugin fix: Making userTag a hidden field to not expose it as a user configurable option with Appsmith being the default value (#31792) 2024-03-14 16:18:44 +05:30
dynamoPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
elasticSearchPlugin fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
firestorePlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
googleAiPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
googleSheetsPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
graphqlPlugin fix: apiKey security issue (#33528) 2024-05-23 13:45:16 +05:30
jsPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
mongoPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
mssqlPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
mysqlPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
openAiPlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
oraclePlugin fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
postgresPlugin fix: Enable atomic pushes in git using an environment configuration (#33367) 2024-05-14 10:24:21 +05:30
redisPlugin fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
redshiftPlugin chore(deps): bump com.amazon.redshift:redshift-jdbc42 from 2.1.0.9 to 2.1.0.28 in /app/server/appsmith-plugins/redshiftPlugin (#33495) 2024-05-20 10:56:53 +05:30
restApiPlugin fix: apiKey security issue (#33528) 2024-05-23 13:45:16 +05:30
saasPlugin fix: graphQL bindings issue resolved (#32760) 2024-04-18 17:36:54 +05:30
smtpPlugin fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
snowflakePlugin feat: Add isSuggested value to templates for all plugins (#26623) 2023-08-30 11:49:25 +01:00
pom.xml test: Add AssertJ for plugins, for better assertions (#31380) 2024-03-04 07:33:45 +05:30