Home - Pratiksha-Marane/duplo-docs GitHub Wiki
- Click on Create New Tenant named Compliance.
- Select the Default Plan for the tenant.
- Go to the following URL to download the SIEM template JSON file: SIEM Template for Azure.
- Click on the Download button or Save As option in your browser.
- Store the JSON file locally on your computer, ensuring it is named
siem-template-azure.json
for easy reference.
- In the DuploCloud dashboard, navigate to the Automation section.
- Select the Templates tab from the side menu.
- Click Upload Template and choose the
siem-template-azure.json
file you downloaded. - Once uploaded, the template should appear in the list of available templates.
- Go to the Deployments section within the automation where you intend to deploy the SIEM.
- Click Create New Deployment and select the recently uploaded SIEM template from the list.
- Under Template Variables, provide the following:
-
SIEM_HOST_IP
: (0.0.0.0) -
SIEM_PUSH_URL
: (0.0.0.0)
-
- Click Deploy to initiate the deployment process.
-
Locate the
duple.compliance.exe.conf
file in the directory where DuploCloud stores its compliance configurations. -
Open the
duple.compliance.exe.conf
file using a text editor of your choice. -
Add the necessary key-value pairs required for SIEM integration. Below is an example configuration:
<appsetting> <add key="ENGINEENDPOINT" value="0.0.0.0" /> <add key="OAUTH" value="http://0.0.0.0" /> </appsetting>
If you encounter issues, refer to the following error logs:
10/16/2024 9:37:38 AM - 11 System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at ContainerManagement.NodeStateDriver.RestClient.Utils.GetData(String aInUrl, List`1 aInHeaders, String aInUserAgent, String aInAcceptHeader, Boolean ignoreSslErrors, Int32 aInTimeout) in D:\a\duplo\duplo\ContainerManagement\Containers\ApiClient\Utils.cs:line 154
at Duplo.Compliance.EsClient.GetWazuhTemplate() in D:\a\duplo\duplo\services\compliance\ComplianceCore\CloudClients\ESClient.cs:line 139
at Duplo.Compliance.Workers.ComplianceLifeCycleWorker.DoWazuhHc(String pushUrl) in D:\a\duplo\duplo\services\compliance\ComplianceCore\Workers\ComplianceLifeCycleWorker.cs:line 190
at Duplo.Compliance.Workers.ComplianceLifeCycleWorker.<ProcessGoalStateUnsafe>b__7_1() in D:\a\duplo\duplo\services\compliance\ComplianceCore\Workers\ComplianceLifeCycleWorker.cs:line 55
at ContainerManagement.Common.Workers.AbstractWorker.RunPart(List`1 faults, String runnerName, String subsystem, String partName, String resourceId, Boolean logStackTrace, Action part) in D:\a\duplo\duplo\ContainerManagement\Containers\ApiClient\Common\Workers\AbstractWorker.cs:line 567
10/16/2024 9:37:38 AM - 11 Query http://:9200/_plugins/_ism/policies/siem-index-state-policy
10/16/2024 9:37:38 AM - 11 ComplianceLifeCycleWorker SetOpensearchPolicies threw an exception: Invalid URI: The hostname could not be parsed.
10/16/2024 9:37:38 AM - 11 System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at ContainerManagement.NodeStateDriver.RestClient.Utils.GetData(String aInUrl, List`1 aInHeaders, String aInUserAgent, String aInAcceptHeader, Boolean ignoreSslErrors, Int32 aInTimeout) in D:\a\duplo\duplo\ContainerManagement\Containers\ApiClient\Utils.cs:line 154
at Duplo.Compliance.EsClient.GetIlmPolicy(String policy_name) in D:\a\duplo\duplo\services\compliance\ComplianceCore\CloudClients\ESClient.cs:line 112
at Duplo.Compliance.Workers.ComplianceLifeCycleWorker.CheckAndCreateOpensearchIlmPolicy() in D:\a\duplo\duplo\services\compliance\ComplianceCore\Workers\ComplianceLifeCycleWorker.cs:line 126
at Duplo.Compliance.Workers.ComplianceLifeCycleWorker.<ProcessGoalStateUnsafe>b__7_2() in D:\a\duplo\duplo\services\compliance\ComplianceCore\Workers\ComplianceLifeCycleWorker.cs:line 63
at ContainerManagement.Common.Workers.AbstractWorker.RunPart(List`1 faults, String runnerName, String subsystem, String partName, String resourceId, Boolean logStackTrace, Action part) in D:\a\duplo\duplo\ContainerManagement\Containers\ApiClient\Common\Workers\AbstractWorker.cs:line 567