Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions metrics/LoggingMonitoring/SIEMEnabled/SIEMEnabled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ====== Metadata ======
id: SIEMEnabled
description: This rule assesses whether a [LoggingService] offers [SecurityInformationEventManagement] with its [p1:enabled] property set correctly.
category: LoggingMonitoring
version: "1.0"
comments: Security Incident and Event Management solutions aggregate security telemetry to detect and manage incidents. Enabling the SIEM capability ensures analysts can collect, correlate, and investigate events, supporting security incident response and forensic workflows.
# ====== Configuration ======
configuration:
p1:
operator: "=="
targetValue: True
4 changes: 4 additions & 0 deletions metrics/LoggingMonitoring/SIEMEnabled/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"operator" : "==",
"target_value" : true
}
26 changes: 26 additions & 0 deletions metrics/LoggingMonitoring/SIEMEnabled/metric.rego
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package cch.metrics.siem_enabled

import data.cch.compare
import rego.v1

default applicable = false

default compliant = false

siem := input.securityInformationEventManagement {
input.securityInformationEventManagement
}

siem := input.loggingService.securityInformationEventManagement {
input.loggingService.securityInformationEventManagement
}

enabled := siem.enabled

applicable if {
enabled != null
}

compliant if {
compare(data.operator, data.target_value, enabled)
}
35 changes: 35 additions & 0 deletions ontology/1.0/core/security.owx
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
<Declaration>
<Class abbreviatedIRI="core:SecurityFeature"/>
</Declaration>
<Declaration>
<Class abbreviatedIRI="core:SecurityInformationEventManagement"/>
</Declaration>
<Declaration>
<Class abbreviatedIRI="core:Signature"/>
</Declaration>
Expand Down Expand Up @@ -639,6 +642,28 @@
<Literal>xsd:java.time.Duration</Literal>
</DataHasValue>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="core:SecurityInformationEventManagement"/>
<Class abbreviatedIRI="core:Auditing"/>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="core:SecurityInformationEventManagement"/>
<Class abbreviatedIRI="core:SecurityFeature"/>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="core:SecurityInformationEventManagement"/>
<ObjectSomeValuesFrom>
<ObjectProperty abbreviatedIRI="prop:to"/>
<Class abbreviatedIRI="cl:LoggingService"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="core:SecurityInformationEventManagement"/>
<DataSomeValuesFrom>
<DataProperty abbreviatedIRI="prop:enabled"/>
<Datatype abbreviatedIRI="xsd:boolean"/>
</DataSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="core:MalwareProtection"/>
<Class abbreviatedIRI="core:Auditing"/>
Expand Down Expand Up @@ -1126,6 +1151,16 @@
<AbbreviatedIRI>core:SecurityFeature</AbbreviatedIRI>
<Literal xml:lang="english">SecurityFeature</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:comment"/>
<AbbreviatedIRI>core:SecurityInformationEventManagement</AbbreviatedIRI>
<Literal>Aggregates and correlates security telemetry across connected sources to support security incident detection and response (SIEM), e.g., Azure Security Insights (https://learn.microsoft.com/en-us/rest/api/securityinsights/).</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<AbbreviatedIRI>core:SecurityInformationEventManagement</AbbreviatedIRI>
<Literal>SecurityInformationEventManagement</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<AbbreviatedIRI>core:Signature</AbbreviatedIRI>
Expand Down
42 changes: 42 additions & 0 deletions ontology/1.0/ontology-merged.owx
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@
<Declaration>
<Class IRI="/classes/SecurityFeature"/>
</Declaration>
<Declaration>
<Class IRI="/classes/SecurityInformationEventManagement"/>
</Declaration>
<Declaration>
<Class IRI="/classes/SecurityTraining"/>
</Declaration>
Expand Down Expand Up @@ -2359,6 +2362,13 @@
<Class IRI="/classes/Storage"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/LoggingService"/>
<ObjectSomeValuesFrom>
<ObjectProperty IRI="/properties/offers"/>
<Class IRI="/classes/SecurityInformationEventManagement"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/MachineLearning"/>
<Class IRI="/classes/Data"/>
Expand Down Expand Up @@ -2919,6 +2929,28 @@
<Class IRI="/classes/SecurityFeature"/>
<Class abbreviatedIRI="owl:Thing"/>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/SecurityInformationEventManagement"/>
<Class IRI="/classes/Auditing"/>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/SecurityInformationEventManagement"/>
<Class IRI="/classes/SecurityFeature"/>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/SecurityInformationEventManagement"/>
<ObjectSomeValuesFrom>
<ObjectProperty IRI="/properties/to"/>
<Class IRI="/classes/LoggingService"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/SecurityInformationEventManagement"/>
<DataSomeValuesFrom>
<DataProperty IRI="/properties/enabled"/>
<Datatype abbreviatedIRI="xsd:boolean"/>
</DataSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class IRI="/classes/SecurityTraining"/>
<Class IRI="/classes/Training"/>
Expand Down Expand Up @@ -4375,6 +4407,16 @@ name = metadata.name</Literal>
<IRI>/classes/SecurityFeature</IRI>
<Literal xml:lang="english">SecurityFeature</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:comment"/>
<IRI>/classes/SecurityInformationEventManagement</IRI>
<Literal>Aggregates and correlates security telemetry across connected sources to support security incident detection and response (SIEM), e.g., Azure Security Insights (https://learn.microsoft.com/en-us/rest/api/securityinsights/).</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>/classes/SecurityInformationEventManagement</IRI>
<Literal>SecurityInformationEventManagement</Literal>
</AnnotationAssertion>
<AnnotationAssertion>
<AnnotationProperty abbreviatedIRI="rdfs:label"/>
<IRI>/classes/ServiceMetadataDocument</IRI>
Expand Down
14 changes: 14 additions & 0 deletions ontology/1.0/ontology.proto
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ message Auditing {
OSLogging os_logging = 2926;
ResourceLogging resource_logging = 17563;
MalwareProtection malware_protection = 7265;
SecurityInformationEventManagement security_information_event_management = 15645;
UsageStatistics usage_statistics = 15242;
}
}
Expand Down Expand Up @@ -1533,6 +1534,7 @@ message LoggingService {
repeated Logging loggings = 5453;
repeated Redundancy redundancies = 1550;
optional string parent_id = 258;
SecurityInformationEventManagement security_information_event_management = 4922;
optional string service_metadata_document_id = 16013;
repeated string storage_ids = 7044;
TransportEncryption transport_encryption = 17323;
Expand Down Expand Up @@ -2367,6 +2369,7 @@ message SecurityFeature {
OSLogging os_logging = 2926;
ResourceLogging resource_logging = 17563;
MalwareProtection malware_protection = 7265;
SecurityInformationEventManagement security_information_event_management = 15645;
UsageStatistics usage_statistics = 15242;
CertificateBasedAuthentication certificate_based_authentication = 560;
TokenBasedAuthentication token_based_authentication = 3684;
Expand Down Expand Up @@ -2397,9 +2400,20 @@ message SecurityFeature {
DocumentSignature document_signature = 7943;
ExplainableResults explainable_results = 6217;
RobustnessScore robustness_score = 12988;
SecurityInformationEventManagement security_information_event_management = 15645;
}
}

// SecurityInformationEventManagement is an entity class in our ontology. It can be instantiated and contains all of its properties as well of its implemented interfaces.
// Aggregates and correlates security telemetry across connected sources to support security incident detection and response (SIEM), e.g., Azure Security Insights (https://learn.microsoft.com/en-us/rest/api/securityinsights/).
message SecurityInformationEventManagement {
option (resource_type_names) = "SecurityInformationEventManagement";
option (resource_type_names) = "SecurityFeature";

bool enabled = 14252;
repeated string logging_service_ids = 3352;
}

// SecurityTraining is an entity class in our ontology. It can be instantiated and contains all of its properties as well of its implemented interfaces.
message SecurityTraining {
option (resource_type_names) = "SecurityTraining";
Expand Down
10 changes: 10 additions & 0 deletions ontology/1.0/resource/infrastructure.owx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@
<Declaration>
<Class abbreviatedIRI="cl:LoggingService"/>
</Declaration>
<Declaration>
<Class abbreviatedIRI="cl:SecurityInformationEventManagement"/>
</Declaration>
<Declaration>
<Class abbreviatedIRI="cl:MessagingHub"/>
</Declaration>
Expand Down Expand Up @@ -763,6 +766,13 @@
<Class abbreviatedIRI="cl:Storage"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="cl:LoggingService"/>
<ObjectSomeValuesFrom>
<ObjectProperty abbreviatedIRI="prop:offers"/>
<Class abbreviatedIRI="cl:SecurityInformationEventManagement"/>
</ObjectSomeValuesFrom>
</SubClassOf>
<SubClassOf>
<Class abbreviatedIRI="cl:MachineLearningService"/>
<Class abbreviatedIRI="cl:NetworkService"/>
Expand Down