Class: Falcon::DomainDiscoverAPIHost

Inherits:
Object
  • Object
show all
Defined in:
lib/crimson-falcon/models/domain_discover_api_host.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ DomainDiscoverAPIHost

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 868

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `Falcon::DomainDiscoverAPIHost` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `Falcon::DomainDiscoverAPIHost`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'account_enabled')
    self. = attributes[:'account_enabled']
  end

  if attributes.key?(:'active_discovery')
    self.active_discovery = attributes[:'active_discovery']
  end

  if attributes.key?(:'ad_user_account_control')
    self. = attributes[:'ad_user_account_control']
  end

  if attributes.key?(:'ad_virtual_server')
    self.ad_virtual_server = attributes[:'ad_virtual_server']
  end

  if attributes.key?(:'agent_version')
    self.agent_version = attributes[:'agent_version']
  end

  if attributes.key?(:'aid')
    self.aid = attributes[:'aid']
  end

  if attributes.key?(:'asset_roles')
    if (value = attributes[:'asset_roles']).is_a?(Array)
      self.asset_roles = value
    end
  end

  if attributes.key?(:'assigned_to')
    self.assigned_to = attributes[:'assigned_to']
  end

  if attributes.key?(:'available_disk_space')
    self.available_disk_space = attributes[:'available_disk_space']
  end

  if attributes.key?(:'available_disk_space_pct')
    self.available_disk_space_pct = attributes[:'available_disk_space_pct']
  end

  if attributes.key?(:'average_memory_usage')
    self.average_memory_usage = attributes[:'average_memory_usage']
  end

  if attributes.key?(:'average_memory_usage_pct')
    self.average_memory_usage_pct = attributes[:'average_memory_usage_pct']
  end

  if attributes.key?(:'average_processor_usage')
    self.average_processor_usage = attributes[:'average_processor_usage']
  end

  if attributes.key?(:'bios_hashes_data')
    if (value = attributes[:'bios_hashes_data']).is_a?(Array)
      self.bios_hashes_data = value
    end
  end

  if attributes.key?(:'bios_id')
    self.bios_id = attributes[:'bios_id']
  end

  if attributes.key?(:'bios_manufacturer')
    self.bios_manufacturer = attributes[:'bios_manufacturer']
  end

  if attributes.key?(:'bios_version')
    self.bios_version = attributes[:'bios_version']
  end

  if attributes.key?(:'business_criticality')
    self.business_criticality = attributes[:'business_criticality']
  end

  if attributes.key?(:'cid')
    self.cid = attributes[:'cid']
  end

  if attributes.key?(:'city')
    self.city = attributes[:'city']
  end

  if attributes.key?(:'claroty_id')
    self.claroty_id = attributes[:'claroty_id']
  end

  if attributes.key?(:'classification')
    self.classification = attributes[:'classification']
  end

  if attributes.key?(:'cloud_account_id')
    self. = attributes[:'cloud_account_id']
  end

  if attributes.key?(:'cloud_instance_id')
    self.cloud_instance_id = attributes[:'cloud_instance_id']
  end

  if attributes.key?(:'cloud_provider')
    self.cloud_provider = attributes[:'cloud_provider']
  end

  if attributes.key?(:'cloud_region')
    self.cloud_region = attributes[:'cloud_region']
  end

  if attributes.key?(:'cloud_registered')
    self.cloud_registered = attributes[:'cloud_registered']
  end

  if attributes.key?(:'cloud_resource_id')
    self.cloud_resource_id = attributes[:'cloud_resource_id']
  end

  if attributes.key?(:'composite_internet_exposure')
    self.composite_internet_exposure = attributes[:'composite_internet_exposure']
  end

  if attributes.key?(:'computed_asset_roles')
    if (value = attributes[:'computed_asset_roles']).is_a?(Array)
      self.computed_asset_roles = value
    end
  end

  if attributes.key?(:'computed_internet_exposure')
    self.computed_internet_exposure = attributes[:'computed_internet_exposure']
  end

  if attributes.key?(:'computed_internet_exposure_external_ip')
    self.computed_internet_exposure_external_ip = attributes[:'computed_internet_exposure_external_ip']
  end

  if attributes.key?(:'computed_internet_exposure_last_seen')
    self.computed_internet_exposure_last_seen = attributes[:'computed_internet_exposure_last_seen']
  end

  if attributes.key?(:'confidence')
    self.confidence = attributes[:'confidence']
  end

  if attributes.key?(:'country')
    self.country = attributes[:'country']
  end

  if attributes.key?(:'cpu_manufacturer')
    self.cpu_manufacturer = attributes[:'cpu_manufacturer']
  end

  if attributes.key?(:'cpu_processor_name')
    self.cpu_processor_name = attributes[:'cpu_processor_name']
  end

  if attributes.key?(:'creation_timestamp')
    self.creation_timestamp = attributes[:'creation_timestamp']
  end

  if attributes.key?(:'criticality')
    self.criticality = attributes[:'criticality']
  end

  if attributes.key?(:'criticality_description')
    self.criticality_description = attributes[:'criticality_description']
  end

  if attributes.key?(:'criticality_rule_id')
    self.criticality_rule_id = attributes[:'criticality_rule_id']
  end

  if attributes.key?(:'criticality_timestamp')
    self.criticality_timestamp = attributes[:'criticality_timestamp']
  end

  if attributes.key?(:'criticality_username')
    self.criticality_username = attributes[:'criticality_username']
  end

  if attributes.key?(:'current_local_ip')
    self.current_local_ip = attributes[:'current_local_ip']
  end

  if attributes.key?(:'current_network_prefix')
    self.current_network_prefix = attributes[:'current_network_prefix']
  end

  if attributes.key?(:'data_providers')
    if (value = attributes[:'data_providers']).is_a?(Array)
      self.data_providers = value
    end
  end

  if attributes.key?(:'data_providers_count')
    self.data_providers_count = attributes[:'data_providers_count']
  end

  if attributes.key?(:'department')
    self.department = attributes[:'department']
  end

  if attributes.key?(:'descriptions')
    if (value = attributes[:'descriptions']).is_a?(Array)
      self.descriptions = value
    end
  end

  if attributes.key?(:'device_class')
    self.device_class = attributes[:'device_class']
  end

  if attributes.key?(:'device_family')
    self.device_family = attributes[:'device_family']
  end

  if attributes.key?(:'device_mode')
    self.device_mode = attributes[:'device_mode']
  end

  if attributes.key?(:'device_slots')
    if (value = attributes[:'device_slots']).is_a?(Array)
      self.device_slots = value
    end
  end

  if attributes.key?(:'device_type')
    self.device_type = attributes[:'device_type']
  end

  if attributes.key?(:'discoverer_aids')
    if (value = attributes[:'discoverer_aids']).is_a?(Array)
      self.discoverer_aids = value
    end
  end

  if attributes.key?(:'discoverer_count')
    self.discoverer_count = attributes[:'discoverer_count']
  end

  if attributes.key?(:'discoverer_criticalities')
    if (value = attributes[:'discoverer_criticalities']).is_a?(Array)
      self.discoverer_criticalities = value
    end
  end

  if attributes.key?(:'discoverer_hostnames')
    if (value = attributes[:'discoverer_hostnames']).is_a?(Array)
      self.discoverer_hostnames = value
    end
  end

  if attributes.key?(:'discoverer_ics_collector_ids')
    if (value = attributes[:'discoverer_ics_collector_ids']).is_a?(Array)
      self.discoverer_ics_collector_ids = value
    end
  end

  if attributes.key?(:'discoverer_platform_names')
    if (value = attributes[:'discoverer_platform_names']).is_a?(Array)
      self.discoverer_platform_names = value
    end
  end

  if attributes.key?(:'discoverer_product_type_descs')
    if (value = attributes[:'discoverer_product_type_descs']).is_a?(Array)
      self.discoverer_product_type_descs = value
    end
  end

  if attributes.key?(:'discoverer_tags')
    if (value = attributes[:'discoverer_tags']).is_a?(Array)
      self.discoverer_tags = value
    end
  end

  if attributes.key?(:'discovering_by')
    if (value = attributes[:'discovering_by']).is_a?(Array)
      self.discovering_by = value
    end
  end

  if attributes.key?(:'disk_sizes')
    if (value = attributes[:'disk_sizes']).is_a?(Array)
      self.disk_sizes = value
    end
  end

  if attributes.key?(:'dragos_id')
    self.dragos_id = attributes[:'dragos_id']
  end

  if attributes.key?(:'email')
    self.email = attributes[:'email']
  end

  if attributes.key?(:'encrypted_drives')
    if (value = attributes[:'encrypted_drives']).is_a?(Array)
      self.encrypted_drives = value
    end
  end

  if attributes.key?(:'encrypted_drives_count')
    self.encrypted_drives_count = attributes[:'encrypted_drives_count']
  end

  if attributes.key?(:'encryption_status')
    self.encryption_status = attributes[:'encryption_status']
  end

  if attributes.key?(:'entity_type')
    self.entity_type = attributes[:'entity_type']
  end

  if attributes.key?(:'external_ip')
    self.external_ip = attributes[:'external_ip']
  end

  if attributes.key?(:'field_metadata')
    if (value = attributes[:'field_metadata']).is_a?(Hash)
      self. = value
    end
  end

  if attributes.key?(:'first_discoverer_aid')
    self.first_discoverer_aid = attributes[:'first_discoverer_aid']
  end

  if attributes.key?(:'first_seen_timestamp')
    self.first_seen_timestamp = attributes[:'first_seen_timestamp']
  end

  if attributes.key?(:'form_factor')
    self.form_factor = attributes[:'form_factor']
  end

  if attributes.key?(:'fqdn')
    self.fqdn = attributes[:'fqdn']
  end

  if attributes.key?(:'groups')
    if (value = attributes[:'groups']).is_a?(Array)
      self.groups = value
    end
  end

  if attributes.key?(:'hostname')
    self.hostname = attributes[:'hostname']
  end

  if attributes.key?(:'ics_id')
    self.ics_id = attributes[:'ics_id']
  end

  if attributes.key?(:'id')
    self.id = attributes[:'id']
  end

  if attributes.key?(:'imported_host_id')
    self.imported_host_id = attributes[:'imported_host_id']
  end

  if attributes.key?(:'internet_exposure')
    self.internet_exposure = attributes[:'internet_exposure']
  end

  if attributes.key?(:'internet_exposure_description')
    self.internet_exposure_description = attributes[:'internet_exposure_description']
  end

  if attributes.key?(:'internet_exposure_timestamp')
    self.internet_exposure_timestamp = attributes[:'internet_exposure_timestamp']
  end

  if attributes.key?(:'internet_exposure_username')
    self.internet_exposure_username = attributes[:'internet_exposure_username']
  end

  if attributes.key?(:'iot_imported')
    self.iot_imported = attributes[:'iot_imported']
  end

  if attributes.key?(:'iot_tags')
    if (value = attributes[:'iot_tags']).is_a?(Array)
      self.iot_tags = value
    end
  end

  if attributes.key?(:'kernel_version')
    self.kernel_version = attributes[:'kernel_version']
  end

  if attributes.key?(:'last_authenticated_scan_date')
    self.last_authenticated_scan_date = attributes[:'last_authenticated_scan_date']
  end

  if attributes.key?(:'last_discoverer_aid')
    self.last_discoverer_aid = attributes[:'last_discoverer_aid']
  end

  if attributes.key?(:'last_discoverer_hostname')
    self.last_discoverer_hostname = attributes[:'last_discoverer_hostname']
  end

  if attributes.key?(:'last_discoverer_ics_collector_id')
    self.last_discoverer_ics_collector_id = attributes[:'last_discoverer_ics_collector_id']
  end

  if attributes.key?(:'last_seen_timestamp')
    self.last_seen_timestamp = attributes[:'last_seen_timestamp']
  end

  if attributes.key?(:'last_unauthenticated_scan_date')
    self.last_unauthenticated_scan_date = attributes[:'last_unauthenticated_scan_date']
  end

  if attributes.key?(:'local_ip_addresses')
    if (value = attributes[:'local_ip_addresses']).is_a?(Array)
      self.local_ip_addresses = value
    end
  end

  if attributes.key?(:'local_ips_count')
    self.local_ips_count = attributes[:'local_ips_count']
  end

  if attributes.key?(:'location')
    self.location = attributes[:'location']
  end

  if attributes.key?(:'logical_core_count')
    self.logical_core_count = attributes[:'logical_core_count']
  end

  if attributes.key?(:'mac_addresses')
    if (value = attributes[:'mac_addresses']).is_a?(Array)
      self.mac_addresses = value
    end
  end

  if attributes.key?(:'machine_domain')
    self.machine_domain = attributes[:'machine_domain']
  end

  if attributes.key?(:'managed_by')
    self.managed_by = attributes[:'managed_by']
  end

  if attributes.key?(:'max_memory_usage')
    self.max_memory_usage = attributes[:'max_memory_usage']
  end

  if attributes.key?(:'max_memory_usage_pct')
    self.max_memory_usage_pct = attributes[:'max_memory_usage_pct']
  end

  if attributes.key?(:'max_processor_usage')
    self.max_processor_usage = attributes[:'max_processor_usage']
  end

  if attributes.key?(:'memory_total')
    self.memory_total = attributes[:'memory_total']
  end

  if attributes.key?(:'mount_storage_info')
    if (value = attributes[:'mount_storage_info']).is_a?(Array)
      self.mount_storage_info = value
    end
  end

  if attributes.key?(:'network_id')
    self.network_id = attributes[:'network_id']
  end

  if attributes.key?(:'network_interfaces')
    if (value = attributes[:'network_interfaces']).is_a?(Array)
      self.network_interfaces = value
    end
  end

  if attributes.key?(:'network_scanned_ids')
    if (value = attributes[:'network_scanned_ids']).is_a?(Array)
      self.network_scanned_ids = value
    end
  end

  if attributes.key?(:'number_of_disk_drives')
    self.number_of_disk_drives = attributes[:'number_of_disk_drives']
  end

  if attributes.key?(:'object_guid')
    self.object_guid = attributes[:'object_guid']
  end

  if attributes.key?(:'object_sid')
    self.object_sid = attributes[:'object_sid']
  end

  if attributes.key?(:'os_is_eol')
    self.os_is_eol = attributes[:'os_is_eol']
  end

  if attributes.key?(:'os_security')
    self.os_security = attributes[:'os_security']
  end

  if attributes.key?(:'os_service_pack')
    self.os_service_pack = attributes[:'os_service_pack']
  end

  if attributes.key?(:'os_version')
    self.os_version = attributes[:'os_version']
  end

  if attributes.key?(:'ot_information_sources')
    if (value = attributes[:'ot_information_sources']).is_a?(Array)
      self.ot_information_sources = value
    end
  end

  if attributes.key?(:'ot_network_ids')
    if (value = attributes[:'ot_network_ids']).is_a?(Array)
      self.ot_network_ids = value
    end
  end

  if attributes.key?(:'ot_serial_numbers')
    if (value = attributes[:'ot_serial_numbers']).is_a?(Array)
      self.ot_serial_numbers = value
    end
  end

  if attributes.key?(:'ou')
    self.ou = attributes[:'ou']
  end

  if attributes.key?(:'ous')
    if (value = attributes[:'ous']).is_a?(Array)
      self.ous = value
    end
  end

  if attributes.key?(:'override_asset_roles')
    self.override_asset_roles = attributes[:'override_asset_roles']
  end

  if attributes.key?(:'override_criticality_rules')
    self.override_criticality_rules = attributes[:'override_criticality_rules']
  end

  if attributes.key?(:'override_internet_exposure')
    self.override_internet_exposure = attributes[:'override_internet_exposure']
  end

  if attributes.key?(:'owned_by')
    self.owned_by = attributes[:'owned_by']
  end

  if attributes.key?(:'physical_core_count')
    self.physical_core_count = attributes[:'physical_core_count']
  end

  if attributes.key?(:'platform_name')
    self.platform_name = attributes[:'platform_name']
  end

  if attributes.key?(:'processor_package_count')
    self.processor_package_count = attributes[:'processor_package_count']
  end

  if attributes.key?(:'product_type')
    self.product_type = attributes[:'product_type']
  end

  if attributes.key?(:'product_type_desc')
    self.product_type_desc = attributes[:'product_type_desc']
  end

  if attributes.key?(:'protocols')
    if (value = attributes[:'protocols']).is_a?(Array)
      self.protocols = value
    end
  end

  if attributes.key?(:'purdue_level')
    self.purdue_level = attributes[:'purdue_level']
  end

  if attributes.key?(:'qualys_id')
    self.qualys_id = attributes[:'qualys_id']
  end

  if attributes.key?(:'qualys_network_id')
    self.qualys_network_id = attributes[:'qualys_network_id']
  end

  if attributes.key?(:'reduced_functionality_mode')
    self.reduced_functionality_mode = attributes[:'reduced_functionality_mode']
  end

  if attributes.key?(:'scan_details')
    if (value = attributes[:'scan_details']).is_a?(Array)
      self.scan_details = value
    end
  end

  if attributes.key?(:'servicenow_id')
    self.servicenow_id = attributes[:'servicenow_id']
  end

  if attributes.key?(:'site_name')
    self.site_name = attributes[:'site_name']
  end

  if attributes.key?(:'state')
    self.state = attributes[:'state']
  end

  if attributes.key?(:'subnet')
    self.subnet = attributes[:'subnet']
  end

  if attributes.key?(:'system_manufacturer')
    self.system_manufacturer = attributes[:'system_manufacturer']
  end

  if attributes.key?(:'system_product_name')
    self.system_product_name = attributes[:'system_product_name']
  end

  if attributes.key?(:'system_serial_number')
    self.system_serial_number = attributes[:'system_serial_number']
  end

  if attributes.key?(:'tags')
    if (value = attributes[:'tags']).is_a?(Array)
      self.tags = value
    end
  end

  if attributes.key?(:'tenableio_id')
    self.tenableio_id = attributes[:'tenableio_id']
  end

  if attributes.key?(:'total_bios_files')
    self.total_bios_files = attributes[:'total_bios_files']
  end

  if attributes.key?(:'total_disk_space')
    self.total_disk_space = attributes[:'total_disk_space']
  end

  if attributes.key?(:'total_memory')
    self.total_memory = attributes[:'total_memory']
  end

  if attributes.key?(:'triage')
    self.triage = attributes[:'triage']
  end

  if attributes.key?(:'unencrypted_drives')
    if (value = attributes[:'unencrypted_drives']).is_a?(Array)
      self.unencrypted_drives = value
    end
  end

  if attributes.key?(:'unencrypted_drives_count')
    self.unencrypted_drives_count = attributes[:'unencrypted_drives_count']
  end

  if attributes.key?(:'used_disk_space')
    self.used_disk_space = attributes[:'used_disk_space']
  end

  if attributes.key?(:'used_disk_space_pct')
    self.used_disk_space_pct = attributes[:'used_disk_space_pct']
  end

  if attributes.key?(:'used_for')
    self.used_for = attributes[:'used_for']
  end

  if attributes.key?(:'user_asset_roles')
    if (value = attributes[:'user_asset_roles']).is_a?(Array)
      self.user_asset_roles = value
    end
  end

  if attributes.key?(:'user_internet_exposure')
    self.user_internet_exposure = attributes[:'user_internet_exposure']
  end

  if attributes.key?(:'virtual_zone')
    self.virtual_zone = attributes[:'virtual_zone']
  end

  if attributes.key?(:'vlan')
    if (value = attributes[:'vlan']).is_a?(Array)
      self.vlan = value
    end
  end

  if attributes.key?(:'vulnerability_assessment_date')
    self.vulnerability_assessment_date = attributes[:'vulnerability_assessment_date']
  end

  if attributes.key?(:'xdome_id')
    self.xdome_id = attributes[:'xdome_id']
  end

  if attributes.key?(:'xiot_discoverer_hostnames')
    if (value = attributes[:'xiot_discoverer_hostnames']).is_a?(Array)
      self.xiot_discoverer_hostnames = value
    end
  end

  if attributes.key?(:'xiot_discoverer_tags')
    if (value = attributes[:'xiot_discoverer_tags']).is_a?(Array)
      self.xiot_discoverer_tags = value
    end
  end

  if attributes.key?(:'xiot_last_discoverer_hostname')
    self.xiot_last_discoverer_hostname = attributes[:'xiot_last_discoverer_hostname']
  end
