Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ThreatIntelligence

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb

Overview

ThreatIntelligence property bag.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#confidenceFloat

Returns Confidence (must be between 0 and 1).

Returns:

  • (Float)

    Confidence (must be between 0 and 1)



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 16

def confidence
  @confidence
end

#provider_nameString

Intelligence information was received

Returns:

  • (String)

    Name of the provider from whom this Threat



20
21
22
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 20

def provider_name
  @provider_name
end

Returns Report link.

Returns:

  • (String)

    Report link



23
24
25
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 23

def report_link
  @report_link
end

#threat_descriptionString

Returns Threat description (free text).

Returns:

  • (String)

    Threat description (free text)



26
27
28
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 26

def threat_description
  @threat_description
end

#threat_nameString

Returns Threat name (e.g. “Jedobot malware”).

Returns:

  • (String)

    Threat name (e.g. “Jedobot malware”)



29
30
31
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 29

def threat_name
  @threat_name
end

#threat_typeString

Returns Threat type (e.g. “Botnet”).

Returns:

  • (String)

    Threat type (e.g. “Botnet”)



32
33
34
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 32

def threat_type
  @threat_type
end

Class Method Details

.mapperObject

Mapper for ThreatIntelligence class as Ruby Hash. This will be used for serialization/deserialization.



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/threat_intelligence.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ThreatIntelligence',
    type: {
      name: 'Composite',
      class_name: 'ThreatIntelligence',
      model_properties: {
        confidence: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'confidence',
          type: {
            name: 'Double'
          }
        },
        provider_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'providerName',
          type: {
            name: 'String'
          }
        },
        report_link: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'reportLink',
          type: {
            name: 'String'
          }
        },
        threat_description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'threatDescription',
          type: {
            name: 'String'
          }
        },
        threat_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'threatName',
          type: {
            name: 'String'
          }
        },
        threat_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'threatType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end