Skip to content

Commit

Permalink
Rename time tag and styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pablotr9 committed Jun 6, 2019
1 parent 4a00ed7 commit 7e05216
Show file tree
Hide file tree
Showing 29 changed files with 101 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ define([
this.filters
} sourcetype=wazuh | timechart limit=10 count by rule.description`,
'alertsOverTimeVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummaryVizz',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ define([
this.filters
} sourcetype=wazuh rule.groups{}="ciscat" | timechart count by data.cis.result usenull=f`,
'scanResultEvolution',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h count by data.docker.Action`,
'eventsOcurred',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'top5actions',
Expand All @@ -116,7 +117,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h count by data.docker.Type`,
'resourceUsage',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new RawTableDataService(
'alertsSummaryRawTable',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ define([
this.filters
} sourcetype="wazuh" "rule.groups{}"="syscheck" | timechart span=12h count by rule.description`,
'eventsOverTimeElement',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new ColumnChart(
'topGroupOwnersElement',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,15 @@ define([
this.filters
} sourcetype=wazuh rule.level=*| timechart count by rule.level{} `,
'alertLevelEvoVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new ColumnChart(
'alertsVizz',
`${this.filters} sourcetype=wazuh | timechart span=2h count `,
'alertsVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'agentsSummaryVizz',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h count by data.osquery.pack`,
'alertsPacksOverTime',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'mostCommonActions',
Expand All @@ -118,7 +119,8 @@ define([
'alertsOverTime',
`${this.filters} sourcetype=wazuh | timechart span=1h count`,
'alertsOverTime',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ define([
this.filters
} sourcetype=wazuh rule.description=* | timechart span=1h count by rule.description `,
'elementOverTime',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'cisRequirements',
Expand All @@ -121,7 +122,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=2h count by agent.name `,
'eventsPerAgent',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ define([
this.filters
} data.virustotal.positives="*" | timechart span=12h count by data.virustotal.positives `,
'maliciousEventsOverTimeElement',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'lastFiles',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ define([
this.filters
} sourcetype=wazuh rule.groups{}=vulnerability-detector data.vulnerability.severity=* | timechart count by data.vulnerability.severity`,
'alertsSeverityOverTimeVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'commonRules',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,17 @@ define([
'alertSummary',
`${this.filters} sourcetype=wazuh | timechart span=1h count`,
'alertSummary',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new LinearChart(
'alertNodeSummary',
`${
this.filters
} sourcetype=wazuh | timechart span=1h count by cluster.node`,
'alertNodeSummary',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'topNodes',
Expand All @@ -71,7 +73,8 @@ define([
'overviewNode',
`${this.filters} sourcetype=wazuh | timechart span=2h count`,
'overviewNode',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
)
]
const parsedResult = monitoringInfo.map(item =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ define([
this.filters
} sourcetype=wazuh rule.groups{}="audit" | timechart limit=10 count by rule.description`,
'alertsOverTimeElement',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ define([
this.filters
} sourcetype=wazuh | timechart count by data.aws.source usenull=f`,
'eventsBySourceVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new ColumnChart(
'eventsByS3BucketsVizz',
`${
this.filters
} sourcetype=wazuh | timechart count by data.aws.log_info.s3bucket usenull=f`,
'eventsByS3BucketsVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'sourcesVizz',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ define([
this.filters
} sourcetype=wazuh rule.groups{}="ciscat" | timechart count by data.cis.result usenull=f`,
'scanResultEvolution',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h count by data.docker.Action`,
'eventsOcurred',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'top5actions',
Expand All @@ -99,7 +100,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h count by data.docker.Type`,
'resourceUsage',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new RawTableDataService(
'alertsSummaryRawTable',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ define([
this.filters
} sourcetype=wazuh rule.groups{}=syscheck | timechart count by syscheck.event`,
'alertsByActionOverTime',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'top5Agents',
Expand All @@ -88,7 +89,8 @@ define([
this.filters
} sourcetype=wazuh rule.groups{}=syscheck | timechart count`,
'eventsSummary',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'ruleDistribution',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ define([
this.filters
} sourcetype=wazuh rule.gdpr{}="*" | timechart count by rule.gdpr{} | rename count as "Count", rule.gdpr{} as "Requirements" `,
'evoViz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'agentsViz',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,15 @@ define([
this.filters
} sourcetype=wazuh rule.level=*| timechart count by rule.level `,
'alertLevEvoVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new LinearChart(
'alertsVizz',
`${this.filters} sourcetype=wazuh | timechart span=2h count `,
'alertsVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'alertsEvoTop5Agents',
Expand Down Expand Up @@ -238,7 +240,8 @@ define([
this.spanTime
} cont=FALSE count by status usenull=f`,
`agentStatus`,
this.scope
this.scope,
{customAxisTitleX : "Time span"}
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ define([
this.filters
} sourcetype=wazuh rule.hipaa{}="*" | timechart count by rule.hipaa{} | rename count as "Count", rule.hipaa{} as "Requirements"`,
'evoVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'agentsVizz',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ define([
this.filters
} sourcetype=wazuh rule.nist_800_53{}="*" | timechart count by rule.nist_800_53{} | rename count as "Count", rule.nist_800_53{} as "Requirements"`,
'evoVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'agentsVizz',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h count by data.osquery.pack`,
'alertsPacksOverTime',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'topOsqueryAdded',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ define([
this.filters
} sourcetype=wazuh rule.pci_dss{}="*" | timechart count by rule.pci_dss{} | rename count as "Count", rule.pci_dss{} as "Requirements"`,
'evoVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'agentsVizz',
Expand Down Expand Up @@ -124,7 +125,7 @@ define([
this.scope,
'Alerts Summary'
)
]
]
}

$onInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ define([
this.filters
} sourcetype=wazuh rule.description=* | timechart span=1h count by rule.description`,
'elementOverTime',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'cisRequirements',
Expand All @@ -93,7 +94,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=2h count by data.title`,
'eventsPerAgent',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ define([
'overTimePolicy',
`${this.filters} | timechart count by data.sca.policy`,
'overTimePolicy',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new Table(
'alertsSummary',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,15 @@ define([
this.filters
} sourcetype=wazuh rule.level=*| timechart count by rule.level`,
'profilesVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new ColumnChart(
'contentVizz',
`${this.filters} sourcetype=wazuh | timechart span=2h count`,
'contentVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'severityVizz',
Expand All @@ -173,7 +175,8 @@ define([
this.filters
} sourcetype=wazuh | timechart span=1h limit=5 useother=f count by agent.name`,
'top5AgentsVizz',
this.scope
this.scope,
{customAxisTitleX : "Time span"}
),
new PieChart(
'top10AlertsVizz',
Expand Down
Loading

0 comments on commit 7e05216

Please sign in to comment.