├── .gitignore ├── LICENSE ├── apiclient.md ├── apiclient.py ├── ariel ├── 01_ArielAPIFaultyQuery.py ├── 02_ArielAPIGetDatabases.py ├── 03_ArielAPISearchWorkFlow.py └── readme.md ├── asset_model ├── 01_GetAssets.py ├── 02_GetProperties.py ├── 03_GetSavedSearches.py ├── 04_SearchAssets.py └── readme.md ├── custom_actions ├── 01_getCustomActionInterpreters.py ├── 02_getCustomActionScripts.py ├── 03_getCustomActions.py ├── 04_postCustomActions.py ├── 05_deleteCustomActions.py ├── custom_action_samples │ ├── bash_sample.sh │ ├── perl_sample.pl │ ├── python_sample.py │ └── readme.md └── readme.md ├── custom_properties ├── 01_EventRegexProperties.py ├── 02_EventPropertyExpressions.py ├── 03_FlowRegexProperties.py ├── 04_FlowPropertyExpressions.py ├── readme.md ├── taskManager.py └── timer.py ├── data_classification ├── 01_HighLevelCategories.py ├── 02_LowLevelCategories.py ├── 03_QidRecords.py ├── 04_DsmEventMappings.py └── readme.md ├── domain_management ├── 01_GetDomain.py ├── 02_DeleteDomain.py ├── 03_ModifyDomain.py ├── domainutil.py └── readme.md ├── extension_management ├── 01_ManageExtensions.py ├── ExtensionPackageTest.zip └── readme.md ├── introduction ├── 01_Authentication.py ├── 02_QueryParameters.py ├── 03_PathParameters.py ├── 04_BodyParameters.py ├── 05_Errors.py ├── 06_CommonParameters.py ├── 07_DeprecatedHeader.py ├── 08_RemovedVersion.py ├── Cleanup.py └── readme.md ├── modules ├── RestApiClient.py ├── SampleUtilities.py ├── arielapiclient.py ├── config.py └── readme.md ├── qvm ├── 01_SavedSearches.py ├── 02_VulnInstancesSearchWorkFlow.py └── readme.md ├── readme.md ├── reference_data ├── 01_Sets.py ├── 02_Maps.py ├── 03_MapOfSets.py ├── 04_Tables.py ├── Cleanup.py └── readme.md ├── servers ├── 01_servers.py ├── 02_firewallRules.py ├── 03_ethernetNetworkInterfaces.py ├── 04_bondedNetworkInterfaces.py └── readme.md ├── siem ├── 01_GetOffenses.py ├── 02_HideOffense.py ├── 03_ShowOffense.py ├── 04_Notes.py ├── 05_ClosingReasons.py ├── 06_ClosingAnOffense.py ├── 07_ManagingOffenses.py ├── 08_GetOffenseAddresses.py ├── 09_GetOffensesForIp.py ├── 10_GetOffenseTypes.py ├── assignment_data.csv └── readme.md └── tenant ├── 01_GetTenant.py ├── 02_CreateUpdateDeleteTenant.py └── readme.md /.gitignore: -------------------------------------------------------------------------------- 1 | /config.ini 2 | __pycache__/ 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/LICENSE -------------------------------------------------------------------------------- /apiclient.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/apiclient.md -------------------------------------------------------------------------------- /apiclient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/apiclient.py -------------------------------------------------------------------------------- /ariel/01_ArielAPIFaultyQuery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/ariel/01_ArielAPIFaultyQuery.py -------------------------------------------------------------------------------- /ariel/02_ArielAPIGetDatabases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/ariel/02_ArielAPIGetDatabases.py -------------------------------------------------------------------------------- /ariel/03_ArielAPISearchWorkFlow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/ariel/03_ArielAPISearchWorkFlow.py -------------------------------------------------------------------------------- /ariel/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/ariel/readme.md -------------------------------------------------------------------------------- /asset_model/01_GetAssets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/asset_model/01_GetAssets.py -------------------------------------------------------------------------------- /asset_model/02_GetProperties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/asset_model/02_GetProperties.py -------------------------------------------------------------------------------- /asset_model/03_GetSavedSearches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/asset_model/03_GetSavedSearches.py -------------------------------------------------------------------------------- /asset_model/04_SearchAssets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/asset_model/04_SearchAssets.py -------------------------------------------------------------------------------- /asset_model/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/asset_model/readme.md -------------------------------------------------------------------------------- /custom_actions/01_getCustomActionInterpreters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/01_getCustomActionInterpreters.py -------------------------------------------------------------------------------- /custom_actions/02_getCustomActionScripts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/02_getCustomActionScripts.py -------------------------------------------------------------------------------- /custom_actions/03_getCustomActions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/03_getCustomActions.py -------------------------------------------------------------------------------- /custom_actions/04_postCustomActions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/04_postCustomActions.py -------------------------------------------------------------------------------- /custom_actions/05_deleteCustomActions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/05_deleteCustomActions.py -------------------------------------------------------------------------------- /custom_actions/custom_action_samples/bash_sample.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/custom_action_samples/bash_sample.sh -------------------------------------------------------------------------------- /custom_actions/custom_action_samples/perl_sample.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/custom_action_samples/perl_sample.pl -------------------------------------------------------------------------------- /custom_actions/custom_action_samples/python_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/custom_action_samples/python_sample.py -------------------------------------------------------------------------------- /custom_actions/custom_action_samples/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/custom_action_samples/readme.md -------------------------------------------------------------------------------- /custom_actions/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_actions/readme.md -------------------------------------------------------------------------------- /custom_properties/01_EventRegexProperties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/01_EventRegexProperties.py -------------------------------------------------------------------------------- /custom_properties/02_EventPropertyExpressions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/02_EventPropertyExpressions.py -------------------------------------------------------------------------------- /custom_properties/03_FlowRegexProperties.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/03_FlowRegexProperties.py -------------------------------------------------------------------------------- /custom_properties/04_FlowPropertyExpressions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/04_FlowPropertyExpressions.py -------------------------------------------------------------------------------- /custom_properties/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/readme.md -------------------------------------------------------------------------------- /custom_properties/taskManager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/taskManager.py -------------------------------------------------------------------------------- /custom_properties/timer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/custom_properties/timer.py -------------------------------------------------------------------------------- /data_classification/01_HighLevelCategories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/data_classification/01_HighLevelCategories.py -------------------------------------------------------------------------------- /data_classification/02_LowLevelCategories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/data_classification/02_LowLevelCategories.py -------------------------------------------------------------------------------- /data_classification/03_QidRecords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/data_classification/03_QidRecords.py -------------------------------------------------------------------------------- /data_classification/04_DsmEventMappings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/data_classification/04_DsmEventMappings.py -------------------------------------------------------------------------------- /data_classification/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/data_classification/readme.md -------------------------------------------------------------------------------- /domain_management/01_GetDomain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/domain_management/01_GetDomain.py -------------------------------------------------------------------------------- /domain_management/02_DeleteDomain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/domain_management/02_DeleteDomain.py -------------------------------------------------------------------------------- /domain_management/03_ModifyDomain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/domain_management/03_ModifyDomain.py -------------------------------------------------------------------------------- /domain_management/domainutil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/domain_management/domainutil.py -------------------------------------------------------------------------------- /domain_management/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/domain_management/readme.md -------------------------------------------------------------------------------- /extension_management/01_ManageExtensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/extension_management/01_ManageExtensions.py -------------------------------------------------------------------------------- /extension_management/ExtensionPackageTest.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/extension_management/ExtensionPackageTest.zip -------------------------------------------------------------------------------- /extension_management/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/extension_management/readme.md -------------------------------------------------------------------------------- /introduction/01_Authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/01_Authentication.py -------------------------------------------------------------------------------- /introduction/02_QueryParameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/02_QueryParameters.py -------------------------------------------------------------------------------- /introduction/03_PathParameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/03_PathParameters.py -------------------------------------------------------------------------------- /introduction/04_BodyParameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/04_BodyParameters.py -------------------------------------------------------------------------------- /introduction/05_Errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/05_Errors.py -------------------------------------------------------------------------------- /introduction/06_CommonParameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/06_CommonParameters.py -------------------------------------------------------------------------------- /introduction/07_DeprecatedHeader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/07_DeprecatedHeader.py -------------------------------------------------------------------------------- /introduction/08_RemovedVersion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/08_RemovedVersion.py -------------------------------------------------------------------------------- /introduction/Cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/Cleanup.py -------------------------------------------------------------------------------- /introduction/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/introduction/readme.md -------------------------------------------------------------------------------- /modules/RestApiClient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/modules/RestApiClient.py -------------------------------------------------------------------------------- /modules/SampleUtilities.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/modules/SampleUtilities.py -------------------------------------------------------------------------------- /modules/arielapiclient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/modules/arielapiclient.py -------------------------------------------------------------------------------- /modules/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/modules/config.py -------------------------------------------------------------------------------- /modules/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/modules/readme.md -------------------------------------------------------------------------------- /qvm/01_SavedSearches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/qvm/01_SavedSearches.py -------------------------------------------------------------------------------- /qvm/02_VulnInstancesSearchWorkFlow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/qvm/02_VulnInstancesSearchWorkFlow.py -------------------------------------------------------------------------------- /qvm/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/qvm/readme.md -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/readme.md -------------------------------------------------------------------------------- /reference_data/01_Sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/reference_data/01_Sets.py -------------------------------------------------------------------------------- /reference_data/02_Maps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/reference_data/02_Maps.py -------------------------------------------------------------------------------- /reference_data/03_MapOfSets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/reference_data/03_MapOfSets.py -------------------------------------------------------------------------------- /reference_data/04_Tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/reference_data/04_Tables.py -------------------------------------------------------------------------------- /reference_data/Cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/reference_data/Cleanup.py -------------------------------------------------------------------------------- /reference_data/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/reference_data/readme.md -------------------------------------------------------------------------------- /servers/01_servers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/servers/01_servers.py -------------------------------------------------------------------------------- /servers/02_firewallRules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/servers/02_firewallRules.py -------------------------------------------------------------------------------- /servers/03_ethernetNetworkInterfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/servers/03_ethernetNetworkInterfaces.py -------------------------------------------------------------------------------- /servers/04_bondedNetworkInterfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/servers/04_bondedNetworkInterfaces.py -------------------------------------------------------------------------------- /servers/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/servers/readme.md -------------------------------------------------------------------------------- /siem/01_GetOffenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/01_GetOffenses.py -------------------------------------------------------------------------------- /siem/02_HideOffense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/02_HideOffense.py -------------------------------------------------------------------------------- /siem/03_ShowOffense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/03_ShowOffense.py -------------------------------------------------------------------------------- /siem/04_Notes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/04_Notes.py -------------------------------------------------------------------------------- /siem/05_ClosingReasons.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/05_ClosingReasons.py -------------------------------------------------------------------------------- /siem/06_ClosingAnOffense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/06_ClosingAnOffense.py -------------------------------------------------------------------------------- /siem/07_ManagingOffenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/07_ManagingOffenses.py -------------------------------------------------------------------------------- /siem/08_GetOffenseAddresses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/08_GetOffenseAddresses.py -------------------------------------------------------------------------------- /siem/09_GetOffensesForIp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/09_GetOffensesForIp.py -------------------------------------------------------------------------------- /siem/10_GetOffenseTypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/10_GetOffenseTypes.py -------------------------------------------------------------------------------- /siem/assignment_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/assignment_data.csv -------------------------------------------------------------------------------- /siem/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/siem/readme.md -------------------------------------------------------------------------------- /tenant/01_GetTenant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/tenant/01_GetTenant.py -------------------------------------------------------------------------------- /tenant/02_CreateUpdateDeleteTenant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/tenant/02_CreateUpdateDeleteTenant.py -------------------------------------------------------------------------------- /tenant/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/api-samples/HEAD/tenant/readme.md --------------------------------------------------------------------------------