Class: MicrosoftGraph::Models::SecurityDeviceEvidence
- Inherits:
-
SecurityAlertEvidence
- Object
- SecurityAlertEvidence
- MicrosoftGraph::Models::SecurityDeviceEvidence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_device_evidence.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#azure_ad_device_id ⇒ Object
Gets the azureAdDeviceId property value.
-
#azure_ad_device_id=(value) ⇒ Object
Sets the azureAdDeviceId property value.
-
#defender_av_status ⇒ Object
Gets the defenderAvStatus property value.
-
#defender_av_status=(value) ⇒ Object
Sets the defenderAvStatus property value.
-
#device_dns_name ⇒ Object
Gets the deviceDnsName property value.
-
#device_dns_name=(value) ⇒ Object
Sets the deviceDnsName property value.
-
#first_seen_date_time ⇒ Object
Gets the firstSeenDateTime property value.
-
#first_seen_date_time=(value) ⇒ Object
Sets the firstSeenDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#health_status ⇒ Object
Gets the healthStatus property value.
-
#health_status=(value) ⇒ Object
Sets the healthStatus property value.
-
#initialize ⇒ Object
constructor
Instantiates a new securityDeviceEvidence and sets the default values.
-
#ip_interfaces ⇒ Object
Gets the ipInterfaces property value.
-
#ip_interfaces=(value) ⇒ Object
Sets the ipInterfaces property value.
-
#logged_on_users ⇒ Object
Gets the loggedOnUsers property value.
-
#logged_on_users=(value) ⇒ Object
Sets the loggedOnUsers property value.
-
#mde_device_id ⇒ Object
Gets the mdeDeviceId property value.
-
#mde_device_id=(value) ⇒ Object
Sets the mdeDeviceId property value.
-
#onboarding_status ⇒ Object
Gets the onboardingStatus property value.
-
#onboarding_status=(value) ⇒ Object
Sets the onboardingStatus property value.
-
#os_build ⇒ Object
Gets the osBuild property value.
-
#os_build=(value) ⇒ Object
Sets the osBuild property value.
-
#os_platform ⇒ Object
Gets the osPlatform property value.
-
#os_platform=(value) ⇒ Object
Sets the osPlatform property value.
-
#rbac_group_id ⇒ Object
Gets the rbacGroupId property value.
-
#rbac_group_id=(value) ⇒ Object
Sets the rbacGroupId property value.
-
#rbac_group_name ⇒ Object
Gets the rbacGroupName property value.
-
#rbac_group_name=(value) ⇒ Object
Sets the rbacGroupName property value.
-
#risk_score ⇒ Object
Gets the riskScore property value.
-
#risk_score=(value) ⇒ Object
Sets the riskScore property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#version ⇒ Object
Gets the version property value.
-
#version=(value) ⇒ Object
Sets the version property value.
-
#vm_metadata ⇒ Object
Gets the vmMetadata property value.
-
#vm_metadata=(value) ⇒ Object
Sets the vmMetadata property value.
Methods inherited from SecurityAlertEvidence
#additional_data, #additional_data=, #created_date_time, #created_date_time=, #detailed_roles, #detailed_roles=, #odata_type, #odata_type=, #remediation_status, #remediation_status=, #remediation_status_details, #remediation_status_details=, #roles, #roles=, #tags, #tags=, #verdict, #verdict=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityDeviceEvidence and sets the default values.
77 78 79 80 |
# File 'lib/models/security_device_evidence.rb', line 77 def initialize() super @odata_type = "#microsoft.graph.security.deviceEvidence" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
86 87 88 89 |
# File 'lib/models/security_device_evidence.rb', line 86 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityDeviceEvidence.new end |
Instance Method Details
#azure_ad_device_id ⇒ Object
Gets the azureAdDeviceId property value. A unique identifier assigned to a device by Azure Active Directory (Azure AD) when device is Azure AD-joined.
62 63 64 |
# File 'lib/models/security_device_evidence.rb', line 62 def azure_ad_device_id return @azure_ad_device_id end |
#azure_ad_device_id=(value) ⇒ Object
Sets the azureAdDeviceId property value. A unique identifier assigned to a device by Azure Active Directory (Azure AD) when device is Azure AD-joined.
70 71 72 |
# File 'lib/models/security_device_evidence.rb', line 70 def azure_ad_device_id=(value) @azure_ad_device_id = value end |
#defender_av_status ⇒ Object
Gets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue.
94 95 96 |
# File 'lib/models/security_device_evidence.rb', line 94 def defender_av_status return @defender_av_status end |
#defender_av_status=(value) ⇒ Object
Sets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue.
102 103 104 |
# File 'lib/models/security_device_evidence.rb', line 102 def defender_av_status=(value) @defender_av_status = value end |
#device_dns_name ⇒ Object
Gets the deviceDnsName property value. The fully qualified domain name (FQDN) for the device.
109 110 111 |
# File 'lib/models/security_device_evidence.rb', line 109 def device_dns_name return @device_dns_name end |
#device_dns_name=(value) ⇒ Object
Sets the deviceDnsName property value. The fully qualified domain name (FQDN) for the device.
117 118 119 |
# File 'lib/models/security_device_evidence.rb', line 117 def device_dns_name=(value) @device_dns_name = value end |
#first_seen_date_time ⇒ Object
Gets the firstSeenDateTime property value. The date and time when the device was first seen.
124 125 126 |
# File 'lib/models/security_device_evidence.rb', line 124 def first_seen_date_time return @first_seen_date_time end |
#first_seen_date_time=(value) ⇒ Object
Sets the firstSeenDateTime property value. The date and time when the device was first seen.
132 133 134 |
# File 'lib/models/security_device_evidence.rb', line 132 def first_seen_date_time=(value) @first_seen_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File 'lib/models/security_device_evidence.rb', line 139 def get_field_deserializers() return super.merge({ "azureAdDeviceId" => lambda {|n| @azure_ad_device_id = n.get_string_value() }, "defenderAvStatus" => lambda {|n| @defender_av_status = n.get_enum_value(MicrosoftGraph::Models::SecurityDefenderAvStatus) }, "deviceDnsName" => lambda {|n| @device_dns_name = n.get_string_value() }, "firstSeenDateTime" => lambda {|n| @first_seen_date_time = n.get_date_time_value() }, "healthStatus" => lambda {|n| @health_status = n.get_enum_value(MicrosoftGraph::Models::SecurityDeviceHealthStatus) }, "ipInterfaces" => lambda {|n| @ip_interfaces = n.get_collection_of_primitive_values(String) }, "loggedOnUsers" => lambda {|n| @logged_on_users = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityLoggedOnUser.create_from_discriminator_value(pn) }) }, "mdeDeviceId" => lambda {|n| @mde_device_id = n.get_string_value() }, "onboardingStatus" => lambda {|n| @onboarding_status = n.get_enum_value(MicrosoftGraph::Models::SecurityOnboardingStatus) }, "osBuild" => lambda {|n| @os_build = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "osPlatform" => lambda {|n| @os_platform = n.get_string_value() }, "rbacGroupId" => lambda {|n| @rbac_group_id = n.get_number_value() }, "rbacGroupName" => lambda {|n| @rbac_group_name = n.get_string_value() }, "riskScore" => lambda {|n| @risk_score = n.get_enum_value(MicrosoftGraph::Models::SecurityDeviceRiskScore) }, "version" => lambda {|n| @version = n.get_string_value() }, "vmMetadata" => lambda {|n| = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityVmMetadata.create_from_discriminator_value(pn) }) }, }) end |
#health_status ⇒ Object
Gets the healthStatus property value. The health state of the device.The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue.
163 164 165 |
# File 'lib/models/security_device_evidence.rb', line 163 def health_status return @health_status end |
#health_status=(value) ⇒ Object
Sets the healthStatus property value. The health state of the device.The possible values are: active, inactive, impairedCommunication, noSensorData, noSensorDataImpairedCommunication, unknown, unknownFutureValue.
171 172 173 |
# File 'lib/models/security_device_evidence.rb', line 171 def health_status=(value) @health_status = value end |
#ip_interfaces ⇒ Object
Gets the ipInterfaces property value. Ip interfaces of the device during the time of the alert.
178 179 180 |
# File 'lib/models/security_device_evidence.rb', line 178 def ip_interfaces return @ip_interfaces end |
#ip_interfaces=(value) ⇒ Object
Sets the ipInterfaces property value. Ip interfaces of the device during the time of the alert.
186 187 188 |
# File 'lib/models/security_device_evidence.rb', line 186 def ip_interfaces=(value) @ip_interfaces = value end |
#logged_on_users ⇒ Object
Gets the loggedOnUsers property value. Users that were logged on the machine during the time of the alert.
193 194 195 |
# File 'lib/models/security_device_evidence.rb', line 193 def logged_on_users return @logged_on_users end |
#logged_on_users=(value) ⇒ Object
Sets the loggedOnUsers property value. Users that were logged on the machine during the time of the alert.
201 202 203 |
# File 'lib/models/security_device_evidence.rb', line 201 def logged_on_users=(value) @logged_on_users = value end |
#mde_device_id ⇒ Object
Gets the mdeDeviceId property value. A unique identifier assigned to a device by Microsoft Defender for Endpoint.
208 209 210 |
# File 'lib/models/security_device_evidence.rb', line 208 def mde_device_id return @mde_device_id end |
#mde_device_id=(value) ⇒ Object
Sets the mdeDeviceId property value. A unique identifier assigned to a device by Microsoft Defender for Endpoint.
216 217 218 |
# File 'lib/models/security_device_evidence.rb', line 216 def mde_device_id=(value) @mde_device_id = value end |
#onboarding_status ⇒ Object
Gets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint.The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue.
223 224 225 |
# File 'lib/models/security_device_evidence.rb', line 223 def onboarding_status return @onboarding_status end |
#onboarding_status=(value) ⇒ Object
Sets the onboardingStatus property value. The status of the machine onboarding to Microsoft Defender for Endpoint.The possible values are: insufficientInfo, onboarded, canBeOnboarded, unsupported, unknownFutureValue.
231 232 233 |
# File 'lib/models/security_device_evidence.rb', line 231 def onboarding_status=(value) @onboarding_status = value end |
#os_build ⇒ Object
Gets the osBuild property value. The build version for the operating system the device is running.
238 239 240 |
# File 'lib/models/security_device_evidence.rb', line 238 def os_build return @os_build end |
#os_build=(value) ⇒ Object
Sets the osBuild property value. The build version for the operating system the device is running.
246 247 248 |
# File 'lib/models/security_device_evidence.rb', line 246 def os_build=(value) @os_build = value end |
#os_platform ⇒ Object
Gets the osPlatform property value. The operating system platform the device is running.
253 254 255 |
# File 'lib/models/security_device_evidence.rb', line 253 def os_platform return @os_platform end |
#os_platform=(value) ⇒ Object
Sets the osPlatform property value. The operating system platform the device is running.
261 262 263 |
# File 'lib/models/security_device_evidence.rb', line 261 def os_platform=(value) @os_platform = value end |
#rbac_group_id ⇒ Object
Gets the rbacGroupId property value. The ID of the role-based access control (RBAC) device group.
268 269 270 |
# File 'lib/models/security_device_evidence.rb', line 268 def rbac_group_id return @rbac_group_id end |
#rbac_group_id=(value) ⇒ Object
Sets the rbacGroupId property value. The ID of the role-based access control (RBAC) device group.
276 277 278 |
# File 'lib/models/security_device_evidence.rb', line 276 def rbac_group_id=(value) @rbac_group_id = value end |
#rbac_group_name ⇒ Object
Gets the rbacGroupName property value. The name of the RBAC device group.
283 284 285 |
# File 'lib/models/security_device_evidence.rb', line 283 def rbac_group_name return @rbac_group_name end |
#rbac_group_name=(value) ⇒ Object
Sets the rbacGroupName property value. The name of the RBAC device group.
291 292 293 |
# File 'lib/models/security_device_evidence.rb', line 291 def rbac_group_name=(value) @rbac_group_name = value end |
#risk_score ⇒ Object
Gets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue.
298 299 300 |
# File 'lib/models/security_device_evidence.rb', line 298 def risk_score return @risk_score end |
#risk_score=(value) ⇒ Object
Sets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue.
306 307 308 |
# File 'lib/models/security_device_evidence.rb', line 306 def risk_score=(value) @risk_score = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 |
# File 'lib/models/security_device_evidence.rb', line 314 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("azureAdDeviceId", @azure_ad_device_id) writer.write_enum_value("defenderAvStatus", @defender_av_status) writer.write_string_value("deviceDnsName", @device_dns_name) writer.write_date_time_value("firstSeenDateTime", @first_seen_date_time) writer.write_enum_value("healthStatus", @health_status) writer.write_collection_of_primitive_values("ipInterfaces", @ip_interfaces) writer.write_collection_of_object_values("loggedOnUsers", @logged_on_users) writer.write_string_value("mdeDeviceId", @mde_device_id) writer.write_enum_value("onboardingStatus", @onboarding_status) writer.write_object_value("osBuild", @os_build) writer.write_string_value("osPlatform", @os_platform) writer.write_number_value("rbacGroupId", @rbac_group_id) writer.write_string_value("rbacGroupName", @rbac_group_name) writer.write_enum_value("riskScore", @risk_score) writer.write_string_value("version", @version) writer.write_object_value("vmMetadata", ) end |
#version ⇒ Object
Gets the version property value. The version of the operating system platform.
338 339 340 |
# File 'lib/models/security_device_evidence.rb', line 338 def version return @version end |
#version=(value) ⇒ Object
Sets the version property value. The version of the operating system platform.
346 347 348 |
# File 'lib/models/security_device_evidence.rb', line 346 def version=(value) @version = value end |
#vm_metadata ⇒ Object
Gets the vmMetadata property value. Metadata of the virtual machine (VM) on which Microsoft Defender for Endpoint is running.
353 354 355 |
# File 'lib/models/security_device_evidence.rb', line 353 def return end |
#vm_metadata=(value) ⇒ Object
Sets the vmMetadata property value. Metadata of the virtual machine (VM) on which Microsoft Defender for Endpoint is running.
361 362 363 |
# File 'lib/models/security_device_evidence.rb', line 361 def (value) = value end |