Skip to content

Removed a sensitive log line from test case#14703

Open
shishirdw wants to merge 16 commits into
Azure:masterfrom
cohesity:CohesitySecurity
Open

Removed a sensitive log line from test case#14703
shishirdw wants to merge 16 commits into
Azure:masterfrom
cohesity:CohesitySecurity

Conversation

@shishirdw

Copy link
Copy Markdown
Contributor

Required items, please complete

Change(s):

  • Removed a print log of API Key

Reason for Change(s):

  • Security Alert

Version Updated:

  • N/A ony test case modified

Testing Completed:

  • Yes

Checked that the validations are passing and have addressed any issues that are present:

  • Yes

@shishirdw
shishirdw requested review from a team as code owners July 17, 2026 09:07
@v-atulyadav v-atulyadav added the Sample Data Sample Data label Jul 17, 2026
@v-atulyadav
v-atulyadav requested a review from Copilot July 17, 2026 09:24

Copilot AI 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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Removes a sensitive API key log from a test case; also includes an unexpected modification to a sample CSV header line.

Changes:

  • Removed printing of api_key from test_cohesity_close_helios_incident.
  • Modified the header line in a Fortinet sample CSV (header formatting/encoding change).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Solutions/CohesitySecurity/Tests/az.test.py Removes logging of a sensitive value (API key) from the test output.
Sample Data/ASIM/Fortinet_Fortigate_WebSession_IngestedLogs.csv Alters the CSV header line (likely encoding/formatting), which may impact consumers of this sample data.

@@ -1,4 +1,4 @@
TenantId,TimeGenerated [UTC],DeviceVendor,DeviceProduct,DeviceVersion,DeviceEventClassID,Activity,LogSeverity,AdditionalExtensions,DeviceAction,Protocol,ApplicationProtocol,DeviceExternalID,DeviceInboundInterface,DeviceOutboundInterface,DestinationHostName,DestinationPort,DestinationIP,DeviceName,Message,SourceIP,Computer,RequestURL,Type
TenantId,TimeGenerated [UTC],DeviceVendor,DeviceProduct,DeviceVersion,DeviceEventClassID,Activity,LogSeverity,AdditionalExtensions,DeviceAction,Protocol,ApplicationProtocol,DeviceExternalID,DeviceInboundInterface,DeviceOutboundInterface,DestinationHostName,DestinationPort,DestinationIP,DeviceName,Message,SourceIP,Computer,RequestURL,Type
@@ -1,4 +1,4 @@
TenantId,TimeGenerated [UTC],DeviceVendor,DeviceProduct,DeviceVersion,DeviceEventClassID,Activity,LogSeverity,AdditionalExtensions,DeviceAction,Protocol,ApplicationProtocol,DeviceExternalID,DeviceInboundInterface,DeviceOutboundInterface,DestinationHostName,DestinationPort,DestinationIP,DeviceName,Message,SourceIP,Computer,RequestURL,Type
TenantId,TimeGenerated [UTC],DeviceVendor,DeviceProduct,DeviceVersion,DeviceEventClassID,Activity,LogSeverity,AdditionalExtensions,DeviceAction,Protocol,ApplicationProtocol,DeviceExternalID,DeviceInboundInterface,DeviceOutboundInterface,DestinationHostName,DestinationPort,DestinationIP,DeviceName,Message,SourceIP,Computer,RequestURL,Type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Sample Data Sample Data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants