Skip to content

Commit

Permalink
Merge pull request #11271 from cohesity/CohesitySecurity
Browse files Browse the repository at this point in the history
Cohesity security
  • Loading branch information
v-prasadboke authored Oct 18, 2024
2 parents 8910fde + b436f3f commit 508b3f2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public static async Task RunAsync(

private static async Task<dynamic> FetchAlerts(long startDateUsecs, long endDateUsecs, ILogger log)
{
string requestUriString = $"https://helios-sandbox2.cohesity.com/v2/mcm/alert-service/alerts?startTimeUsecs={startDateUsecs}&maxAlerts=1000&endTimeUsecs={endDateUsecs}&alertCategoryList=Security";
string requestUriString = $"https://helios.cohesity.com/v2/mcm/alert-service/alerts?startTimeUsecs={startDateUsecs}&maxAlerts=1000&endTimeUsecs={endDateUsecs}&alertCategoryList=Security";
log.LogInformation("requestUriString --> " + requestUriString);
using HttpClient client = new();
client.DefaultRequestHeaders.Accept.Clear();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Playbooks/Cohesity_Delete_Incident_Blobs/azuredeploy.json"
],
"BasePath": "/home/cohesity/workspace/Azure-Sentinel/Solutions/CohesitySecurity",
"Version": "3.1.1",
"Version": "3.1.2",
"Metadata": "SolutionMetadata.json",
"TemplateSpec": true,
"Is1Pconnector": false
Expand Down
Binary file added Solutions/CohesitySecurity/Package/3.1.2.zip
Binary file not shown.
18 changes: 9 additions & 9 deletions Solutions/CohesitySecurity/Package/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"email": "support@cohesity.com",
"_email": "[variables('email')]",
"_solutionName": "CohesitySecurity",
"_solutionVersion": "3.1.1",
"_solutionVersion": "3.1.2",
"solutionId": "cohesitydev1592001764720.cohesity_sentinel_data_connector",
"_solutionId": "[variables('solutionId')]",
"uiConfigId1": "CohesityDataConnector",
Expand Down Expand Up @@ -99,7 +99,7 @@
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
],
"properties": {
"description": "CohesitySecurity data connector with template version 3.1.1",
"description": "CohesitySecurity data connector with template version 3.1.2",
"mainTemplate": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "[variables('dataConnectorVersion1')]",
Expand Down Expand Up @@ -390,7 +390,7 @@
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
],
"properties": {
"description": "My_Cohesity_Send_Incident_Email Playbook with template version 3.1.1",
"description": "My_Cohesity_Send_Incident_Email Playbook with template version 3.1.2",
"mainTemplate": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "[variables('playbookVersion1')]",
Expand Down Expand Up @@ -639,7 +639,7 @@
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
],
"properties": {
"description": "My_Cohesity_Restore_From_Last_Snapshot Playbook with template version 3.1.1",
"description": "My_Cohesity_Restore_From_Last_Snapshot Playbook with template version 3.1.2",
"mainTemplate": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "[variables('playbookVersion2')]",
Expand Down Expand Up @@ -871,7 +871,7 @@
"name": "Sentinel_triggered_restore_task_@{body('Get_object_from_blob_content')}",
"objects": [
{
"job_id": "@int(string(body('Get_job_id_from_blob_content')))",
"jobId": "@int(string(body('Get_job_id_from_blob_content')))",
"jobRunId": "@int(string(body('Get_job_instance_id_from_blob_content')))",
"protectionSourceId": "@int(string(body('Get_entity_id_from_blob_content')))",
"sourceName": "@{body('Get_object_from_blob_content')}",
Expand Down Expand Up @@ -1082,7 +1082,7 @@
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
],
"properties": {
"description": "My_Cohesity_Close_Helios_Incident Playbook with template version 3.1.1",
"description": "My_Cohesity_Close_Helios_Incident Playbook with template version 3.1.2",
"mainTemplate": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "[variables('playbookVersion3')]",
Expand Down Expand Up @@ -1355,7 +1355,7 @@
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
],
"properties": {
"description": "My_Cohesity_CreateOrUpdate_ServiceNow_Incident Playbook with template version 3.1.1",
"description": "My_Cohesity_CreateOrUpdate_ServiceNow_Incident Playbook with template version 3.1.2",
"mainTemplate": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "[variables('playbookVersion4')]",
Expand Down Expand Up @@ -2136,7 +2136,7 @@
"[extensionResourceId(resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspace')), 'Microsoft.SecurityInsights/contentPackages', variables('_solutionId'))]"
],
"properties": {
"description": "My_Cohesity_Delete_Incident_Blobs Playbook with template version 3.1.1",
"description": "My_Cohesity_Delete_Incident_Blobs Playbook with template version 3.1.2",
"mainTemplate": {
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "[variables('playbookVersion5')]",
Expand Down Expand Up @@ -2419,7 +2419,7 @@
"apiVersion": "2023-04-01-preview",
"location": "[parameters('workspace-location')]",
"properties": {
"version": "3.1.1",
"version": "3.1.2",
"kind": "Solution",
"contentSchemaVersion": "3.0.0",
"displayName": "CohesitySecurity",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"body": {
"name": "Sentinel_triggered_restore_task_@{body('Get_object_from_blob_content')}",
"objects": [{
"job_id": "@int(string(body('Get_job_id_from_blob_content')))",
"jobId": "@int(string(body('Get_job_id_from_blob_content')))",
"jobRunId": "@int(string(body('Get_job_instance_id_from_blob_content')))",
"protectionSourceId": "@int(string(body('Get_entity_id_from_blob_content')))",
"sourceName": "@{body('Get_object_from_blob_content')}",
Expand Down

0 comments on commit 508b3f2

Please sign in to comment.