end

Instance Attribute Details

#account_enabledObject

Whether the asset is account-enabled in Active Directory (Yes or No).



35
36
37
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 35

def 
  @account_enabled
end

#active_discoveryObject

Returns the value of attribute active_discovery.



37
38
39
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 37

def active_discovery
  @active_discovery
end

#ad_user_account_controlObject

The user account control properties in Active Directory.



40
41
42
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 40

def 
  @ad_user_account_control
end

#ad_virtual_serverObject

Whether the asset is a virtual server or not (Yes, No)



43
44
45
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 43

def ad_virtual_server
  @ad_virtual_server
end

#agent_versionObject

The version of the Falcon sensor that’s installed on the asset.



46
47
48
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 46

def agent_version
  @agent_version
end

#aidObject

The agent ID of the Falcon sensor installed on the asset.



49
50
51
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 49

def aid
  @aid
end

#asset_rolesObject

The asset role or roles currently assigned to the asset either automatically or by a user (Jump host, Highly connected, Highly active, Server by behavior, DHCP server, DNS server, FTP server, SSH server, or Web server).



52
53
54
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 52

def asset_roles
  @asset_roles
end

#assigned_toObject

The first and last name of the person who is assigned to this asset.



55
56
57
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 55

def assigned_to
  @assigned_to
end

#available_disk_spaceObject

The available disk space in the last 15 minutes on the host



58
59
60
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 58

def available_disk_space
  @available_disk_space
end

#available_disk_space_pctObject

The available disk space percent in the last 15 minutes on the host



61
62
63
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 61

def available_disk_space_pct
  @available_disk_space_pct
end

#average_memory_usageObject

The average memory usage in the last 15 minutes on the host



64
65
66
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 64

def average_memory_usage
  @average_memory_usage
end

#average_memory_usage_pctObject

The average memory usage percent in the last 15 minutes on the host



67
68
69
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 67

def average_memory_usage_pct
  @average_memory_usage_pct
end

#average_processor_usageObject

The average processor usage in the last 15 minutes on the host



70
71
72
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 70

def average_processor_usage
  @average_processor_usage
end

#bios_hashes_dataObject

The list of found sha256 and their measurement types



73
74
75
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 73

def bios_hashes_data
  @bios_hashes_data
end

#bios_idObject

The id of the bios on the host



76
77
78
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 76

def bios_id
  @bios_id
end

#bios_manufacturerObject

The name of the asset’s BIOS manufacturer.



79
80
81
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 79

def bios_manufacturer
  @bios_manufacturer
end

#bios_versionObject

The asset’s BIOS version.



82
83
84
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 82

def bios_version
  @bios_version
end

#business_criticalityObject

The business criticality of the IoT asset.



85
86
87
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 85

def business_criticality
  @business_criticality
end

#cidObject

The asset’s customer ID.



88
89
90
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 88

def cid
  @cid
end

#cityObject

The name of the city where the asset is located.



91
92
93
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 91

def city
  @city
end

#claroty_idObject

The external ID of the IoT Device in 3rd Party System(Claroty).



94
95
96
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 94

def claroty_id
  @claroty_id
end

#classificationObject

How the server is classified, such as production, development, disaster recovery, or user acceptance testing.



97
98
99
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 97

def classification
  @classification
end

#cloud_account_idObject

The cloud provider assigned identifier of the cloud account the instance is located in.



100
101
102
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 100

def 
  @cloud_account_id
end

#cloud_instance_idObject

The id of the cloud instance.



103
104
105
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 103

def cloud_instance_id
  @cloud_instance_id
end

#cloud_providerObject

The cloud provider environment the instance is located in (AWS/Azure/GCP).



106
107
108
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 106

def cloud_provider
  @cloud_provider
end

#cloud_regionObject

The cloud provider assigned identifier of the cloud region the instance is located in (e.g. “us-west-1”, “westeurope”, “asia-northeast1)



109
110
111
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 109

def cloud_region
  @cloud_region
end

#cloud_registeredObject

Whether or not the instance is located in a cloud account registered with cloud security posture.



112
113
114
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 112

def cloud_registered
  @cloud_registered
end

#cloud_resource_idObject

The cloud provider assigned identifier of the instance.



115
116
117
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 115

def cloud_resource_id
  @cloud_resource_id
end

#composite_internet_exposureObject

The composite internet exposure of the asset



118
119
120
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 118

def composite_internet_exposure
  @composite_internet_exposure
end

#computed_asset_rolesObject

The asset role or roles assigned to the asset automatically (Jump host, Highly connected, Highly active, Server by behavior, DHCP server, DNS server, FTP server, SSH server, or Web server).



121
122
123
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 121

def computed_asset_roles
  @computed_asset_roles
end

#computed_internet_exposureObject

Whether the asset is exposed to the internet as determined automatically (Yes, No, or Pending).



124
125
126
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 124

def computed_internet_exposure
  @computed_internet_exposure
end

#computed_internet_exposure_external_ipObject

External IP exposed to the internet.



127
128
129
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 127

def computed_internet_exposure_external_ip
  @computed_internet_exposure_external_ip
end

#computed_internet_exposure_last_seenObject

When the asset was last seen as internet exposed.



130
131
132
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 130

def computed_internet_exposure_last_seen
  @computed_internet_exposure_last_seen
end

#confidenceObject

The level of confidence that the asset is a corporate asset (25 = low confidence, 50 = medium confidence, 75 = high confidence).



133
134
135
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 133

def confidence
  @confidence
end

#countryObject

The name of the country where the asset is located.



136
137
138
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 136

def country
  @country
end

#cpu_manufacturerObject

The manufacturer of the asset’s CPU.



139
140
141
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 139

def cpu_manufacturer
  @cpu_manufacturer
end

#cpu_processor_nameObject

The name of the processor on the system



142
143
144
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 142

def cpu_processor_name
  @cpu_processor_name
end

#creation_timestampObject

The time the asset was created in Active Directory, according to LDAP info.



145
146
147
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 145

def creation_timestamp
  @creation_timestamp
end

#criticalityObject

The criticality level of the asset (Critical, High, Noncritical, or Unassigned)



148
149
150
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 148

def criticality
  @criticality
end

#criticality_descriptionObject

The description the user entered when manually assigning a criticality level



151
152
153
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 151

def criticality_description
  @criticality_description
end

#criticality_rule_idObject

The ID of the criticality rule that has most recently applied to the asset.



154
155
156
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 154

def criticality_rule_id
  @criticality_rule_id
end

#criticality_timestampObject

The date and time the criticality level was manually assigned



