Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::TiTaxiiDataConnector

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

Overview

Data connector to pull Threat intelligence data from TAXII 2.0/2.1 server

Instance Attribute Summary collapse

Attributes inherited from DataConnector

#etag, #id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTiTaxiiDataConnector

Returns a new instance of TiTaxiiDataConnector.



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

def initialize
  @kind = "ThreatIntelligenceTaxii"
end

Instance Attribute Details

#collection_idString

Returns The collection id of the TAXII server.

Returns:

  • (String)

    The collection id of the TAXII server.



35
36
37
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb', line 35

def collection_id
  @collection_id
end

#data_typesTiTaxiiDataConnectorDataTypes

Threat Intelligence TAXII data connector.

Returns:



45
46
47
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb', line 45

def data_types
  @data_types
end

#friendly_nameString

Returns The friendly name for the TAXII server.

Returns:

  • (String)

    The friendly name for the TAXII server.



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

def friendly_name
  @friendly_name
end

#kindObject

Returns the value of attribute kind.



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

def kind
  @kind
end

#passwordString

Returns The password for the TAXII server.

Returns:

  • (String)

    The password for the TAXII server.



41
42
43
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb', line 41

def password
  @password
end

#taxii_serverString

Returns The API root for the TAXII server.

Returns:

  • (String)

    The API root for the TAXII server.



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

def taxii_server
  @taxii_server
end

#tenant_idString

Returns The tenant id to connect to, and get the data from.

Returns:

  • (String)

    The tenant id to connect to, and get the data from.



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

def tenant_id
  @tenant_id
end

#user_nameString

Returns The userName for the TAXII server.

Returns:

  • (String)

    The userName for the TAXII server.



38
39
40
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb', line 38

def user_name
  @user_name
end

#workspace_idString

Returns The workspace id.

Returns:

  • (String)

    The workspace id.



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

def workspace_id
  @workspace_id
end

Class Method Details

.mapperObject

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



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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/ti_taxii_data_connector.rb', line 52

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ThreatIntelligenceTaxii',
    type: {
      name: 'Composite',
      class_name: 'TiTaxiiDataConnector',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        workspace_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.workspaceId',
          type: {
            name: 'String'
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        },
        taxii_server: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.taxiiServer',
          type: {
            name: 'String'
          }
        },
        collection_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.collectionId',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.userName',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.password',
          type: {
            name: 'String'
          }
        },
        data_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataTypes',
          type: {
            name: 'Composite',
            class_name: 'TiTaxiiDataConnectorDataTypes'
          }
        }
      }
    }
  }
end