Class: MicrosoftGraph::Models::SecurityIntelligenceProfile
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_intelligence_profile.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
-
#aliases ⇒ Object
Gets the aliases property value.
-
#aliases=(value) ⇒ Object
Sets the aliases property value.
-
#countries_or_regions_of_origin ⇒ Object
Gets the countriesOrRegionsOfOrigin property value.
-
#countries_or_regions_of_origin=(value) ⇒ Object
Sets the countriesOrRegionsOfOrigin property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#first_active_date_time ⇒ Object
Gets the firstActiveDateTime property value.
-
#first_active_date_time=(value) ⇒ Object
Sets the firstActiveDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#indicators ⇒ Object
Gets the indicators property value.
-
#indicators=(value) ⇒ Object
Sets the indicators property value.
-
#initialize ⇒ Object
constructor
Instantiates a new securityIntelligenceProfile and sets the default values.
-
#kind ⇒ Object
Gets the kind property value.
-
#kind=(value) ⇒ Object
Sets the kind property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#summary ⇒ Object
Gets the summary property value.
-
#summary=(value) ⇒ Object
Sets the summary property value.
-
#targets ⇒ Object
Gets the targets property value.
-
#targets=(value) ⇒ Object
Sets the targets property value.
-
#title ⇒ Object
Gets the title property value.
-
#title=(value) ⇒ Object
Sets the title property value.
-
#tradecraft ⇒ Object
Gets the tradecraft property value.
-
#tradecraft=(value) ⇒ Object
Sets the tradecraft property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityIntelligenceProfile and sets the default values.
59 60 61 |
# File 'lib/models/security_intelligence_profile.rb', line 59 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
82 83 84 85 |
# File 'lib/models/security_intelligence_profile.rb', line 82 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityIntelligenceProfile.new end |
Instance Method Details
#aliases ⇒ Object
Gets the aliases property value. A list of commonly-known aliases for the threat intelligence included in the intelligenceProfile.
44 45 46 |
# File 'lib/models/security_intelligence_profile.rb', line 44 def aliases return @aliases end |
#aliases=(value) ⇒ Object
Sets the aliases property value. A list of commonly-known aliases for the threat intelligence included in the intelligenceProfile.
52 53 54 |
# File 'lib/models/security_intelligence_profile.rb', line 52 def aliases=(value) @aliases = value end |
#countries_or_regions_of_origin ⇒ Object
Gets the countriesOrRegionsOfOrigin property value. The country/region of origin for the given actor or threat associated with this intelligenceProfile.
66 67 68 |
# File 'lib/models/security_intelligence_profile.rb', line 66 def countries_or_regions_of_origin return @countries_or_regions_of_origin end |
#countries_or_regions_of_origin=(value) ⇒ Object
Sets the countriesOrRegionsOfOrigin property value. The country/region of origin for the given actor or threat associated with this intelligenceProfile.
74 75 76 |
# File 'lib/models/security_intelligence_profile.rb', line 74 def countries_or_regions_of_origin=(value) @countries_or_regions_of_origin = value end |
#description ⇒ Object
Gets the description property value. The description property
90 91 92 |
# File 'lib/models/security_intelligence_profile.rb', line 90 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. The description property
98 99 100 |
# File 'lib/models/security_intelligence_profile.rb', line 98 def description=(value) @description = value end |
#first_active_date_time ⇒ Object
Gets the firstActiveDateTime property value. The date and time when this intelligenceProfile was first active. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
105 106 107 |
# File 'lib/models/security_intelligence_profile.rb', line 105 def first_active_date_time return @first_active_date_time end |
#first_active_date_time=(value) ⇒ Object
Sets the firstActiveDateTime property value. The date and time when this intelligenceProfile was first active. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
113 114 115 |
# File 'lib/models/security_intelligence_profile.rb', line 113 def first_active_date_time=(value) @first_active_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/models/security_intelligence_profile.rb', line 120 def get_field_deserializers() return super.merge({ "aliases" => lambda {|n| @aliases = n.get_collection_of_primitive_values(String) }, "countriesOrRegionsOfOrigin" => lambda {|n| @countries_or_regions_of_origin = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityIntelligenceProfileCountryOrRegionOfOrigin.create_from_discriminator_value(pn) }) }, "description" => lambda {|n| @description = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityFormattedContent.create_from_discriminator_value(pn) }) }, "firstActiveDateTime" => lambda {|n| @first_active_date_time = n.get_date_time_value() }, "indicators" => lambda {|n| @indicators = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityIntelligenceProfileIndicator.create_from_discriminator_value(pn) }) }, "kind" => lambda {|n| @kind = n.get_enum_value(MicrosoftGraph::Models::SecurityIntelligenceProfileKind) }, "summary" => lambda {|n| @summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityFormattedContent.create_from_discriminator_value(pn) }) }, "targets" => lambda {|n| @targets = n.get_collection_of_primitive_values(String) }, "title" => lambda {|n| @title = n.get_string_value() }, "tradecraft" => lambda {|n| @tradecraft = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityFormattedContent.create_from_discriminator_value(pn) }) }, }) end |
#indicators ⇒ Object
Gets the indicators property value. Includes an assemblage of high-fidelity network indicators of compromise.
138 139 140 |
# File 'lib/models/security_intelligence_profile.rb', line 138 def indicators return @indicators end |
#indicators=(value) ⇒ Object
Sets the indicators property value. Includes an assemblage of high-fidelity network indicators of compromise.
146 147 148 |
# File 'lib/models/security_intelligence_profile.rb', line 146 def indicators=(value) @indicators = value end |
#kind ⇒ Object
Gets the kind property value. The kind property
153 154 155 |
# File 'lib/models/security_intelligence_profile.rb', line 153 def kind return @kind end |
#kind=(value) ⇒ Object
Sets the kind property value. The kind property
161 162 163 |
# File 'lib/models/security_intelligence_profile.rb', line 161 def kind=(value) @kind = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
# File 'lib/models/security_intelligence_profile.rb', line 169 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_primitive_values("aliases", @aliases) writer.write_collection_of_object_values("countriesOrRegionsOfOrigin", @countries_or_regions_of_origin) writer.write_object_value("description", @description) writer.write_date_time_value("firstActiveDateTime", @first_active_date_time) writer.write_collection_of_object_values("indicators", @indicators) writer.write_enum_value("kind", @kind) writer.write_object_value("summary", @summary) writer.write_collection_of_primitive_values("targets", @targets) writer.write_string_value("title", @title) writer.write_object_value("tradecraft", @tradecraft) end |
#summary ⇒ Object
Gets the summary property value. The summary property
187 188 189 |
# File 'lib/models/security_intelligence_profile.rb', line 187 def summary return @summary end |
#summary=(value) ⇒ Object
Sets the summary property value. The summary property
195 196 197 |
# File 'lib/models/security_intelligence_profile.rb', line 195 def summary=(value) @summary = value end |
#targets ⇒ Object
Gets the targets property value. Known targets related to this intelligenceProfile.
202 203 204 |
# File 'lib/models/security_intelligence_profile.rb', line 202 def targets return @targets end |
#targets=(value) ⇒ Object
Sets the targets property value. Known targets related to this intelligenceProfile.
210 211 212 |
# File 'lib/models/security_intelligence_profile.rb', line 210 def targets=(value) @targets = value end |
#title ⇒ Object
Gets the title property value. The title of this intelligenceProfile.
217 218 219 |
# File 'lib/models/security_intelligence_profile.rb', line 217 def title return @title end |
#title=(value) ⇒ Object
Sets the title property value. The title of this intelligenceProfile.
225 226 227 |
# File 'lib/models/security_intelligence_profile.rb', line 225 def title=(value) @title = value end |
#tradecraft ⇒ Object
Gets the tradecraft property value. Formatted information featuring a description of the distinctive tactics, techniques, and procedures (TTP) of the group, followed by a list of all known custom, commodity, and publicly available implants used by the group.
232 233 234 |
# File 'lib/models/security_intelligence_profile.rb', line 232 def tradecraft return @tradecraft end |
#tradecraft=(value) ⇒ Object
Sets the tradecraft property value. Formatted information featuring a description of the distinctive tactics, techniques, and procedures (TTP) of the group, followed by a list of all known custom, commodity, and publicly available implants used by the group.
240 241 242 |
# File 'lib/models/security_intelligence_profile.rb', line 240 def tradecraft=(value) @tradecraft = value end |