157
158
159
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 157

def criticality_timestamp
  @criticality_timestamp
end

#criticality_usernameObject

The username of the account that manually assigned the criticality level



160
161
162
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 160

def criticality_username
  @criticality_username
end

#current_local_ipObject

The last seen local IPv4 address of the asset.



163
164
165
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 163

def current_local_ip
  @current_local_ip
end

#current_network_prefixObject

The last seen network prefix of the asset.



166
167
168
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 166

def current_network_prefix
  @current_network_prefix
end

#data_providersObject

Where the data about the asset came from (such as CrowdStrike, ServiceNow, or Active Directory).



169
170
171
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 169

def data_providers
  @data_providers
end

#data_providers_countObject

How many services provided data about the asset.



172
173
174
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 172

def data_providers_count
  @data_providers_count
end

#departmentObject

The department where the asset is used.



175
176
177
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 175

def department
  @department
end

#descriptionsObject

The descriptions of the asset in Active Directory (Cannot be used for filtering, sorting, or querying).



178
179
180
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 178

def descriptions
  @descriptions
end

#device_classObject

The Device Class of IoT Asset



181
182
183
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 181

def device_class
  @device_class
end

#device_familyObject

The Device Family of IoT Asset



184
185
186
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 184

def device_family
  @device_family
end

#device_modeObject

The device mode of the host



187
188
189
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 187

def device_mode
  @device_mode
end

#device_slotsObject

The slots of IoT Asset



190
191
192
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 190

def device_slots
  @device_slots
end

#device_typeObject

The Device Type of IoT Asset



193
194
195
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 193

def device_type
  @device_type
end

#discoverer_aidsObject

The agent IDs of the Falcon sensors installed on the sources that discovered the asset.



196
197
198
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 196

def discoverer_aids
  @discoverer_aids
end

#discoverer_countObject

The number of sources that discovered the asset.



199
200
201
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 199

def discoverer_count
  @discoverer_count
end

#discoverer_criticalitiesObject

The criticalities of the sources that discovered the asset



202
203
204
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 202

def discoverer_criticalities
  @discoverer_criticalities
end

#discoverer_hostnamesObject

The hostnames of the sources that discovered the asset.



205
206
207
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 205

def discoverer_hostnames
  @discoverer_hostnames
end

#discoverer_ics_collector_idsObject

A list of agent IDs of the Falcon sensors installed on the source hosts that discovered the asset via ICS Asset discovery mechanism



208
209
210
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 208

def discoverer_ics_collector_ids
  @discoverer_ics_collector_ids
end

#discoverer_platform_namesObject

The platform names of the sources that discovered the asset.



211
212
213
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 211

def discoverer_platform_names
  @discoverer_platform_names
end

#discoverer_product_type_descsObject

The product type descriptions of the sources that discovered the asset.



214
215
216
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 214

def discoverer_product_type_descs
  @discoverer_product_type_descs
end

#discoverer_tagsObject

The tags of the sources that discovered the asset.



217
218
219
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 217

def discoverer_tags
  @discoverer_tags
end

#discovering_byObject

Represents the status of a managed host (“Not Discovering“, “Passive“, “Active“ or both).



220
221
222
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 220

def discovering_by
  @discovering_by
end

#disk_sizesObject

The names and sizes of the disks on the asset



223
224
225
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 223

def disk_sizes
  @disk_sizes
end

#dragos_idObject

The ID generated by dragos asset discovery mechanism



226
227
228
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 226

def dragos_id
  @dragos_id
end

#emailObject

The email of the asset as listed in Active Directory.



229
230
231
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 229

def email
  @email
end

#encrypted_drivesObject

The list of encrypted drives on the host



232
233
234
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 232

def encrypted_drives
  @encrypted_drives
end

#encrypted_drives_countObject

The count of encrypted drives on the host



235
236
237
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 235

def encrypted_drives_count
  @encrypted_drives_count
end

#encryption_statusObject

The encryption status of the host



238
239
240
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 238

def encryption_status
  @encryption_status
end

#entity_typeObject

The type of asset (managed, unmanaged, unsupported).



241
242
243
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 241

def entity_type
  @entity_type
end

#external_ipObject

The external IPv4 address of the asset.



244
245
246
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 244

def external_ip
  @external_ip
end

#field_metadataObject

Lists the data providers for each property in the response (Cannot be used for filtering, sorting, or querying).



247
248
249
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 247

def 
  @field_metadata
end

#first_discoverer_aidObject

The agent ID of the Falcon sensor on the source that first discovered the asset.



250
251
252
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 250

def first_discoverer_aid
  @first_discoverer_aid
end

#first_seen_timestampObject

The first time the asset was seen in your environment.



253
254
255
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 253

def first_seen_timestamp
  @first_seen_timestamp
end

#form_factorObject

The form factor of the host



256
257
258
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 256

def form_factor
  @form_factor
end

#fqdnObject

The fully qualified domain name of the asset.



259
260
261
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 259

def fqdn
  @fqdn
end

#groupsObject

The host management groups the asset is part of.



262
263
264
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 262

def groups
  @groups
end

#hostnameObject

The asset’s hostname.



265
266
267
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 265

def hostname
  @hostname
end

#ics_idObject

The ID generated by ICS collector asset discovery mechanism



268
269
270
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 268

def ics_id
  @ics_id
end

#idObject

The unique ID of the asset.



271
272
273
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 271

def id
  @id
end

#imported_host_idObject

Returns the value of attribute imported_host_id.



273
274
275
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 273

def imported_host_id
  @imported_host_id
end

#internet_exposureObject

Whether the asset is exposed to the internet (Yes, No or Pending).



276
277
278
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 276

def internet_exposure
  @internet_exposure
end

#internet_exposure_descriptionObject

The description the user entered when manually assigning a internet exposure level



279
280
281
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 279

def internet_exposure_description
  @internet_exposure_description
end

#internet_exposure_timestampObject

The date and time the internet exposure level was manually assigned



282
283
284
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 282

def internet_exposure_timestamp
  @internet_exposure_timestamp
end

#internet_exposure_usernameObject

The username of the account that manually assigned the internet exposure level



285
286
287
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 285

def internet_exposure_username
  @internet_exposure_username
end

#iot_importedObject

Returns the value of attribute iot_imported.



287
288
289
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 287

def iot_imported
  @iot_imported
end

#iot_tagsObject

Returns the value of attribute iot_tags.



289
290
291
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 289

def iot_tags
  @iot_tags
end

#kernel_versionObject

For Linux and Mac hosts: the major version, minor version, and patch version of the kernel for the asset. For Windows hosts: the build number of the asset.



292
293
294
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 292

def kernel_version
  @kernel_version
end

#last_authenticated_scan_dateObject

The date of the most recent authenticated scan.



295
296
297
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 295

def last_authenticated_scan_date
  @last_authenticated_scan_date
end

#last_discoverer_aidObject

The agent ID of the Falcon sensor installed on the source that most recently discovered the asset.



298
299
300
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 298

def last_discoverer_aid
  @last_discoverer_aid
end

#last_discoverer_hostnameObject

The hostname of the last source that discovered the asset.



301
302
303
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 301

def last_discoverer_hostname
  @last_discoverer_hostname
end

#last_discoverer_ics_collector_idObject

The agent ID of the Falcon sensor installed on the source host that most recently discovered the asset via ICS Asset discovery mechanism



304
305
306
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 304

def last_discoverer_ics_collector_id
  @last_discoverer_ics_collector_id
end

#last_seen_timestampObject

The most recent time the asset was seen in your environment.



307
308
309
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 307

def last_seen_timestamp
  @last_seen_timestamp
end

#last_unauthenticated_scan_dateObject

The date of the most recent unauthenticated scan.



310
311
312
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 310

def last_unauthenticated_scan_date
  @last_unauthenticated_scan_date
end

#local_ip_addressesObject

Historical local IPv4 addresses associated with the asset.



313
314
315
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 313

def local_ip_addresses
  @local_ip_addresses
end

#local_ips_countObject

The number of historical local IPv4 addresses the asset has had.



316
317
318
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 316

def local_ips_count
  @local_ips_count
end

#locationObject

The location of the asset.



319
320
321
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 319

def location
  @location
end

#logical_core_countObject

The number of logical cores available on the system



322
323
324
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 322

def logical_core_count
  @logical_core_count
end

#mac_addressesObject

Historical MAC addresses associated with the asset.



325
326
327
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 325

def mac_addresses
  @mac_addresses
end

#machine_domainObject

The domain name the asset is currently joined to.



328
329
330
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 328

def machine_domain
  @machine_domain
end

#managed_byObject

The first and last name of the person who manages this asset.



331
332
333
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 331

def managed_by
  @managed_by
end

#max_memory_usageObject

The max memory usage in the last 15 minutes on the host



334
335
336
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 334

def max_memory_usage
  @max_memory_usage
end

#max_memory_usage_pctObject

The max memory usage percent in the last 15 minutes on the host



337
338
339
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 337

def max_memory_usage_pct
  @max_memory_usage_pct
end

#max_processor_usageObject

