mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-08 02:38:51 +00:00
172 lines
8.5 KiB
HTML
172 lines
8.5 KiB
HTML
<div flex="auto" layout="column" ng-if="configurationTab === 'integrations'">
|
|
|
|
<!-- Headline -->
|
|
<div layout="column" layout-padding>
|
|
<div>
|
|
<span class="font-size-18">Integrations</span>
|
|
</div>
|
|
<span class="md-subheader">Slack, VirusTotal and PagerDuty integrations with external APIs</span>
|
|
</div>
|
|
<!-- End headline -->
|
|
|
|
<!-- Loading ring -->
|
|
<div class='uil-ring-css' ng-show="load">
|
|
<div></div>
|
|
</div>
|
|
|
|
<!-- This section contains the main content and the right sidenav -->
|
|
<div flex="auto" layout="row" ng-if="!load">
|
|
|
|
<!-- No configuration section -->
|
|
<wz-no-config
|
|
flex
|
|
error="currentConfig['integrator-integration']"
|
|
ng-if="currentConfig['integrator-integration'] && isString(currentConfig['integrator-integration'])"></wz-no-config>
|
|
<!-- End no configuration section -->
|
|
|
|
<!-- This section is the main content -->
|
|
<div flex layout="column" ng-if="currentConfig['integrator-integration'] && !isString(currentConfig['integrator-integration'])">
|
|
|
|
<!-- VirusTotal integration card -->
|
|
<md-card class="wz-md-card" ng-if="!JSONContent && !XMLContent">
|
|
<md-card-content>
|
|
<div layout="row" layout-align="start center">
|
|
<div ng-if="integrations['virustotal']">
|
|
<span class="font-size-16">VirusTotal</span>
|
|
<div class="wz-margin-top-10">
|
|
<span class="md-subheader small">Get notified when malicious software is found</span>
|
|
</div>
|
|
</div>
|
|
<span flex></span>
|
|
<span ng-class="JSONContent ? 'wz-text-active' : ''" class="wz-text-link small" ng-click="getJSON()">JSON</span>
|
|
<span class="small"> · </span>
|
|
<span ng-class="XMLContent ? 'wz-text-active' : ''" class="wz-text-link small" ng-click="getXML()">XML</span>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10"></md-divider>
|
|
|
|
<!-- Configuration block -->
|
|
<div class="wz-padding-top-10" ng-if="integrations['virustotal']">
|
|
<wz-config-item
|
|
label="Filter alerts by this level or above"
|
|
value="integrations['virustotal'].level">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this rule IDs"
|
|
value="integrations['virustotal'].rule_id">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this rule groups"
|
|
value="integrations['virustotal'].group">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by location (agent, IP or file)"
|
|
value="integrations['virustotal'].event_location">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Used format to write alerts"
|
|
value="integrations['virustotal'].alert_format">
|
|
</wz-config-item>
|
|
|
|
</div>
|
|
<!-- End configuration block -->
|
|
|
|
<div class="wz-margin-top-10" ng-if="integrations['slack']">
|
|
<span class="font-size-16">Slack</span>
|
|
<div class="wz-margin-top-10">
|
|
<span class="md-subheader small">Get alerts directly on Slack</span>
|
|
</div>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="integrations['slack']"></md-divider>
|
|
|
|
<!-- Configuration block -->
|
|
<div class="wz-padding-top-10" ng-if="integrations['slack']">
|
|
|
|
<wz-config-item
|
|
label="Hook URL"
|
|
value="integrations['slack'].hook_url">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this level or above"
|
|
value="integrations['slack'].level">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this rule IDs"
|
|
value="integrations['slack'].rule_id">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this rule groups"
|
|
value="integrations['slack'].group">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by location (agent, IP or file)"
|
|
value="integrations['slack'].event_location">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Used format to write alerts"
|
|
value="integrations['slack'].alert_format">
|
|
</wz-config-item>
|
|
|
|
</div>
|
|
<!-- End configuration block -->
|
|
|
|
<div class="wz-margin-top-10" ng-if="integrations['pagerduty']">
|
|
<span class="font-size-16">PagerDuty</span>
|
|
<div class="wz-margin-top-10">
|
|
<span class="md-subheader small">Get alerts on this streamlined incident resolution software</span>
|
|
</div>
|
|
</div>
|
|
<md-divider class="wz-margin-top-10" ng-if="integrations['pagerduty']"></md-divider>
|
|
|
|
<!-- Configuration block -->
|
|
<div class="wz-padding-top-10" ng-if="integrations['pagerduty']">
|
|
|
|
<wz-config-item
|
|
label="Filter alerts by this level or above"
|
|
value="integrations['pagerduty'].level">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this rule IDs"
|
|
value="integrations['pagerduty'].rule_id">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by this rule groups"
|
|
value="integrations['pagerduty'].group">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Filter alerts by location (agent, IP or file)"
|
|
value="integrations['pagerduty'].event_location">
|
|
</wz-config-item>
|
|
<wz-config-item
|
|
label="Used format to write alerts"
|
|
value="integrations['pagerduty'].alert_format">
|
|
</wz-config-item>
|
|
|
|
</div>
|
|
<!-- End configuration block -->
|
|
</md-card-content>
|
|
</md-card>
|
|
<!-- End VirusTotal integration card -->
|
|
|
|
<wz-config-viewer flex getjson="getJSON()" getxml="getXML()" jsoncontent="JSONContent" xmlcontent="XMLContent" />
|
|
|
|
</div>
|
|
<!-- End main content section -->
|
|
|
|
<!-- This section is the right sidenav content -->
|
|
<md-sidenav
|
|
class="md-sidenav-right"
|
|
md-is-locked-open="true">
|
|
<md-list>
|
|
<md-subheader>More info about this section</md-subheader>
|
|
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/manager/manual-integration.html">How to integrate Wazuh with external APIs</md-list-item>
|
|
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/capabilities/virustotal-scan/index.html">VirusTotal integration documentation</md-list-item>
|
|
<md-list-item target="_blank" class="wz-text-link" ng-href="https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/integration.html">Integration reference</md-list-item>
|
|
</md-list>
|
|
</md-sidenav>
|
|
<!-- End right sidenav section -->
|
|
|
|
</div>
|
|
<!-- End main content and right sidenav section -->
|
|
|
|
</div>
|