The max processor usage in the last 15 minutes on the host



340
341
342
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 340

def max_processor_usage
  @max_processor_usage
end

#memory_totalObject

The Total memory.



343
344
345
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 343

def memory_total
  @memory_total
end

#mount_storage_infoObject

The path, used and available space on mounted disks



346
347
348
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 346

def mount_storage_info
  @mount_storage_info
end

#network_idObject

The network ID to which device is connected.



349
350
351
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 349

def network_id
  @network_id
end

#network_interfacesObject

The asset’s network interfaces (Cannot be used for filtering, sorting, or querying).



352
353
354
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 352

def network_interfaces
  @network_interfaces
end

#network_scanned_idsObject

The set of unique identifiers for the asset scanned by the Falcon sensor.



355
356
357
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 355

def network_scanned_ids
  @network_scanned_ids
end

#number_of_disk_drivesObject

The number of active physical drives available on the system.



358
359
360
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 358

def number_of_disk_drives
  @number_of_disk_drives
end

#object_guidObject

The globally unique identifier (GUID) of the asset in Active Directory.



361
362
363
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 361

def object_guid
  @object_guid
end

#object_sidObject

The security identifier (SID) of the asset in Active Directory.



364
365
366
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 364

def object_sid
  @object_sid
end

#os_is_eolObject

Whether the asset is at end of support (Yes, No, or Unknown).



367
368
369
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 367

def os_is_eol
  @os_is_eol
end

#os_securityObject

Returns the value of attribute os_security.



369
370
371
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 369

def os_security
  @os_security
end

#os_service_packObject

The OS service pack on the asset.



372
373
374
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 372

def os_service_pack
  @os_service_pack
end

#os_versionObject

The OS version of the asset.



375
376
377
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 375

def os_version
  @os_version
end

#ot_information_sourcesObject

A list of sources through which host is discovered



378
379
380
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 378

def ot_information_sources
  @ot_information_sources
end

#ot_network_idsObject

A list of network ids to which host belongs



381
382
383
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 381

def ot_network_ids
  @ot_network_ids
end

#ot_serial_numbersObject

A list of ot serial numbers that discovered with host



384
385
386
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 384

def ot_serial_numbers
  @ot_serial_numbers
end

#ouObject

The organizational unit of the asset.



387
388
389
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 387

def ou
  @ou
end

#ousObject

The organizational units of the asset.



390
391
392
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 390

def ous
  @ous
end

#override_asset_rolesObject

Whether a user overrode automatically assigned asset roles to manually assign a role to the asset (true or false).



393
394
395
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 393

def override_asset_roles
  @override_asset_roles
end

#override_criticality_rulesObject

Whether a user overrode a criticality rule to manually assign a criticality level on the asset (true or false).



396
397
398
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 396

def override_criticality_rules
  @override_criticality_rules
end

#override_internet_exposureObject

Whether a user overrode the automatically assigned internet exposure (True or False).



399
400
401
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 399

def override_internet_exposure
  @override_internet_exposure
end

#owned_byObject

The first and last name of the person who owns this asset.



402
403
404
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 402

def owned_by
  @owned_by
end

#physical_core_countObject

The number of physical CPU cores available on the system.



405
406
407
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 405

def physical_core_count
  @physical_core_count
end

#platform_nameObject

The platform name of the asset (Windows, Mac, Linux).



408
409
410
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 408

def platform_name
  @platform_name
end

#processor_package_countObject

The number of physical processors available on the system.



411
412
413
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 411

def processor_package_count
  @processor_package_count
end

#product_typeObject

The product type of the asset represented as a number (1 = Workstation, 2 = Domain Controller, 3 = Server).



414
415
416
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 414

def product_type
  @product_type
end

#product_type_descObject

The product type of the asset (Workstation, Domain Controller, Server).



417
418
419
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 417

def product_type_desc
  @product_type_desc
end

#protocolsObject

The list of protocols supported by the device



420
421
422
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 420

def protocols
  @protocols
end

#purdue_levelObject

The purdue level of IoT Asset



423
424
425
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 423

def purdue_level
  @purdue_level
end

#qualys_idObject

Represents the unique identifier of an asset reported by Qualys



426
427
428
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 426

def qualys_id
  @qualys_id
end

#qualys_network_idObject

Represents the network id of an asset reported by Qualys



429
430
431
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 429

def qualys_network_id
  @qualys_network_id
end

#reduced_functionality_modeObject

Whether the asset is in reduced functionality mode (Yes or No).



432
433
434
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 432

def reduced_functionality_mode
  @reduced_functionality_mode
end

#scan_detailsObject

Represents information about the scans that this host has been a part of’.



435
436
437
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 435

def scan_details
  @scan_details
end

#servicenow_idObject

The unique identifier of the asset from ServiceNow, if any.



438
439
440
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 438

def servicenow_id
  @servicenow_id
end

#site_nameObject

The site name of the domain the asset is joined to (applies only to Windows hosts).



441
442
443
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 441

def site_name
  @site_name
end

#stateObject

The name of the U.S. state where the asset is located.



444
445
446
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 444

def state
  @state
end

#subnetObject

The subnet to which device is connected.



447
448
449
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 447

def subnet
  @subnet
end

#system_manufacturerObject

The asset’s system manufacturer.



450
451
452
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 450

def system_manufacturer
  @system_manufacturer
end

#system_product_nameObject

The asset’s system product name.



453
454
455
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 453

def system_product_name
  @system_product_name
end

#system_serial_numberObject

The asset’s system serial number.



456
457
458
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 456

def system_serial_number
  @system_serial_number
end

#tagsObject

The sensor and cloud tags of the asset.



459
460
461
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 459

def tags
  @tags
end

#tenableio_idObject

Represents the unique identifier of an asset reported by Tenable



462
463
464
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 462

def tenableio_id
  @tenableio_id
end

#total_bios_filesObject

The count of bios files measured by the firmware image



465
466
467
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 465

def total_bios_files
  @total_bios_files
end

#total_disk_spaceObject

Total amount of disk space available on the system



468
469
470
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 468

def total_disk_space
  @total_disk_space
end

#total_memoryObject

The total memory of the asset



471
472
473
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 471

def total_memory
  @total_memory
end

#triageObject

Returns the value of attribute triage.



473
474
475
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 473

def triage
  @triage
end

#unencrypted_drivesObject

The list of unencrypted drives on the host



476
477
478
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 476

def unencrypted_drives
  @unencrypted_drives
end

#unencrypted_drives_countObject

The count of unencrypted drives on the host



479
480
481
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 479

def unencrypted_drives_count
  @unencrypted_drives_count
end

#used_disk_spaceObject

The used disk space in the last 15 minutes on the host



482
483
484
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 482

def used_disk_space
  @used_disk_space
end

#used_disk_space_pctObject

The used disk space percent in the last 15 minutes on the host



485
486
487
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 485

def used_disk_space_pct
  @used_disk_space_pct
end

#used_forObject

What the asset is used for, such as production, staging, or QA.



488
489
490
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 488

def used_for
  @used_for
end

#user_asset_rolesObject

The asset role or roles manually assigned to the asset.



491
492
493
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 491

def user_asset_roles
  @user_asset_roles
end

#user_internet_exposureObject

The internet exposure manually assigned to the asset



494
495
496
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 494

def user_internet_exposure
  @user_internet_exposure
end

#virtual_zoneObject

The Virtual Zone name in which device is installed.



497
498
499
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 497

def virtual_zone
  @virtual_zone
end

#vlanObject

The VLAN IDs to which device is connected.



500
501
502
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 500

def vlan
  @vlan
end

#vulnerability_assessment_dateObject

Represents the date when this host has been assessed for vulnerabilities



503
504
505
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 503

def vulnerability_assessment_date
  @vulnerability_assessment_date
end

#xdome_idObject

The external ID of the IoT Device in 3rd Party System(Claroty Xdome)



506
507
508
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 506

def xdome_id
  @xdome_id
end

#xiot_discoverer_hostnamesObject

The hostnames of the sources that discovered the asset.



509
510
511
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 509

def xiot_discoverer_hostnames
  @xiot_discoverer_hostnames
end

#xiot_discoverer_tagsObject

The tags of the sources that discovered the asset.



512
513
514
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 512

def xiot_discoverer_tags
  @xiot_discoverer_tags
end

#xiot_last_discoverer_hostnameObject

The hostname of the last source that discovered the asset.



515
516
517
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 515

def xiot_last_discoverer_hostname
  @xiot_last_discoverer_hostname
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



687
688
689
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 687

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 518

def self.attribute_map
  {
    :'account_enabled' => :'account_enabled',
    :'active_discovery' => :'active_discovery',
    :'ad_user_account_control' => :'ad_user_account_control',
    :'ad_virtual_server' => :'ad_virtual_server',
    :'agent_version' => :'agent_version',
    :'aid' => :'aid',
    :'asset_roles' => :'asset_roles',
    :'assigned_to' => :'assigned_to',
    :'available_disk_space' => :'available_disk_space',
    :'available_disk_space_pct' => :'available_disk_space_pct',
    :'average_memory_usage' => :'average_memory_usage',
    :'average_memory_usage_pct' => :'average_memory_usage_pct',
    :'average_processor_usage' => :'average_processor_usage',
    :'bios_hashes_data' => :'bios_hashes_data',
    :'bios_id' => :'bios_id',
    :'bios_manufacturer' => :'bios_manufacturer',
    :'bios_version' => :'bios_version',
    :'business_criticality' => :'business_criticality',
    :'cid' => :'cid',
    :'city' => :'city',
    :'claroty_id' => :'claroty_id',
    :'classification' => :'classification',
    :'cloud_account_id' => :'cloud_account_id',
    :'cloud_instance_id' => :'cloud_instance_id',
    :'cloud_provider' => :'cloud_provider',
    :'cloud_region' => :'cloud_region',
    :'cloud_registered' => :'cloud_registered',
    :'cloud_resource_id' => :'cloud_resource_id',
    :'composite_internet_exposure' => :'composite_internet_exposure',
    :'computed_asset_roles' => :'computed_asset_roles',
    :'computed_internet_exposure' => :'computed_internet_exposure',
    :'computed_internet_exposure_external_ip' => :'computed_internet_exposure_external_ip',
    :'computed_internet_exposure_last_seen' => :'computed_internet_exposure_last_seen',
    :'confidence' => :'confidence',
    :'country' => :'country',
    :'cpu_manufacturer' => :'cpu_manufacturer',
    :'cpu_processor_name' => :'cpu_processor_name',
    :'creation_timestamp' => :'creation_timestamp',
    :'criticality' => :'criticality',
    :'criticality_description' => :'criticality_description',
    :'criticality_rule_id' => :'criticality_rule_id',
    :'criticality_timestamp' => :'criticality_timestamp',
    :'criticality_username' => :'criticality_username',
    :'current_local_ip' => :'current_local_ip',
    :'current_network_prefix' => :'current_network_prefix',
    :'data_providers' => :'data_providers',
    :'data_providers_count' => :'data_providers_count',
    :'department' => :'department',
    :'descriptions' => :'descriptions',
    :'device_class' => :'device_class',
    :'device_family' => :'device_family',
    :'device_mode' => :'device_mode',
    :'device_slots' => :'device_slots',
    :'device_type' => :'device_type',
    :'discoverer_aids' => :'discoverer_aids',
    :'discoverer_count' => :'discoverer_count',
    :'discoverer_criticalities' => :'discoverer_criticalities',
    :'discoverer_hostnames' => :'discoverer_hostnames',
    :'discoverer_ics_collector_ids' => :'discoverer_ics_collector_ids',
    :'discoverer_platform_names' => :'discoverer_platform_names',
    :'discoverer_product_type_descs' => :'discoverer_product_type_descs',
    :'discoverer_tags' => :'discoverer_tags',
    :'discovering_by' => :'discovering_by',
    :'disk_sizes' => :'disk_sizes',
    :'dragos_id' => :'dragos_id',
    :'email' => :'email',
    :'encrypted_drives' => :'encrypted_drives',
    :'encrypted_drives_count' => :'encrypted_drives_count',
    :'encryption_status' => :'encryption_status',
    :'entity_type' => :'entity_type',
    :'external_ip' => :'external_ip',
    :'field_metadata' => :'field_metadata',
    :'first_discoverer_aid' => :'first_discoverer_aid',
    :'first_seen_timestamp' => :'first_seen_timestamp',
    :'form_factor' => :'form_factor',
    :'fqdn' => :'fqdn',
    :'groups' => :'groups',
    :'hostname' => :'hostname',
    :'ics_id' => :'ics_id',
    :'id' => :'id',
    :'imported_host_id' => :'imported_host_id',
    :'internet_exposure' => :'internet_exposure',
    :'internet_exposure_description' => :'internet_exposure_description',
    :'internet_exposure_timestamp' => :'internet_exposure_timestamp',
    :'internet_exposure_username' => :'internet_exposure_username',
    :'iot_imported' => :'iot_imported',
    :'iot_tags' => :'iot_tags',
    :'kernel_version' => :'kernel_version',
    :'last_authenticated_scan_date' => :'last_authenticated_scan_date',
    :'last_discoverer_aid' => :'last_discoverer_aid',
    :'last_discoverer_hostname' => :'last_discoverer_hostname',
    :'last_discoverer_ics_collector_id' => :'last_discoverer_ics_collector_id',
    :'last_seen_timestamp' => :'last_seen_timestamp',
    :'last_unauthenticated_scan_date' => :'last_unauthenticated_scan_date',
    :'local_ip_addresses' => :'local_ip_addresses',
    :'local_ips_count' => :'local_ips_count',
    :'location' => :'location',
    :'logical_core_count' => :'logical_core_count',
    :'mac_addresses' => :'mac_addresses',
    :'machine_domain' => :'machine_domain',
    :'managed_by' => :'managed_by',
    :'max_memory_usage' => :'max_memory_usage',
    :'max_memory_usage_pct' => :'max_memory_usage_pct',
    :'max_processor_usage' => :'max_processor_usage',
    :'memory_total' => :'memory_total',
    :'mount_storage_info' => :'mount_storage_info',
    :'network_id' => :'network_id',
    :'network_interfaces' => :'network_interfaces',
    :'network_scanned_ids' => :'network_scanned_ids',
    :'number_of_disk_drives' => :'number_of_disk_drives',
    :'object_guid' => :'object_guid',
    :'object_sid' => :'object_sid',
    :'os_is_eol' => :'os_is_eol',
    :'os_security' => :'os_security',
    :'os_service_pack' => :'os_service_pack',
    :'os_version' => :'os_version',
    :'ot_information_sources' => :'ot_information_sources',
    :'ot_network_ids' => :'ot_network_ids',
    :'ot_serial_numbers' => :'ot_serial_numbers',
    :'ou' => :'ou',
    :'ous' => :'ous',
    :'override_asset_roles' => :'override_asset_roles',
    :'override_criticality_rules' => :'override_criticality_rules',
    :'override_internet_exposure' => :'override_internet_exposure',
    :'owned_by' => :'owned_by',
    :'physical_core_count' => :'physical_core_count',
    :'platform_name' => :'platform_name',
    :'processor_package_count' => :'processor_package_count',
    :'product_type' => :'product_type',
    :'product_type_desc' => :'product_type_desc',
    :'protocols' => :'protocols',
    :'purdue_level' => :'purdue_level',
    :'qualys_id' => :'qualys_id',
    :'qualys_network_id' => :'qualys_network_id',
    :'reduced_functionality_mode' => :'reduced_functionality_mode',
    :'scan_details' => :'scan_details',
    :'servicenow_id' => :'servicenow_id',
    :'site_name' => :'site_name',
    :'state' => :'state',
    :'subnet' => :'subnet',
    :'system_manufacturer' => :'system_manufacturer',
    :'system_product_name' => :'system_product_name',
    :'system_serial_number' => :'system_serial_number',
    :'tags' => :'tags',
    :'tenableio_id' => :'tenableio_id',
    :'total_bios_files' => :'total_bios_files',
    :'total_disk_space' => :'total_disk_space',
    :'total_memory' => :'total_memory',
    :'triage' => :'triage',
    :'unencrypted_drives' => :'unencrypted_drives',
    :'unencrypted_drives_count' => :'unencrypted_drives_count',
    :'used_disk_space' => :'used_disk_space',
    :'used_disk_space_pct' => :'used_disk_space_pct',
    :'used_for' => :'used_for',
    :'user_asset_roles' => :'user_asset_roles',
    :'user_internet_exposure' => :'user_internet_exposure',
    :'virtual_zone' => :'virtual_zone',
    :'vlan' => :'vlan',
    :'vulnerability_assessment_date' => :'vulnerability_assessment_date',
    :'xdome_id' => :'xdome_id',
    :'xiot_discoverer_hostnames' => :'xiot_discoverer_hostnames',
    :'xiot_discoverer_tags' => :'xiot_discoverer_tags',
    :'xiot_last_discoverer_hostname' => :'xiot_last_discoverer_hostname'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1814
1815
1816
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1814

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end

.openapi_nullableObject

List of attributes with nullable: true



861
862
863
864
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 861

def self.openapi_nullable
  Set.new([
  ])
end

.openapi_typesObject

Attribute type mapping.



692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 692

def self.openapi_types
  {
    :'account_enabled' => :'String',
    :'active_discovery' => :'DomainDiscoverAPIActiveDiscoveryHost',
    :'ad_user_account_control' => :'Integer',
    :'ad_virtual_server' => :'String',
    :'agent_version' => :'String',
    :'aid' => :'String',
    :'asset_roles' => :'Array<String>',
    :'assigned_to' => :'String',
    :'available_disk_space' => :'Integer',
    :'available_disk_space_pct' => :'Integer',
    :'average_memory_usage' => :'Integer',
    :'average_memory_usage_pct' => :'Integer',
    :'average_processor_usage' => :'Integer',
    :'bios_hashes_data' => :'Array<DomainDiscoverAPIBiosHashesData>',
    :'bios_id' => :'String',
    :'bios_manufacturer' => :'String',
    :'bios_version' => :'String',
    :'business_criticality' => :'String',
    :'cid' => :'String',
    :'city' => :'String',
    :'claroty_id' => :'String',
    :'classification' => :'String',
    :'cloud_account_id' => :'String',
    :'cloud_instance_id' => :'String',
    :'cloud_provider' => :'String',
    :'cloud_region' => :'String',
    :'cloud_registered' => :'Boolean',
    :'cloud_resource_id' => :'String',
    :'composite_internet_exposure' => :'String',
    :'computed_asset_roles' => :'Array<String>',
    :'computed_internet_exposure' => :'String',
    :'computed_internet_exposure_external_ip' => :'String',
    :'computed_internet_exposure_last_seen' => :'String',
    :'confidence' => :'Integer',
    :'country' => :'String',
    :'cpu_manufacturer' => :'String',
    :'cpu_processor_name' => :'String',
    :'creation_timestamp' => :'String',
    :'criticality' => :'String',
    :'criticality_description' => :'String',
    :'criticality_rule_id' => :'String',
    :'criticality_timestamp' => :'String',
    :'criticality_username' => :'String',
    :'current_local_ip' => :'String',
    :'current_network_prefix' => :'String',
    :'data_providers' => :'Array<String>',
    :'data_providers_count' => :'Integer',
    :'department' => :'String',
    :'descriptions' => :'Array<String>',
    :'device_class' => :'String',
    :'device_family' => :'String',
    :'device_mode' => :'String',
    :'device_slots' => :'Array<DomainDiscoverAPIDeviceSlot>',
    :'device_type' => :'String',
    :'discoverer_aids' => :'Array<String>',
    :'discoverer_count' => :'Integer',
    :'discoverer_criticalities' => :'Array<String>',
    :'discoverer_hostnames' => :'Array<String>',
    :'discoverer_ics_collector_ids' => :'Array<String>',
    :'discoverer_platform_names' => :'Array<String>',
    :'discoverer_product_type_descs' => :'Array<String>',
    :'discoverer_tags' => :'Array<String>',
    :'discovering_by' => :'Array<String>',
    :'disk_sizes' => :'Array<DomainDiscoverAPIDiskSize>',
    :'dragos_id' => :'String',
    :'email' => :'String',
    :'encrypted_drives' => :'Array<String>',
    :'encrypted_drives_count' => :'Integer',
    :'encryption_status' => :'String',
    :'entity_type' => :'String',
    :'external_ip' => :'String',
    :'field_metadata' => :'Hash<String, DomainDiscoverAPIFieldMetadata>',
    :'first_discoverer_aid' => :'String',
    :'first_seen_timestamp' => :'String',
    :'form_factor' => :'String',
    :'fqdn' => :'String',
    :'groups' => :'Array<String>',
    :'hostname' => :'String',
    :'ics_id' => :'String',
    :'id' => :'String',
    :'imported_host_id' => :'String',
    :'internet_exposure' => :'String',
    :'internet_exposure_description' => :'String',
    :'internet_exposure_timestamp' => :'String',
    :'internet_exposure_username' => :'String',
    :'iot_imported' => :'DomainIotImportedHost',
    :'iot_tags' => :'Array<String>',
    :'kernel_version' => :'String',
    :'last_authenticated_scan_date' => :'String',
    :'last_discoverer_aid' => :'String',
    :'last_discoverer_hostname' => :'String',
    :'last_discoverer_ics_collector_id' => :'String',
    :'last_seen_timestamp' => :'String',
    :'last_unauthenticated_scan_date' => :'String',
    :'local_ip_addresses' => :'Array<String>',
    :'local_ips_count' => :'Integer',
    :'location' => :'String',
    :'logical_core_count' => :'Integer',
    :'mac_addresses' => :'Array<String>',
    :'machine_domain' => :'String',
    :'managed_by' => :'String',
    :'max_memory_usage' => :'Integer',
    :'max_memory_usage_pct' => :'Integer',
    :'max_processor_usage' => :'Integer',
    :'memory_total' => :'Integer',
    :'mount_storage_info' => :'Array<DomainDiscoverAPIMountStorageInfo>',
    :'network_id' => :'String',
    :'network_interfaces' => :'Array<DomainDiscoverAPINetworkInterface>',
    :'network_scanned_ids' => :'Array<String>',
    :'number_of_disk_drives' => :'Integer',
    :'object_guid' => :'String',
    :'object_sid' => :'String',
    :'os_is_eol' => :'String',
    :'os_security' => :'DomainDiscoverAPIOsSecurity',
    :'os_service_pack' => :'String',
    :'os_version' => :'String',
    :'ot_information_sources' => :'Array<String>',
    :'ot_network_ids' => :'Array<String>',
    :'ot_serial_numbers' => :'Array<String>',
    :'ou' => :'String',
    :'ous' => :'Array<String>',
    :'override_asset_roles' => :'Boolean',
    :'override_criticality_rules' => :'Boolean',
    :'override_internet_exposure' => :'Boolean',
    :'owned_by' => :'String',
    :'physical_core_count' => :'Integer',
    :'platform_name' => :'String',
    :'processor_package_count' => :'Integer',
    :'product_type' => :'String',
    :'product_type_desc' => :'String',
    :'protocols' => :'Array<String>',
    :'purdue_level' => :'String',
    :'qualys_id' => :'String',
    :'qualys_network_id' => :'String',
    :'reduced_functionality_mode' => :'String',
    :'scan_details' => :'Array<DomainDiscoverAPIScanDetailsHost>',
    :'servicenow_id' => :'String',
    :'site_name' => :'String',
    :'state' => :'String',
    :'subnet' => :'String',
    :'system_manufacturer' => :'String',
    :'system_product_name' => :'String',
    :'system_serial_number' => :'String',
    :'tags' => :'Array<String>',
    :'tenableio_id' => :'String',
    :'total_bios_files' => :'Integer',
    :'total_disk_space' => :'Integer',
    :'total_memory' => :'Integer',
    :'triage' => :'DomainDiscoverAPIHostTriage',
    :'unencrypted_drives' => :'Array<String>',
    :'unencrypted_drives_count' => :'Integer',
    :'used_disk_space' => :'Integer',
    :'used_disk_space_pct' => :'Integer',
    :'used_for' => :'String',
    :'user_asset_roles' => :'Array<String>',
    :'user_internet_exposure' => :'String',
    :'virtual_zone' => :'String',
    :'vlan' => :'Array<String>',
    :'vulnerability_assessment_date' => :'String',
    :'xdome_id' => :'String',
    :'xiot_discoverer_hostnames' => :'Array<String>',
    :'xiot_discoverer_tags' => :'Array<String>',
    :'xiot_last_discoverer_hostname' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1631

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
       == o. &&
      active_discovery == o.active_discovery &&
       == o. &&
      ad_virtual_server == o.ad_virtual_server &&
      agent_version == o.agent_version &&
      aid == o.aid &&
      asset_roles == o.asset_roles &&
      assigned_to == o.assigned_to &&
      available_disk_space == o.available_disk_space &&
      available_disk_space_pct == o.available_disk_space_pct &&
      average_memory_usage == o.average_memory_usage &&
      average_memory_usage_pct == o.average_memory_usage_pct &&
      average_processor_usage == o.average_processor_usage &&
      bios_hashes_data == o.bios_hashes_data &&
      bios_id == o.bios_id &&
      bios_manufacturer == o.bios_manufacturer &&
      bios_version == o.bios_version &&
      business_criticality == o.business_criticality &&
      cid == o.cid &&
      city == o.city &&
      claroty_id == o.claroty_id &&
      classification == o.classification &&
       == o. &&
      cloud_instance_id == o.cloud_instance_id &&
      cloud_provider == o.cloud_provider &&
      cloud_region == o.cloud_region &&
      cloud_registered == o.cloud_registered &&
      cloud_resource_id == o.cloud_resource_id &&
      composite_internet_exposure == o.composite_internet_exposure &&
      computed_asset_roles == o.computed_asset_roles &&
      computed_internet_exposure == o.computed_internet_exposure &&
      computed_internet_exposure_external_ip == o.computed_internet_exposure_external_ip &&
      computed_internet_exposure_last_seen == o.computed_internet_exposure_last_seen &&
      confidence == o.confidence &&
      country == o.country &&
      cpu_manufacturer == o.cpu_manufacturer &&
      cpu_processor_name == o.cpu_processor_name &&
      creation_timestamp == o.creation_timestamp &&
      criticality == o.criticality &&
      criticality_description == o.criticality_description &&
      criticality_rule_id == o.criticality_rule_id &&
      criticality_timestamp == o.criticality_timestamp &&
      criticality_username == o.criticality_username &&
      current_local_ip == o.current_local_ip &&
      current_network_prefix == o.current_network_prefix &&
      data_providers == o.data_providers &&
      data_providers_count == o.data_providers_count &&
      department == o.department &&
      descriptions == o.descriptions &&
      device_class == o.device_class &&
      device_family == o.device_family &&
      device_mode == o.device_mode &&
      device_slots == o.device_slots &&
      device_type == o.device_type &&
      discoverer_aids == o.discoverer_aids &&
      discoverer_count == o.discoverer_count &&
      discoverer_criticalities == o.discoverer_criticalities &&
      discoverer_hostnames == o.discoverer_hostnames &&
      discoverer_ics_collector_ids == o.discoverer_ics_collector_ids &&
      discoverer_platform_names == o.discoverer_platform_names &&
      discoverer_product_type_descs == o.discoverer_product_type_descs &&
      discoverer_tags == o.discoverer_tags &&
      discovering_by == o.discovering_by &&
      disk_sizes == o.disk_sizes &&
      dragos_id == o.dragos_id &&
      email == o.email &&
      encrypted_drives == o.encrypted_drives &&
      encrypted_drives_count == o.encrypted_drives_count &&
      encryption_status == o.encryption_status &&
      entity_type == o.entity_type &&
      external_ip == o.external_ip &&
       == o. &&
      first_discoverer_aid == o.first_discoverer_aid &&
      first_seen_timestamp == o.first_seen_timestamp &&
      form_factor == o.form_factor &&
      fqdn == o.fqdn &&
      groups == o.groups &&
      hostname == o.hostname &&
      ics_id == o.ics_id &&
      id == o.id &&
      imported_host_id == o.imported_host_id &&
      internet_exposure == o.internet_exposure &&
      internet_exposure_description == o.internet_exposure_description &&
      internet_exposure_timestamp == o.internet_exposure_timestamp &&
      internet_exposure_username == o.internet_exposure_username &&
      iot_imported == o.iot_imported &&
      iot_tags == o.iot_tags &&
      kernel_version == o.kernel_version &&
      last_authenticated_scan_date == o.last_authenticated_scan_date &&
      last_discoverer_aid == o.last_discoverer_aid &&
      last_discoverer_hostname == o.last_discoverer_hostname &&
      last_discoverer_ics_collector_id == o.last_discoverer_ics_collector_id &&
      last_seen_timestamp == o.last_seen_timestamp &&
      last_unauthenticated_scan_date == o.last_unauthenticated_scan_date &&
      local_ip_addresses == o.local_ip_addresses &&
      local_ips_count == o.local_ips_count &&
      location == o.location &&
      logical_core_count == o.logical_core_count &&
      mac_addresses == o.mac_addresses &&
      machine_domain == o.machine_domain &&
      managed_by == o.managed_by &&
      max_memory_usage == o.max_memory_usage &&
      max_memory_usage_pct == o.max_memory_usage_pct &&
      max_processor_usage == o.max_processor_usage &&
      memory_total == o.memory_total &&
      mount_storage_info == o.mount_storage_info &&
      network_id == o.network_id &&
      network_interfaces == o.network_interfaces &&
      network_scanned_ids == o.network_scanned_ids &&
      number_of_disk_drives == o.number_of_disk_drives &&
      object_guid == o.object_guid &&
      object_sid == o.object_sid &&
      os_is_eol == o.os_is_eol &&
      os_security == o.os_security &&
      os_service_pack == o.os_service_pack &&
      os_version == o.os_version &&
      ot_information_sources == o.ot_information_sources &&
      ot_network_ids == o.ot_network_ids &&
      ot_serial_numbers == o.ot_serial_numbers &&
      ou == o.ou &&
      ous == o.ous &&
      override_asset_roles == o.override_asset_roles &&
      override_criticality_rules == o.override_criticality_rules &&
      override_internet_exposure == o.override_internet_exposure &&
      owned_by == o.owned_by &&
      physical_core_count == o.physical_core_count &&
      platform_name == o.platform_name &&
      processor_package_count == o.processor_package_count &&
      product_type == o.product_type &&
      product_type_desc == o.product_type_desc &&
      protocols == o.protocols &&
      purdue_level == o.purdue_level &&
      qualys_id == o.qualys_id &&
      qualys_network_id == o.qualys_network_id &&
      reduced_functionality_mode == o.reduced_functionality_mode &&
      scan_details == o.scan_details &&
      servicenow_id == o.servicenow_id &&
      site_name == o.site_name &&
      state == o.state &&
      subnet == o.subnet &&
      system_manufacturer == o.system_manufacturer &&
      system_product_name == o.system_product_name &&
      system_serial_number == o.system_serial_number &&
      tags == o.tags &&
      tenableio_id == o.tenableio_id &&
      total_bios_files == o.total_bios_files &&
      total_disk_space == o.total_disk_space &&
      total_memory == o.total_memory &&
      triage == o.triage &&
      unencrypted_drives == o.unencrypted_drives &&
      unencrypted_drives_count == o.unencrypted_drives_count &&
      used_disk_space == o.used_disk_space &&
      used_disk_space_pct == o.used_disk_space_pct &&
      used_for == o.used_for &&
      user_asset_roles == o.user_asset_roles &&
      user_internet_exposure == o.user_internet_exposure &&
      virtual_zone == o.virtual_zone &&
      vlan == o.vlan &&
      vulnerability_assessment_date == o.vulnerability_assessment_date &&
      xdome_id == o.xdome_id &&
      xiot_discoverer_hostnames == o.xiot_discoverer_hostnames &&
      xiot_discoverer_tags == o.xiot_discoverer_tags &&
      xiot_last_discoverer_hostname == o.xiot_last_discoverer_hostname
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1845

def _deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = Falcon.const_get(type)
    klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1916

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1821

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  attributes = attributes.transform_keys(&:to_sym)
  self.class.openapi_types.each_pair do |key, type|
    if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
      self.send("#{key}=", nil)
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1801
1802
1803
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1801

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1807
1808
1809
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1807

def hash
  [, active_discovery, , ad_virtual_server, agent_version, aid, asset_roles, assigned_to, available_disk_space, available_disk_space_pct, average_memory_usage, average_memory_usage_pct, average_processor_usage, bios_hashes_data, bios_id, bios_manufacturer, bios_version, business_criticality, cid, city, claroty_id, classification, , cloud_instance_id, cloud_provider, cloud_region, cloud_registered, cloud_resource_id, composite_internet_exposure, computed_asset_roles, computed_internet_exposure, computed_internet_exposure_external_ip, computed_internet_exposure_last_seen, confidence, country, cpu_manufacturer, cpu_processor_name, creation_timestamp, criticality, criticality_description, criticality_rule_id, criticality_timestamp, criticality_username, current_local_ip, current_network_prefix, data_providers, data_providers_count, department, descriptions, device_class, device_family, device_mode, device_slots, device_type, discoverer_aids, discoverer_count, discoverer_criticalities, discoverer_hostnames, discoverer_ics_collector_ids, discoverer_platform_names, discoverer_product_type_descs, discoverer_tags, discovering_by, disk_sizes, dragos_id, email, encrypted_drives, encrypted_drives_count, encryption_status, entity_type, external_ip, , first_discoverer_aid, first_seen_timestamp, form_factor, fqdn, groups, hostname, ics_id, id, imported_host_id, internet_exposure, internet_exposure_description, internet_exposure_timestamp, internet_exposure_username, iot_imported, iot_tags, kernel_version, last_authenticated_scan_date, last_discoverer_aid, last_discoverer_hostname, last_discoverer_ics_collector_id, last_seen_timestamp, last_unauthenticated_scan_date, local_ip_addresses, local_ips_count, location, logical_core_count, mac_addresses, machine_domain, managed_by, max_memory_usage, max_memory_usage_pct, max_processor_usage, memory_total, mount_storage_info, network_id, network_interfaces, network_scanned_ids, number_of_disk_drives, object_guid, object_sid, os_is_eol, os_security, os_service_pack, os_version, ot_information_sources, ot_network_ids, ot_serial_numbers, ou, ous, override_asset_roles, override_criticality_rules, override_internet_exposure, owned_by, physical_core_count, platform_name, processor_package_count, product_type, product_type_desc, protocols, purdue_level, qualys_id, qualys_network_id, reduced_functionality_mode, scan_details, servicenow_id, site_name, state, subnet, system_manufacturer, system_product_name, system_serial_number, tags, tenableio_id, total_bios_files, total_disk_space, total_memory, triage, unencrypted_drives, unencrypted_drives_count, used_disk_space, used_disk_space_pct, used_for, user_asset_roles, user_internet_exposure, virtual_zone, vlan, vulnerability_assessment_date, xdome_id, xiot_discoverer_hostnames, xiot_discoverer_tags, xiot_last_discoverer_hostname].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1608

def list_invalid_properties
  invalid_properties = Array.new
  if @cid.nil?
    invalid_properties.push('invalid value for "cid", cid cannot be nil.')
  end

  if @id.nil?
    invalid_properties.push('invalid value for "id", id cannot be nil.')
  end

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



1892
1893
1894
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1892

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1898

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



1886
1887
1888
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1886

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



1623
1624
1625
1626
1627
# File 'lib/crimson-falcon/models/domain_discover_api_host.rb', line 1623

def valid?
  return false if @cid.nil?
  return false if @id.nil?
  true
end