From 91e82bcb3bb0dd6be6eda27fdde3c6896aca7d91 Mon Sep 17 00:00:00 2001 From: ramanan-ravi Date: Thu, 26 Sep 2024 23:55:17 +0530 Subject: [PATCH] Update sdk to v2.3.1 --- openapi_config.yaml | 2 +- pyproject.toml | 2 +- threatmapper/api/authentication/auth_token.py | 8 +- threatmapper/api/authentication/login.py | 8 +- .../cloud_nodes/delete_cloud_node_account.py | 8 +- .../cloud_nodes/list_cloud_node_account.py | 12 +- .../cloud_nodes/refresh_cloud_node_account.py | 8 +- .../register_cloud_node_account.py | 28 +- .../count_results_cloud_compliance_scan.py | 40 +- .../list_cloud_compliance_scan.py | 44 +- .../results_cloud_compliance_scan.py | 40 +- .../status_cloud_compliance_scan.py | 12 +- .../api/completion/complete_cloud_account.py | 44 +- .../completion/complete_cloud_compliance.py | 44 +- .../completion/complete_cloud_resources.py | 44 +- .../completion/complete_compliance_info.py | 44 +- .../api/completion/complete_container_info.py | 44 +- .../api/completion/complete_host_info.py | 44 +- .../api/completion/complete_pod_info.py | 44 +- .../api/completion/complete_process_info.py | 44 +- .../completion/complete_vulnerability_info.py | 44 +- .../count_results_compliance_scan.py | 40 +- .../group_results_cloud_compliance.py | 40 +- .../compliance/group_results_compliance.py | 40 +- .../api/compliance/list_compliance_scan.py | 44 +- .../api/compliance/results_compliance_scan.py | 40 +- .../api/compliance/start_compliance_scan.py | 32 +- .../api/compliance/status_compliance_scan.py | 12 +- .../api/compliance/stop_compliance_scan.py | 12 +- .../api/controls/disable_agent_plugin.py | 12 +- .../controls/disable_cloud_node_controls.py | 12 +- .../api/controls/enable_agent_plugin.py | 12 +- .../controls/enable_cloud_node_controls.py | 12 +- .../api/controls/get_agent_controls.py | 12 +- .../api/controls/get_agent_init_controls.py | 12 +- .../api/controls/get_cloud_node_controls.py | 12 +- .../get_kubernetes_cluster_controls.py | 12 +- .../api/controls/upgrade_agent_version.py | 12 +- .../generate_agent_diagnostic_logs.py | 16 +- .../generate_cloud_scanner_diagnostic_logs.py | 16 +- .../generate_console_diagnostic_logs.py | 8 +- .../update_agent_diagnostic_logs_status.py | 12 +- .../api/diff_add/diff_add_cloud_compliance.py | 44 +- .../api/diff_add/diff_add_compliance.py | 44 +- threatmapper/api/diff_add/diff_add_malware.py | 44 +- threatmapper/api/diff_add/diff_add_secret.py | 44 +- .../api/diff_add/diff_add_vulnerability.py | 44 +- .../add_generative_ai_integration_bedrock.py | 16 +- .../add_generative_ai_integration_open_ai.py | 12 +- ...tive_ai_integration_cloud_posture_query.py | 20 +- ...ai_integration_kubernetes_posture_query.py | 16 +- ...tive_ai_integration_linux_posture_query.py | 16 +- ...generative_ai_integration_malware_query.py | 12 +- .../generative_ai_integration_secret_query.py | 12 +- ...tive_ai_integration_vulnerability_query.py | 16 +- .../api/integration/add_integration.py | 52 +- .../api/integration/delete_integrations.py | 8 +- .../api/integration/update_integration.py | 52 +- .../api/lookup/get_cloud_compliances.py | 16 +- .../api/lookup/get_cloud_resources.py | 16 +- .../api/lookup/get_compliance_controls.py | 16 +- threatmapper/api/lookup/get_compliances.py | 16 +- .../api/lookup/get_container_images.py | 16 +- threatmapper/api/lookup/get_containers.py | 16 +- threatmapper/api/lookup/get_hosts.py | 16 +- .../api/lookup/get_kubernetes_clusters.py | 16 +- threatmapper/api/lookup/get_malwares.py | 16 +- threatmapper/api/lookup/get_pods.py | 16 +- threatmapper/api/lookup/get_processes.py | 16 +- .../api/lookup/get_registry_account.py | 16 +- threatmapper/api/lookup/get_secrets.py | 16 +- .../api/lookup/get_vulnerabilities.py | 16 +- .../count_results_malware_scan.py | 40 +- .../api/malware_scan/list_malware_scan.py | 44 +- .../results_class_malware_scan.py | 40 +- .../api/malware_scan/results_malware_scan.py | 40 +- .../results_rules_malware_scan.py | 40 +- .../api/malware_scan/start_malware_scan.py | 32 +- .../api/malware_scan/status_malware_scan.py | 12 +- .../api/malware_scan/stop_malware_scan.py | 12 +- threatmapper/api/registry/add_registry.py | 12 +- .../api/registry/count_image_stubs.py | 40 +- threatmapper/api/registry/count_images.py | 72 +-- .../api/registry/delete_registry_bulk.py | 12 +- threatmapper/api/registry/list_image_stubs.py | 40 +- threatmapper/api/registry/list_images.py | 72 +-- threatmapper/api/registry/update_registry.py | 12 +- .../api/reports/bulk_delete_reports.py | 8 +- threatmapper/api/reports/generate_report.py | 44 +- .../api/scan_results/bulk_delete_scans.py | 40 +- .../api/scan_results/delete_scan_result.py | 16 +- .../get_all_nodes_in_scan_results.py | 12 +- .../api/scan_results/mask_scan_result.py | 12 +- .../api/scan_results/notify_scan_result.py | 16 +- .../api/scan_results/unmask_scan_result.py | 12 +- .../api/search/count_cloud_accounts.py | 120 +---- .../search/count_cloud_compliance_scans.py | 120 +---- .../api/search/count_cloud_compliances.py | 120 +---- .../api/search/count_cloud_resources.py | 120 +---- .../api/search/count_compliance_rules.py | 120 +---- .../api/search/count_compliance_scans.py | 120 +---- threatmapper/api/search/count_compliances.py | 120 +---- .../api/search/count_container_images.py | 120 +---- threatmapper/api/search/count_containers.py | 120 +---- threatmapper/api/search/count_hosts.py | 120 +---- .../api/search/count_kubernetes_clusters.py | 120 +---- .../api/search/count_malware_rules.py | 120 +---- .../api/search/count_malware_scans.py | 120 +---- threatmapper/api/search/count_malwares.py | 120 +---- threatmapper/api/search/count_pods.py | 120 +---- .../api/search/count_registry_accounts.py | 120 +---- threatmapper/api/search/count_secret_rules.py | 120 +---- threatmapper/api/search/count_secrets.py | 120 +---- .../api/search/count_secrets_scans.py | 120 +---- .../api/search/count_vulnerabilities.py | 120 +---- .../api/search/count_vulnerability_rules.py | 120 +---- .../api/search/count_vulnerability_scans.py | 120 +---- .../search/get_cloud_compliance_filters.py | 12 +- .../api/search/get_compliance_filters.py | 12 +- .../api/search/search_cloud_accounts.py | 120 +---- .../search/search_cloud_compliance_scans.py | 120 +---- .../api/search/search_cloud_compliances.py | 120 +---- .../api/search/search_cloud_resources.py | 120 +---- .../api/search/search_compliance_rules.py | 120 +---- .../api/search/search_compliance_scans.py | 120 +---- threatmapper/api/search/search_compliances.py | 120 +---- .../api/search/search_container_images.py | 120 +---- threatmapper/api/search/search_containers.py | 120 +---- threatmapper/api/search/search_hosts.py | 120 +---- .../api/search/search_kubernetes_clusters.py | 120 +---- .../api/search/search_malware_rules.py | 120 +---- .../api/search/search_malware_scans.py | 120 +---- threatmapper/api/search/search_malwares.py | 120 +---- threatmapper/api/search/search_pods.py | 120 +---- .../api/search/search_registry_accounts.py | 120 +---- .../api/search/search_secret_rules.py | 120 +---- threatmapper/api/search/search_secrets.py | 120 +---- .../api/search/search_secrets_scans.py | 120 +---- .../api/search/search_vulerability_rules.py | 120 +---- .../api/search/search_vulnerabilities.py | 120 +---- .../api/search/search_vulnerability_scans.py | 120 +---- .../secret_scan/count_results_secret_scan.py | 40 +- .../api/secret_scan/list_secret_scan.py | 44 +- .../secret_scan/results_rules_secret_scan.py | 40 +- .../api/secret_scan/results_secret_scan.py | 40 +- .../api/secret_scan/start_secret_scan.py | 32 +- .../api/secret_scan/status_secret_scan.py | 12 +- .../api/secret_scan/stop_secret_scan.py | 12 +- .../api/settings/add_email_configuration.py | 20 +- .../api/settings/add_scheduled_task.py | 40 +- threatmapper/api/settings/generate_license.py | 12 +- .../api/settings/get_user_audit_logs.py | 8 +- threatmapper/api/settings/register_license.py | 12 +- .../api/settings/test_unconfigured_email.py | 20 +- .../api/settings/update_scheduled_task.py | 8 +- threatmapper/api/settings/update_setting.py | 8 +- .../api/threat/get_individual_threat_graph.py | 16 +- threatmapper/api/threat/get_threat_graph.py | 20 +- .../topology/get_containers_topology_graph.py | 52 +- .../api/topology/get_hosts_topology_graph.py | 52 +- .../topology/get_kubernetes_topology_graph.py | 52 +- .../api/topology/get_pods_topology_graph.py | 52 +- .../api/topology/get_topology_delta.py | 16 +- .../api/topology/get_topology_graph.py | 52 +- .../api/topology/ingest_agent_report.py | 8 +- .../api/topology/ingest_sync_agent_report.py | 44 +- threatmapper/api/user/invite_user.py | 12 +- .../api/user/register_invited_user.py | 16 +- threatmapper/api/user/register_user.py | 16 +- .../api/user/reset_password_request.py | 8 +- threatmapper/api/user/update_current_user.py | 12 +- threatmapper/api/user/update_password.py | 12 +- threatmapper/api/user/update_user.py | 12 +- .../api/user/verify_reset_password_request.py | 12 +- .../count_results_vulnerability_scans.py | 40 +- .../api/vulnerability/download_sbom.py | 8 +- threatmapper/api/vulnerability/get_sbom.py | 8 +- threatmapper/api/vulnerability/ingest_sbom.py | 24 +- .../vulnerability/list_vulnerability_scans.py | 44 +- .../results_vulnerability_scans.py | 40 +- .../vulnerability/start_vulnerability_scan.py | 32 +- .../status_vulnerability_scan.py | 12 +- .../vulnerability/stop_vulnerability_scan.py | 12 +- threatmapper/models/__init__.py | 6 - .../models/api_docs_bad_request_response.py | 4 - .../models/api_docs_failure_response.py | 3 - .../completion_completion_node_field_req.py | 19 +- .../completion_completion_node_field_res.py | 3 - threatmapper/models/controls_action.py | 3 - threatmapper/models/controls_agent_beat.py | 3 - .../models/controls_agent_controls.py | 4 - .../models/detailed_connection_summary.py | 3 - threatmapper/models/detailed_node_summary.py | 60 +-- .../models/diagnosis_diagnostic_logs_link.py | 3 - .../diagnosis_diagnostic_logs_status.py | 3 - .../diagnosis_diagnostic_notification.py | 4 - ..._generate_agent_diagnostic_logs_request.py | 4 - ...e_cloud_scanner_diagnostic_logs_request.py | 4 - ...enerate_console_diagnostic_logs_request.py | 3 - .../diagnosis_get_diagnostic_logs_response.py | 7 - .../models/diagnosis_node_identifier.py | 3 - .../models/graph_cloud_provider_filter.py | 3 - .../models/graph_individual_threat_graph.py | 4 - .../graph_individual_threat_graph_request.py | 4 - threatmapper/models/graph_threat_filters.py | 11 +- threatmapper/models/graph_topology_filters.py | 19 +- .../models/ingesters_cloud_compliance.py | 7 - .../ingesters_cloud_compliance_scan_status.py | 10 +- .../models/ingesters_cloud_resource.py | 24 - threatmapper/models/ingesters_compliance.py | 7 - .../ingesters_compliance_scan_status.py | 3 - .../models/ingesters_compliance_stats.py | 3 - threatmapper/models/ingesters_malware.py | 13 +- .../models/ingesters_malware_scan_status.py | 4 - threatmapper/models/ingesters_meta_rules.py | 5 - .../models/ingesters_report_ingestion_data.py | 9 - threatmapper/models/ingesters_secret.py | 14 +- threatmapper/models/ingesters_secret_match.py | 4 - threatmapper/models/ingesters_secret_rule.py | 3 - .../models/ingesters_secret_scan_status.py | 3 - .../models/ingesters_secret_severity.py | 3 - .../models/ingesters_vulnerability.py | 9 - .../ingesters_vulnerability_scan_status.py | 3 - threatmapper/models/lookup_lookup_filter.py | 6 +- ...l_add_generative_ai_bedrock_integration.py | 4 - ...l_add_generative_ai_open_ai_integration.py | 3 - .../model_add_scheduled_task_request.py | 14 +- threatmapper/models/model_agent_id.py | 3 - .../models/model_agent_plugin_disable.py | 3 - .../models/model_agent_plugin_enable.py | 3 - threatmapper/models/model_agent_upgrade.py | 3 - threatmapper/models/model_api_auth_request.py | 3 - .../models/model_api_token_response.py | 4 - threatmapper/models/model_basic_node.py | 3 - .../models/model_bulk_delete_report_req.py | 3 - .../models/model_bulk_delete_scans_request.py | 16 +- .../models/model_cloud_account_delete_req.py | 3 - .../models/model_cloud_account_refresh_req.py | 3 - threatmapper/models/model_cloud_compliance.py | 8 - .../models/model_cloud_compliance_control.py | 7 - .../model_cloud_compliance_scan_result.py | 19 - .../models/model_cloud_node_account_info.py | 7 - .../model_cloud_node_account_register_req.py | 7 - .../model_cloud_node_accounts_list_req.py | 5 +- .../model_cloud_node_accounts_list_resp.py | 11 - .../model_cloud_node_compliance_control.py | 5 - .../models/model_cloud_node_control_req.py | 3 - .../models/model_cloud_node_control_resp.py | 9 - .../model_cloud_node_enable_disable_req.py | 3 - .../model_cloud_node_monitored_account.py | 3 - .../model_cloud_node_providers_list_resp.py | 6 - threatmapper/models/model_cloud_resource.py | 6 - threatmapper/models/model_compliance.py | 9 - threatmapper/models/model_compliance_rule.py | 5 - .../models/model_compliance_scan_info.py | 5 - .../models/model_compliance_scan_result.py | 20 - ...el_compliance_scan_result_control_group.py | 4 - ...odel_compliance_scan_results_group_resp.py | 4 - .../model_compliance_scan_status_resp.py | 9 - .../model_compliance_scan_trigger_req.py | 12 +- ...model_complinace_scan_results_group_req.py | 17 +- threatmapper/models/model_connection.py | 3 - threatmapper/models/model_container.py | 67 +-- threatmapper/models/model_container_image.py | 47 -- .../models/model_delete_integration_req.py | 3 - .../models/model_delete_registry_bulk_req.py | 3 - .../models/model_download_report_response.py | 3 - .../model_download_scan_results_response.py | 11 +- .../models/model_email_configuration_add.py | 5 - .../models/model_email_configuration_resp.py | 4 - threatmapper/models/model_export_report.py | 5 - threatmapper/models/model_fetch_window.py | 3 - threatmapper/models/model_filters_req.py | 3 - threatmapper/models/model_filters_result.py | 3 - .../models/model_generate_license_request.py | 4 - .../models/model_generate_license_response.py | 3 - .../models/model_generate_report_req.py | 20 +- .../models/model_generate_report_resp.py | 3 - ...ve_ai_integration_cloud_posture_request.py | 5 - ..._integration_kubernetes_posture_request.py | 4 - ...ve_ai_integration_linux_posture_request.py | 4 - ...generative_ai_integration_list_response.py | 4 - ...nerative_ai_integration_malware_request.py | 3 - ...enerative_ai_integration_secret_request.py | 3 - ...ve_ai_integration_vulnerability_request.py | 4 - ..._get_agent_binary_download_url_response.py | 5 - .../models/model_get_audit_logs_request.py | 5 +- threatmapper/models/model_graph_result.py | 52 +- .../models/model_graph_result_edges.py | 56 -- .../models/model_graph_result_nodes.py | 56 -- threatmapper/models/model_host.py | 244 --------- threatmapper/models/model_image_stub.py | 3 - threatmapper/models/model_init_agent_req.py | 3 - .../models/model_integration_add_req.py | 20 +- .../models/model_integration_filters.py | 18 +- .../models/model_integration_list_resp.py | 20 +- .../models/model_integration_update_req.py | 20 +- .../models/model_invite_user_request.py | 3 - .../models/model_invite_user_response.py | 3 - .../models/model_kubernetes_cluster.py | 487 ------------------ threatmapper/models/model_license.py | 11 +- .../models/model_list_agent_version_resp.py | 3 - threatmapper/models/model_login_request.py | 3 - threatmapper/models/model_login_response.py | 5 - threatmapper/models/model_malware.py | 8 - threatmapper/models/model_malware_rule.py | 5 - .../models/model_malware_scan_result.py | 18 - .../models/model_malware_scan_result_class.py | 3 - .../models/model_malware_scan_result_rules.py | 3 - .../models/model_malware_scan_trigger_req.py | 12 +- threatmapper/models/model_message_response.py | 3 - threatmapper/models/model_node_identifier.py | 3 - .../model_nodes_in_scan_result_request.py | 3 - .../models/model_password_reset_request.py | 3 - .../model_password_reset_verify_request.py | 3 - threatmapper/models/model_pod.py | 49 -- threatmapper/models/model_posture_provider.py | 4 - threatmapper/models/model_process.py | 5 - .../model_register_invited_user_request.py | 4 - .../models/model_register_license_request.py | 3 - .../models/model_register_license_response.py | 3 - threatmapper/models/model_registry_account.py | 94 ---- threatmapper/models/model_registry_add_req.py | 4 - .../models/model_registry_count_resp.py | 3 - .../models/model_registry_credentials.py | 3 - .../models/model_registry_image_stubs_req.py | 19 +- .../models/model_registry_images_req.py | 33 +- .../models/model_registry_list_resp.py | 4 - .../models/model_registry_update_req.py | 4 - .../models/model_response_access_token.py | 3 - threatmapper/models/model_sbom_request.py | 3 - threatmapper/models/model_sbom_response.py | 4 - threatmapper/models/model_scan_compare_req.py | 19 +- ...deepfence_server_model_cloud_compliance.py | 14 - ...apper_deepfence_server_model_compliance.py | 16 - ...t_mapper_deepfence_server_model_malware.py | 14 - ...at_mapper_deepfence_server_model_secret.py | 10 - ...er_deepfence_server_model_vulnerability.py | 19 - threatmapper/models/model_scan_filter.py | 15 +- threatmapper/models/model_scan_info.py | 4 - threatmapper/models/model_scan_list_req.py | 20 +- threatmapper/models/model_scan_list_resp.py | 7 - .../model_scan_report_fields_response.py | 4 - .../models/model_scan_result_basic_node.py | 5 - .../model_scan_results_action_request.py | 4 - .../models/model_scan_results_common.py | 6 - .../models/model_scan_results_mask_request.py | 4 - threatmapper/models/model_scan_results_req.py | 19 +- threatmapper/models/model_scan_status_req.py | 3 - threatmapper/models/model_scan_status_resp.py | 5 - .../models/model_scan_trigger_resp.py | 3 - threatmapper/models/model_secret.py | 6 - threatmapper/models/model_secret_rule.py | 4 - .../models/model_secret_scan_result.py | 14 - .../models/model_secret_scan_result_rules.py | 3 - .../models/model_secret_scan_trigger_req.py | 12 +- .../models/model_stop_scan_request.py | 3 - threatmapper/models/model_summary.py | 3 - .../models/model_topology_delta_req.py | 4 - .../models/model_topology_delta_response.py | 5 - .../model_update_scheduled_task_request.py | 3 - .../models/model_update_user_id_request.py | 3 - .../model_update_user_password_request.py | 3 - .../models/model_update_user_request.py | 3 - threatmapper/models/model_user.py | 5 - .../models/model_user_register_request.py | 4 - threatmapper/models/model_vulnerability.py | 10 - .../models/model_vulnerability_rule.py | 8 - ...odel_vulnerability_scan_config_language.py | 3 - .../models/model_vulnerability_scan_result.py | 22 - .../model_vulnerability_scan_trigger_req.py | 13 +- .../postgresql_db_get_audit_logs_row.py | 5 - .../models/postgresql_db_scheduler.py | 19 +- .../postgresql_db_scheduler_last_ran_at.py | 43 -- threatmapper/models/report_metadata.py | 30 -- threatmapper/models/report_raw_report.py | 3 - .../models/reporters_compare_filter.py | 3 - .../models/reporters_contains_filter.py | 3 - .../models/reporters_fields_filters.py | 21 +- threatmapper/models/reporters_match_filter.py | 3 - threatmapper/models/reporters_order_filter.py | 4 - threatmapper/models/reporters_order_spec.py | 3 - .../models/search_chained_search_filter.py | 28 +- threatmapper/models/search_node_count_resp.py | 4 - threatmapper/models/search_result_group.py | 3 - .../models/search_result_group_resp.py | 4 - .../models/search_search_count_resp.py | 3 - threatmapper/models/search_search_filter.py | 19 +- threatmapper/models/search_search_node_req.py | 53 +- threatmapper/models/search_search_scan_req.py | 53 +- .../models/setting_setting_update_request.py | 3 - .../models/setting_settings_response.py | 3 - .../models/utils_advanced_report_filters.py | 6 - threatmapper/models/utils_report_filters.py | 14 +- threatmapper/models/utils_report_options.py | 3 - .../models/utils_scan_sbom_request.py | 6 - 396 files changed, 808 insertions(+), 10675 deletions(-) delete mode 100644 threatmapper/models/model_graph_result_edges.py delete mode 100644 threatmapper/models/model_graph_result_nodes.py delete mode 100644 threatmapper/models/postgresql_db_scheduler_last_ran_at.py diff --git a/openapi_config.yaml b/openapi_config.yaml index 14aae07..7073cc7 100644 --- a/openapi_config.yaml +++ b/openapi_config.yaml @@ -1,3 +1,3 @@ package_name_override: "threatmapper" project_name_override: "threatmapper" -package_version_override: "2.3.0" +package_version_override: "2.3.1" diff --git a/pyproject.toml b/pyproject.toml index 07648ac..9545fd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "threatmapper" -version = "2.3.0" +version = "2.3.1" description = "A client library for accessing Deepfence ThreatMapper" authors = [] readme = "README.md" diff --git a/threatmapper/api/authentication/auth_token.py b/threatmapper/api/authentication/auth_token.py index ff699fa..92c549e 100644 --- a/threatmapper/api/authentication/auth_token.py +++ b/threatmapper/api/authentication/auth_token.py @@ -84,7 +84,7 @@ def sync_detailed( Get access token for programmatic API access, by providing API Token Args: - body (ModelAPIAuthRequest): Example: {'api_token': 'api_token'}. + body (ModelAPIAuthRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,7 +115,7 @@ def sync( Get access token for programmatic API access, by providing API Token Args: - body (ModelAPIAuthRequest): Example: {'api_token': 'api_token'}. + body (ModelAPIAuthRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,7 +141,7 @@ async def asyncio_detailed( Get access token for programmatic API access, by providing API Token Args: - body (ModelAPIAuthRequest): Example: {'api_token': 'api_token'}. + body (ModelAPIAuthRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -170,7 +170,7 @@ async def asyncio( Get access token for programmatic API access, by providing API Token Args: - body (ModelAPIAuthRequest): Example: {'api_token': 'api_token'}. + body (ModelAPIAuthRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/authentication/login.py b/threatmapper/api/authentication/login.py index b1da43d..0c43e85 100644 --- a/threatmapper/api/authentication/login.py +++ b/threatmapper/api/authentication/login.py @@ -84,7 +84,7 @@ def sync_detailed( Login API Args: - body (ModelLoginRequest): Example: {'password': 'password', 'email': 'email'}. + body (ModelLoginRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,7 +115,7 @@ def sync( Login API Args: - body (ModelLoginRequest): Example: {'password': 'password', 'email': 'email'}. + body (ModelLoginRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,7 +141,7 @@ async def asyncio_detailed( Login API Args: - body (ModelLoginRequest): Example: {'password': 'password', 'email': 'email'}. + body (ModelLoginRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -170,7 +170,7 @@ async def asyncio( Login API Args: - body (ModelLoginRequest): Example: {'password': 'password', 'email': 'email'}. + body (ModelLoginRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_nodes/delete_cloud_node_account.py b/threatmapper/api/cloud_nodes/delete_cloud_node_account.py index dde956c..675d765 100644 --- a/threatmapper/api/cloud_nodes/delete_cloud_node_account.py +++ b/threatmapper/api/cloud_nodes/delete_cloud_node_account.py @@ -82,7 +82,7 @@ def sync_detailed( Delete Cloud Node Account and related resources Args: - body (ModelCloudAccountDeleteReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountDeleteReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,7 +113,7 @@ def sync( Delete Cloud Node Account and related resources Args: - body (ModelCloudAccountDeleteReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountDeleteReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -139,7 +139,7 @@ async def asyncio_detailed( Delete Cloud Node Account and related resources Args: - body (ModelCloudAccountDeleteReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountDeleteReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +168,7 @@ async def asyncio( Delete Cloud Node Account and related resources Args: - body (ModelCloudAccountDeleteReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountDeleteReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_nodes/list_cloud_node_account.py b/threatmapper/api/cloud_nodes/list_cloud_node_account.py index c589deb..ad3bcdf 100644 --- a/threatmapper/api/cloud_nodes/list_cloud_node_account.py +++ b/threatmapper/api/cloud_nodes/list_cloud_node_account.py @@ -84,8 +84,7 @@ def sync_detailed( List Cloud Node Accounts registered with the console Args: - body (ModelCloudNodeAccountsListReq): Example: {'cloud_provider': 'aws', 'window': - {'offset': 0, 'size': 6}}. + body (ModelCloudNodeAccountsListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( List Cloud Node Accounts registered with the console Args: - body (ModelCloudNodeAccountsListReq): Example: {'cloud_provider': 'aws', 'window': - {'offset': 0, 'size': 6}}. + body (ModelCloudNodeAccountsListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( List Cloud Node Accounts registered with the console Args: - body (ModelCloudNodeAccountsListReq): Example: {'cloud_provider': 'aws', 'window': - {'offset': 0, 'size': 6}}. + body (ModelCloudNodeAccountsListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( List Cloud Node Accounts registered with the console Args: - body (ModelCloudNodeAccountsListReq): Example: {'cloud_provider': 'aws', 'window': - {'offset': 0, 'size': 6}}. + body (ModelCloudNodeAccountsListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_nodes/refresh_cloud_node_account.py b/threatmapper/api/cloud_nodes/refresh_cloud_node_account.py index 08dcc23..668ea99 100644 --- a/threatmapper/api/cloud_nodes/refresh_cloud_node_account.py +++ b/threatmapper/api/cloud_nodes/refresh_cloud_node_account.py @@ -82,7 +82,7 @@ def sync_detailed( Refresh the cloud resources in a Cloud Account Args: - body (ModelCloudAccountRefreshReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountRefreshReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,7 +113,7 @@ def sync( Refresh the cloud resources in a Cloud Account Args: - body (ModelCloudAccountRefreshReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountRefreshReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -139,7 +139,7 @@ async def asyncio_detailed( Refresh the cloud resources in a Cloud Account Args: - body (ModelCloudAccountRefreshReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountRefreshReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +168,7 @@ async def asyncio( Refresh the cloud resources in a Cloud Account Args: - body (ModelCloudAccountRefreshReq): Example: {'node_ids': ['node_ids', 'node_ids']}. + body (ModelCloudAccountRefreshReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_nodes/register_cloud_node_account.py b/threatmapper/api/cloud_nodes/register_cloud_node_account.py index 2e70109..4485651 100644 --- a/threatmapper/api/cloud_nodes/register_cloud_node_account.py +++ b/threatmapper/api/cloud_nodes/register_cloud_node_account.py @@ -82,12 +82,7 @@ def sync_detailed( Register Cloud Account Args: - body (ModelCloudNodeAccountRegisterReq): Example: {'account_id': 'account_id', - 'monitored_accounts': [{'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}, {'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}], 'account_name': 'account_name', 'is_organization_deployment': - True, 'cloud_provider': 'aws', 'organization_account_id': 'organization_account_id', - 'host_node_id': 'host_node_id', 'version': 'version', 'node_id': 'node_id'}. + body (ModelCloudNodeAccountRegisterReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,12 +113,7 @@ def sync( Register Cloud Account Args: - body (ModelCloudNodeAccountRegisterReq): Example: {'account_id': 'account_id', - 'monitored_accounts': [{'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}, {'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}], 'account_name': 'account_name', 'is_organization_deployment': - True, 'cloud_provider': 'aws', 'organization_account_id': 'organization_account_id', - 'host_node_id': 'host_node_id', 'version': 'version', 'node_id': 'node_id'}. + body (ModelCloudNodeAccountRegisterReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -149,12 +139,7 @@ async def asyncio_detailed( Register Cloud Account Args: - body (ModelCloudNodeAccountRegisterReq): Example: {'account_id': 'account_id', - 'monitored_accounts': [{'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}, {'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}], 'account_name': 'account_name', 'is_organization_deployment': - True, 'cloud_provider': 'aws', 'organization_account_id': 'organization_account_id', - 'host_node_id': 'host_node_id', 'version': 'version', 'node_id': 'node_id'}. + body (ModelCloudNodeAccountRegisterReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -183,12 +168,7 @@ async def asyncio( Register Cloud Account Args: - body (ModelCloudNodeAccountRegisterReq): Example: {'account_id': 'account_id', - 'monitored_accounts': [{'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}, {'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}], 'account_name': 'account_name', 'is_organization_deployment': - True, 'cloud_provider': 'aws', 'organization_account_id': 'organization_account_id', - 'host_node_id': 'host_node_id', 'version': 'version', 'node_id': 'node_id'}. + body (ModelCloudNodeAccountRegisterReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_scanner/count_results_cloud_compliance_scan.py b/threatmapper/api/cloud_scanner/count_results_cloud_compliance_scan.py index 5288ec0..edb71e0 100644 --- a/threatmapper/api/cloud_scanner/count_results_cloud_compliance_scan.py +++ b/threatmapper/api/cloud_scanner/count_results_cloud_compliance_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_scanner/list_cloud_compliance_scan.py b/threatmapper/api/cloud_scanner/list_cloud_compliance_scan.py index 08e327c..3cc72a4 100644 --- a/threatmapper/api/cloud_scanner/list_cloud_compliance_scan.py +++ b/threatmapper/api/cloud_scanner/list_cloud_compliance_scan.py @@ -84,16 +84,7 @@ def sync_detailed( Get Cloud Compliance Scans list for cloud node Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Get Cloud Compliance Scans list for cloud node Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Get Cloud Compliance Scans list for cloud node Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Get Cloud Compliance Scans list for cloud node Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_scanner/results_cloud_compliance_scan.py b/threatmapper/api/cloud_scanner/results_cloud_compliance_scan.py index 274ccf2..f1ec175 100644 --- a/threatmapper/api/cloud_scanner/results_cloud_compliance_scan.py +++ b/threatmapper/api/cloud_scanner/results_cloud_compliance_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Cloud Compliance Scan results for cloud node Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/cloud_scanner/status_cloud_compliance_scan.py b/threatmapper/api/cloud_scanner/status_cloud_compliance_scan.py index e79563d..c65f424 100644 --- a/threatmapper/api/cloud_scanner/status_cloud_compliance_scan.py +++ b/threatmapper/api/cloud_scanner/status_cloud_compliance_scan.py @@ -84,8 +84,7 @@ def sync_detailed( Get Cloud Compliance Scan Status on cloud node Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get Cloud Compliance Scan Status on cloud node Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get Cloud Compliance Scan Status on cloud node Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get Cloud Compliance Scan Status on cloud node Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_cloud_account.py b/threatmapper/api/completion/complete_cloud_account.py index 595d3f8..9604398 100644 --- a/threatmapper/api/completion/complete_cloud_account.py +++ b/threatmapper/api/completion/complete_cloud_account.py @@ -84,16 +84,7 @@ def sync_detailed( Complete cloud account info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete cloud account info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete cloud account info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete cloud account info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_cloud_compliance.py b/threatmapper/api/completion/complete_cloud_compliance.py index b16c8c4..1ea9e6c 100644 --- a/threatmapper/api/completion/complete_cloud_compliance.py +++ b/threatmapper/api/completion/complete_cloud_compliance.py @@ -84,16 +84,7 @@ def sync_detailed( Complete cloud compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete cloud compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete cloud compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete cloud compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_cloud_resources.py b/threatmapper/api/completion/complete_cloud_resources.py index b7fce5e..d58414c 100644 --- a/threatmapper/api/completion/complete_cloud_resources.py +++ b/threatmapper/api/completion/complete_cloud_resources.py @@ -84,16 +84,7 @@ def sync_detailed( Complete cloud resources info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete cloud resources info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete cloud resources info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete cloud resources info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_compliance_info.py b/threatmapper/api/completion/complete_compliance_info.py index 70fec6d..6e95d02 100644 --- a/threatmapper/api/completion/complete_compliance_info.py +++ b/threatmapper/api/completion/complete_compliance_info.py @@ -84,16 +84,7 @@ def sync_detailed( Complete compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete compliance info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_container_info.py b/threatmapper/api/completion/complete_container_info.py index 0e39281..ae90475 100644 --- a/threatmapper/api/completion/complete_container_info.py +++ b/threatmapper/api/completion/complete_container_info.py @@ -84,16 +84,7 @@ def sync_detailed( Complete Container info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete Container info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete Container info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete Container info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_host_info.py b/threatmapper/api/completion/complete_host_info.py index dca03fc..2b71222 100644 --- a/threatmapper/api/completion/complete_host_info.py +++ b/threatmapper/api/completion/complete_host_info.py @@ -84,16 +84,7 @@ def sync_detailed( Complete host info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete host info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete host info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete host info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_pod_info.py b/threatmapper/api/completion/complete_pod_info.py index 1f3ed66..4382158 100644 --- a/threatmapper/api/completion/complete_pod_info.py +++ b/threatmapper/api/completion/complete_pod_info.py @@ -84,16 +84,7 @@ def sync_detailed( Complete Pod info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete Pod info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete Pod info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete Pod info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_process_info.py b/threatmapper/api/completion/complete_process_info.py index e50b37a..46a036d 100644 --- a/threatmapper/api/completion/complete_process_info.py +++ b/threatmapper/api/completion/complete_process_info.py @@ -84,16 +84,7 @@ def sync_detailed( Complete process info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete process info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete process info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete process info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/completion/complete_vulnerability_info.py b/threatmapper/api/completion/complete_vulnerability_info.py index dd2c826..f7a16de 100644 --- a/threatmapper/api/completion/complete_vulnerability_info.py +++ b/threatmapper/api/completion/complete_vulnerability_info.py @@ -84,16 +84,7 @@ def sync_detailed( Complete vulnerability info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Complete vulnerability info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Complete vulnerability info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Complete vulnerability info Args: - body (CompletionCompletionNodeFieldReq): Example: {'completion': 'completion', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': - 'field_name'}. + body (CompletionCompletionNodeFieldReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/count_results_compliance_scan.py b/threatmapper/api/compliance/count_results_compliance_scan.py index ad160eb..0bd90d8 100644 --- a/threatmapper/api/compliance/count_results_compliance_scan.py +++ b/threatmapper/api/compliance/count_results_compliance_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/group_results_cloud_compliance.py b/threatmapper/api/compliance/group_results_cloud_compliance.py index ee3f27f..3e6f52a 100644 --- a/threatmapper/api/compliance/group_results_cloud_compliance.py +++ b/threatmapper/api/compliance/group_results_cloud_compliance.py @@ -84,15 +84,7 @@ def sync_detailed( Count Cloud Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Count Cloud Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Count Cloud Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Count Cloud Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/group_results_compliance.py b/threatmapper/api/compliance/group_results_compliance.py index 46fadf9..eeea5e3 100644 --- a/threatmapper/api/compliance/group_results_compliance.py +++ b/threatmapper/api/compliance/group_results_compliance.py @@ -84,15 +84,7 @@ def sync_detailed( Count Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Count Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Count Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Count Compliance Results grouped by Control ID Args: - body (ModelComplinaceScanResultsGroupReq): Example: {'scan_id': 'scan_id', - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelComplinaceScanResultsGroupReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/list_compliance_scan.py b/threatmapper/api/compliance/list_compliance_scan.py index 1d04c0d..02a40cc 100644 --- a/threatmapper/api/compliance/list_compliance_scan.py +++ b/threatmapper/api/compliance/list_compliance_scan.py @@ -84,16 +84,7 @@ def sync_detailed( Get Compliance Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Get Compliance Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Get Compliance Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Get Compliance Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/results_compliance_scan.py b/threatmapper/api/compliance/results_compliance_scan.py index 5cde971..82045e1 100644 --- a/threatmapper/api/compliance/results_compliance_scan.py +++ b/threatmapper/api/compliance/results_compliance_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Compliance Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/start_compliance_scan.py b/threatmapper/api/compliance/start_compliance_scan.py index 370e2b8..0c3ff5e 100644 --- a/threatmapper/api/compliance/start_compliance_scan.py +++ b/threatmapper/api/compliance/start_compliance_scan.py @@ -84,13 +84,7 @@ def sync_detailed( Start Compliance Scan on agent or registry Args: - body (ModelComplianceScanTriggerReq): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'deepfence_system_scan': True, 'filters': {'container_scan_filter': - {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', - '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelComplianceScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,13 +115,7 @@ def sync( Start Compliance Scan on agent or registry Args: - body (ModelComplianceScanTriggerReq): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'deepfence_system_scan': True, 'filters': {'container_scan_filter': - {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', - '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelComplianceScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -153,13 +141,7 @@ async def asyncio_detailed( Start Compliance Scan on agent or registry Args: - body (ModelComplianceScanTriggerReq): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'deepfence_system_scan': True, 'filters': {'container_scan_filter': - {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', - '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelComplianceScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -188,13 +170,7 @@ async def asyncio( Start Compliance Scan on agent or registry Args: - body (ModelComplianceScanTriggerReq): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'deepfence_system_scan': True, 'filters': {'container_scan_filter': - {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', - '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelComplianceScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/status_compliance_scan.py b/threatmapper/api/compliance/status_compliance_scan.py index 00b91ec..bab4fb3 100644 --- a/threatmapper/api/compliance/status_compliance_scan.py +++ b/threatmapper/api/compliance/status_compliance_scan.py @@ -84,8 +84,7 @@ def sync_detailed( Get Compliance Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get Compliance Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get Compliance Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get Compliance Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/compliance/stop_compliance_scan.py b/threatmapper/api/compliance/stop_compliance_scan.py index 22d7b28..1e15b5a 100644 --- a/threatmapper/api/compliance/stop_compliance_scan.py +++ b/threatmapper/api/compliance/stop_compliance_scan.py @@ -82,8 +82,7 @@ def sync_detailed( Stop Compliance Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Stop Compliance Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Stop Compliance Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Stop Compliance Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/disable_agent_plugin.py b/threatmapper/api/controls/disable_agent_plugin.py index af49e41..d1c0c08 100644 --- a/threatmapper/api/controls/disable_agent_plugin.py +++ b/threatmapper/api/controls/disable_agent_plugin.py @@ -82,8 +82,7 @@ def sync_detailed( Schedule agent plugin disable Args: - body (ModelAgentPluginDisable): Example: {'plugin_name': 'plugin_name', 'node_id': - 'node_id'}. + body (ModelAgentPluginDisable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Schedule agent plugin disable Args: - body (ModelAgentPluginDisable): Example: {'plugin_name': 'plugin_name', 'node_id': - 'node_id'}. + body (ModelAgentPluginDisable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Schedule agent plugin disable Args: - body (ModelAgentPluginDisable): Example: {'plugin_name': 'plugin_name', 'node_id': - 'node_id'}. + body (ModelAgentPluginDisable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Schedule agent plugin disable Args: - body (ModelAgentPluginDisable): Example: {'plugin_name': 'plugin_name', 'node_id': - 'node_id'}. + body (ModelAgentPluginDisable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/disable_cloud_node_controls.py b/threatmapper/api/controls/disable_cloud_node_controls.py index d215909..d8f9dea 100644 --- a/threatmapper/api/controls/disable_cloud_node_controls.py +++ b/threatmapper/api/controls/disable_cloud_node_controls.py @@ -82,8 +82,7 @@ def sync_detailed( Disable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Disable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Disable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Disable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/enable_agent_plugin.py b/threatmapper/api/controls/enable_agent_plugin.py index 73fca49..e3b3781 100644 --- a/threatmapper/api/controls/enable_agent_plugin.py +++ b/threatmapper/api/controls/enable_agent_plugin.py @@ -82,8 +82,7 @@ def sync_detailed( Schedule agent plugin enable Args: - body (ModelAgentPluginEnable): Example: {'plugin_name': 'plugin_name', 'version': - 'version', 'node_id': 'node_id'}. + body (ModelAgentPluginEnable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Schedule agent plugin enable Args: - body (ModelAgentPluginEnable): Example: {'plugin_name': 'plugin_name', 'version': - 'version', 'node_id': 'node_id'}. + body (ModelAgentPluginEnable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Schedule agent plugin enable Args: - body (ModelAgentPluginEnable): Example: {'plugin_name': 'plugin_name', 'version': - 'version', 'node_id': 'node_id'}. + body (ModelAgentPluginEnable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Schedule agent plugin enable Args: - body (ModelAgentPluginEnable): Example: {'plugin_name': 'plugin_name', 'version': - 'version', 'node_id': 'node_id'}. + body (ModelAgentPluginEnable): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/enable_cloud_node_controls.py b/threatmapper/api/controls/enable_cloud_node_controls.py index 35d0bfb..ca14932 100644 --- a/threatmapper/api/controls/enable_cloud_node_controls.py +++ b/threatmapper/api/controls/enable_cloud_node_controls.py @@ -82,8 +82,7 @@ def sync_detailed( Enable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Enable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Enable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Enable controls for a cloud node Args: - body (ModelCloudNodeEnableDisableReq): Example: {'control_ids': ['control_ids', - 'control_ids'], 'node_id': 'node_id'}. + body (ModelCloudNodeEnableDisableReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/get_agent_controls.py b/threatmapper/api/controls/get_agent_controls.py index 1bde238..0b4ebb4 100644 --- a/threatmapper/api/controls/get_agent_controls.py +++ b/threatmapper/api/controls/get_agent_controls.py @@ -84,8 +84,7 @@ def sync_detailed( Fetch actions for a given agent Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Fetch actions for a given agent Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Fetch actions for a given agent Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Fetch actions for a given agent Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/get_agent_init_controls.py b/threatmapper/api/controls/get_agent_init_controls.py index 87db626..2c5ba88 100644 --- a/threatmapper/api/controls/get_agent_init_controls.py +++ b/threatmapper/api/controls/get_agent_init_controls.py @@ -84,8 +84,7 @@ def sync_detailed( Fetch initial actions for a given agent after it started Args: - body (ModelInitAgentReq): Example: {'node_type': 'node_type', 'available_workload': 0, - 'version': 'version', 'node_id': 'node_id'}. + body (ModelInitAgentReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Fetch initial actions for a given agent after it started Args: - body (ModelInitAgentReq): Example: {'node_type': 'node_type', 'available_workload': 0, - 'version': 'version', 'node_id': 'node_id'}. + body (ModelInitAgentReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Fetch initial actions for a given agent after it started Args: - body (ModelInitAgentReq): Example: {'node_type': 'node_type', 'available_workload': 0, - 'version': 'version', 'node_id': 'node_id'}. + body (ModelInitAgentReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Fetch initial actions for a given agent after it started Args: - body (ModelInitAgentReq): Example: {'node_type': 'node_type', 'available_workload': 0, - 'version': 'version', 'node_id': 'node_id'}. + body (ModelInitAgentReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/get_cloud_node_controls.py b/threatmapper/api/controls/get_cloud_node_controls.py index a984638..b1fb008 100644 --- a/threatmapper/api/controls/get_cloud_node_controls.py +++ b/threatmapper/api/controls/get_cloud_node_controls.py @@ -84,8 +84,7 @@ def sync_detailed( Fetch controls for a cloud node Args: - body (ModelCloudNodeControlReq): Example: {'cloud_provider': 'aws', 'compliance_type': - 'hipaa', 'node_id': 'node_id'}. + body (ModelCloudNodeControlReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Fetch controls for a cloud node Args: - body (ModelCloudNodeControlReq): Example: {'cloud_provider': 'aws', 'compliance_type': - 'hipaa', 'node_id': 'node_id'}. + body (ModelCloudNodeControlReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Fetch controls for a cloud node Args: - body (ModelCloudNodeControlReq): Example: {'cloud_provider': 'aws', 'compliance_type': - 'hipaa', 'node_id': 'node_id'}. + body (ModelCloudNodeControlReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Fetch controls for a cloud node Args: - body (ModelCloudNodeControlReq): Example: {'cloud_provider': 'aws', 'compliance_type': - 'hipaa', 'node_id': 'node_id'}. + body (ModelCloudNodeControlReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/get_kubernetes_cluster_controls.py b/threatmapper/api/controls/get_kubernetes_cluster_controls.py index 6641221..310a8a1 100644 --- a/threatmapper/api/controls/get_kubernetes_cluster_controls.py +++ b/threatmapper/api/controls/get_kubernetes_cluster_controls.py @@ -84,8 +84,7 @@ def sync_detailed( Fetch actions for a given Kubernetes Cluster Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Fetch actions for a given Kubernetes Cluster Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Fetch actions for a given Kubernetes Cluster Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Fetch actions for a given Kubernetes Cluster Args: - body (ModelAgentID): Example: {'node_type': 'node_type', 'available_workload': 0, - 'node_id': 'node_id'}. + body (ModelAgentID): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/controls/upgrade_agent_version.py b/threatmapper/api/controls/upgrade_agent_version.py index 829b197..1620f31 100644 --- a/threatmapper/api/controls/upgrade_agent_version.py +++ b/threatmapper/api/controls/upgrade_agent_version.py @@ -82,8 +82,7 @@ def sync_detailed( Schedule new agent version upgrade Args: - body (ModelAgentUpgrade): Example: {'version': 'version', 'node_ids': ['node_ids', - 'node_ids']}. + body (ModelAgentUpgrade): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Schedule new agent version upgrade Args: - body (ModelAgentUpgrade): Example: {'version': 'version', 'node_ids': ['node_ids', - 'node_ids']}. + body (ModelAgentUpgrade): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Schedule new agent version upgrade Args: - body (ModelAgentUpgrade): Example: {'version': 'version', 'node_ids': ['node_ids', - 'node_ids']}. + body (ModelAgentUpgrade): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Schedule new agent version upgrade Args: - body (ModelAgentUpgrade): Example: {'version': 'version', 'node_ids': ['node_ids', - 'node_ids']}. + body (ModelAgentUpgrade): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diagnosis/generate_agent_diagnostic_logs.py b/threatmapper/api/diagnosis/generate_agent_diagnostic_logs.py index a0bd22b..642db95 100644 --- a/threatmapper/api/diagnosis/generate_agent_diagnostic_logs.py +++ b/threatmapper/api/diagnosis/generate_agent_diagnostic_logs.py @@ -82,9 +82,7 @@ def sync_detailed( Generate Agent Diagnostic Logs Args: - body (DiagnosisGenerateAgentDiagnosticLogsRequest): Example: {'tail': 0, 'node_ids': - [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateAgentDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,9 +113,7 @@ def sync( Generate Agent Diagnostic Logs Args: - body (DiagnosisGenerateAgentDiagnosticLogsRequest): Example: {'tail': 0, 'node_ids': - [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateAgentDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,9 +139,7 @@ async def asyncio_detailed( Generate Agent Diagnostic Logs Args: - body (DiagnosisGenerateAgentDiagnosticLogsRequest): Example: {'tail': 0, 'node_ids': - [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateAgentDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -174,9 +168,7 @@ async def asyncio( Generate Agent Diagnostic Logs Args: - body (DiagnosisGenerateAgentDiagnosticLogsRequest): Example: {'tail': 0, 'node_ids': - [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateAgentDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diagnosis/generate_cloud_scanner_diagnostic_logs.py b/threatmapper/api/diagnosis/generate_cloud_scanner_diagnostic_logs.py index c21a41d..00c029d 100644 --- a/threatmapper/api/diagnosis/generate_cloud_scanner_diagnostic_logs.py +++ b/threatmapper/api/diagnosis/generate_cloud_scanner_diagnostic_logs.py @@ -84,9 +84,7 @@ def sync_detailed( Generate Cloud Scanner Diagnostic Logs Args: - body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Example: {'tail': 0, - 'node_ids': [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Generate Cloud Scanner Diagnostic Logs Args: - body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Example: {'tail': 0, - 'node_ids': [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Generate Cloud Scanner Diagnostic Logs Args: - body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Example: {'tail': 0, - 'node_ids': [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Generate Cloud Scanner Diagnostic Logs Args: - body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Example: {'tail': 0, - 'node_ids': [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]}. + body (DiagnosisGenerateCloudScannerDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diagnosis/generate_console_diagnostic_logs.py b/threatmapper/api/diagnosis/generate_console_diagnostic_logs.py index a6baf55..95ab96e 100644 --- a/threatmapper/api/diagnosis/generate_console_diagnostic_logs.py +++ b/threatmapper/api/diagnosis/generate_console_diagnostic_logs.py @@ -82,7 +82,7 @@ def sync_detailed( Generate Console Diagnostic Logs Args: - body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Example: {'tail': 0}. + body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,7 +113,7 @@ def sync( Generate Console Diagnostic Logs Args: - body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Example: {'tail': 0}. + body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -139,7 +139,7 @@ async def asyncio_detailed( Generate Console Diagnostic Logs Args: - body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Example: {'tail': 0}. + body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +168,7 @@ async def asyncio( Generate Console Diagnostic Logs Args: - body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Example: {'tail': 0}. + body (DiagnosisGenerateConsoleDiagnosticLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diagnosis/update_agent_diagnostic_logs_status.py b/threatmapper/api/diagnosis/update_agent_diagnostic_logs_status.py index 99bfeca..fa16cb8 100644 --- a/threatmapper/api/diagnosis/update_agent_diagnostic_logs_status.py +++ b/threatmapper/api/diagnosis/update_agent_diagnostic_logs_status.py @@ -85,8 +85,7 @@ def sync_detailed( Args: node_id (str): - body (DiagnosisDiagnosticLogsStatus): Example: {'message': 'message', 'status': - 'status'}. + body (DiagnosisDiagnosticLogsStatus): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,8 +119,7 @@ def sync( Args: node_id (str): - body (DiagnosisDiagnosticLogsStatus): Example: {'message': 'message', 'status': - 'status'}. + body (DiagnosisDiagnosticLogsStatus): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,8 +148,7 @@ async def asyncio_detailed( Args: node_id (str): - body (DiagnosisDiagnosticLogsStatus): Example: {'message': 'message', 'status': - 'status'}. + body (DiagnosisDiagnosticLogsStatus): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -183,8 +180,7 @@ async def asyncio( Args: node_id (str): - body (DiagnosisDiagnosticLogsStatus): Example: {'message': 'message', 'status': - 'status'}. + body (DiagnosisDiagnosticLogsStatus): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diff_add/diff_add_cloud_compliance.py b/threatmapper/api/diff_add/diff_add_cloud_compliance.py index a40e55e..780e297 100644 --- a/threatmapper/api/diff_add/diff_add_cloud_compliance.py +++ b/threatmapper/api/diff_add/diff_add_cloud_compliance.py @@ -109,16 +109,7 @@ def sync_detailed( Get Cloud Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -156,16 +147,7 @@ def sync( Get Cloud Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -198,16 +180,7 @@ async def asyncio_detailed( Get Cloud Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -243,16 +216,7 @@ async def asyncio( Get Cloud Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diff_add/diff_add_compliance.py b/threatmapper/api/diff_add/diff_add_compliance.py index 4742e32..1926ae2 100644 --- a/threatmapper/api/diff_add/diff_add_compliance.py +++ b/threatmapper/api/diff_add/diff_add_compliance.py @@ -109,16 +109,7 @@ def sync_detailed( Get Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -156,16 +147,7 @@ def sync( Get Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -198,16 +180,7 @@ async def asyncio_detailed( Get Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -243,16 +216,7 @@ async def asyncio( Get Compliance Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diff_add/diff_add_malware.py b/threatmapper/api/diff_add/diff_add_malware.py index f20dc77..ded8a51 100644 --- a/threatmapper/api/diff_add/diff_add_malware.py +++ b/threatmapper/api/diff_add/diff_add_malware.py @@ -109,16 +109,7 @@ def sync_detailed( Get Malware Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -156,16 +147,7 @@ def sync( Get Malware Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -198,16 +180,7 @@ async def asyncio_detailed( Get Malware Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -243,16 +216,7 @@ async def asyncio( Get Malware Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diff_add/diff_add_secret.py b/threatmapper/api/diff_add/diff_add_secret.py index 404f218..e0aed93 100644 --- a/threatmapper/api/diff_add/diff_add_secret.py +++ b/threatmapper/api/diff_add/diff_add_secret.py @@ -109,16 +109,7 @@ def sync_detailed( Get Secret Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -156,16 +147,7 @@ def sync( Get Secret Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -198,16 +180,7 @@ async def asyncio_detailed( Get Secret Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -243,16 +216,7 @@ async def asyncio( Get Secret Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/diff_add/diff_add_vulnerability.py b/threatmapper/api/diff_add/diff_add_vulnerability.py index 2d196c9..308708a 100644 --- a/threatmapper/api/diff_add/diff_add_vulnerability.py +++ b/threatmapper/api/diff_add/diff_add_vulnerability.py @@ -109,16 +109,7 @@ def sync_detailed( Get Vulnerability Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -156,16 +147,7 @@ def sync( Get Vulnerability Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -198,16 +180,7 @@ async def asyncio_detailed( Get Vulnerability Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -243,16 +216,7 @@ async def asyncio( Get Vulnerability Diff between two scans Args: - body (ModelScanCompareReq): Example: {'to_scan_id': 'to_scan_id', 'base_scan_id': - 'base_scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelScanCompareReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/add_generative_ai_integration_bedrock.py b/threatmapper/api/generative_ai/add_generative_ai_integration_bedrock.py index 4ae302f..73dd42f 100644 --- a/threatmapper/api/generative_ai/add_generative_ai_integration_bedrock.py +++ b/threatmapper/api/generative_ai/add_generative_ai_integration_bedrock.py @@ -84,9 +84,7 @@ def sync_detailed( Add a new AWS Bedrock Generative AI Integration Args: - body (ModelAddGenerativeAiBedrockIntegration): Example: {'aws_region': 'us-east-1', - 'aws_access_key': 'aws_access_key', 'model_id': 'anthropic.claude-v2', 'aws_secret_key': - 'aws_secret_key', 'use_iam_role': True}. + body (ModelAddGenerativeAiBedrockIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Add a new AWS Bedrock Generative AI Integration Args: - body (ModelAddGenerativeAiBedrockIntegration): Example: {'aws_region': 'us-east-1', - 'aws_access_key': 'aws_access_key', 'model_id': 'anthropic.claude-v2', 'aws_secret_key': - 'aws_secret_key', 'use_iam_role': True}. + body (ModelAddGenerativeAiBedrockIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Add a new AWS Bedrock Generative AI Integration Args: - body (ModelAddGenerativeAiBedrockIntegration): Example: {'aws_region': 'us-east-1', - 'aws_access_key': 'aws_access_key', 'model_id': 'anthropic.claude-v2', 'aws_secret_key': - 'aws_secret_key', 'use_iam_role': True}. + body (ModelAddGenerativeAiBedrockIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Add a new AWS Bedrock Generative AI Integration Args: - body (ModelAddGenerativeAiBedrockIntegration): Example: {'aws_region': 'us-east-1', - 'aws_access_key': 'aws_access_key', 'model_id': 'anthropic.claude-v2', 'aws_secret_key': - 'aws_secret_key', 'use_iam_role': True}. + body (ModelAddGenerativeAiBedrockIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/add_generative_ai_integration_open_ai.py b/threatmapper/api/generative_ai/add_generative_ai_integration_open_ai.py index b05afbe..1f43ead 100644 --- a/threatmapper/api/generative_ai/add_generative_ai_integration_open_ai.py +++ b/threatmapper/api/generative_ai/add_generative_ai_integration_open_ai.py @@ -84,8 +84,7 @@ def sync_detailed( Add a new OpenAI Generative AI Integration Args: - body (ModelAddGenerativeAiOpenAIIntegration): Example: {'api_key': 'api_key', 'model_id': - 'gpt-4'}. + body (ModelAddGenerativeAiOpenAIIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Add a new OpenAI Generative AI Integration Args: - body (ModelAddGenerativeAiOpenAIIntegration): Example: {'api_key': 'api_key', 'model_id': - 'gpt-4'}. + body (ModelAddGenerativeAiOpenAIIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Add a new OpenAI Generative AI Integration Args: - body (ModelAddGenerativeAiOpenAIIntegration): Example: {'api_key': 'api_key', 'model_id': - 'gpt-4'}. + body (ModelAddGenerativeAiOpenAIIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Add a new OpenAI Generative AI Integration Args: - body (ModelAddGenerativeAiOpenAIIntegration): Example: {'api_key': 'api_key', 'model_id': - 'gpt-4'}. + body (ModelAddGenerativeAiOpenAIIntegration): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/generative_ai_integration_cloud_posture_query.py b/threatmapper/api/generative_ai/generative_ai_integration_cloud_posture_query.py index 1eedd9a..4efcc4b 100644 --- a/threatmapper/api/generative_ai/generative_ai_integration_cloud_posture_query.py +++ b/threatmapper/api/generative_ai/generative_ai_integration_cloud_posture_query.py @@ -84,10 +84,7 @@ def sync_detailed( Send Cloud Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationCloudPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'service': 'service', 'cloud_provider': 'cloud_provider', - 'query_type': 'remediation', 'title': 'title', 'compliance_check_type': - 'compliance_check_type', 'group': 'group'}. + body (ModelGenerativeAiIntegrationCloudPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,10 +115,7 @@ def sync( Send Cloud Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationCloudPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'service': 'service', 'cloud_provider': 'cloud_provider', - 'query_type': 'remediation', 'title': 'title', 'compliance_check_type': - 'compliance_check_type', 'group': 'group'}. + body (ModelGenerativeAiIntegrationCloudPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -147,10 +141,7 @@ async def asyncio_detailed( Send Cloud Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationCloudPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'service': 'service', 'cloud_provider': 'cloud_provider', - 'query_type': 'remediation', 'title': 'title', 'compliance_check_type': - 'compliance_check_type', 'group': 'group'}. + body (ModelGenerativeAiIntegrationCloudPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -179,10 +170,7 @@ async def asyncio( Send Cloud Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationCloudPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'service': 'service', 'cloud_provider': 'cloud_provider', - 'query_type': 'remediation', 'title': 'title', 'compliance_check_type': - 'compliance_check_type', 'group': 'group'}. + body (ModelGenerativeAiIntegrationCloudPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/generative_ai_integration_kubernetes_posture_query.py b/threatmapper/api/generative_ai/generative_ai_integration_kubernetes_posture_query.py index 338a148..68bb171 100644 --- a/threatmapper/api/generative_ai/generative_ai_integration_kubernetes_posture_query.py +++ b/threatmapper/api/generative_ai/generative_ai_integration_kubernetes_posture_query.py @@ -84,9 +84,7 @@ def sync_detailed( Send Kubernetes Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Example: {'integration_id': - 0, 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type'}. + body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Send Kubernetes Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Example: {'integration_id': - 0, 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type'}. + body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Send Kubernetes Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Example: {'integration_id': - 0, 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type'}. + body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Send Kubernetes Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Example: {'integration_id': - 0, 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type'}. + body (ModelGenerativeAiIntegrationKubernetesPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/generative_ai_integration_linux_posture_query.py b/threatmapper/api/generative_ai/generative_ai_integration_linux_posture_query.py index 036902c..016ff63 100644 --- a/threatmapper/api/generative_ai/generative_ai_integration_linux_posture_query.py +++ b/threatmapper/api/generative_ai/generative_ai_integration_linux_posture_query.py @@ -84,9 +84,7 @@ def sync_detailed( Send Linux Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationLinuxPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type', 'test_number': 'test_number'}. + body (ModelGenerativeAiIntegrationLinuxPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Send Linux Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationLinuxPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type', 'test_number': 'test_number'}. + body (ModelGenerativeAiIntegrationLinuxPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Send Linux Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationLinuxPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type', 'test_number': 'test_number'}. + body (ModelGenerativeAiIntegrationLinuxPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Send Linux Posture query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationLinuxPostureRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type', 'test_number': 'test_number'}. + body (ModelGenerativeAiIntegrationLinuxPostureRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/generative_ai_integration_malware_query.py b/threatmapper/api/generative_ai/generative_ai_integration_malware_query.py index e260d8d..7fa8e43 100644 --- a/threatmapper/api/generative_ai/generative_ai_integration_malware_query.py +++ b/threatmapper/api/generative_ai/generative_ai_integration_malware_query.py @@ -82,8 +82,7 @@ def sync_detailed( Send Malware query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationMalwareRequest): Example: {'integration_id': 0, - 'rule_name': 'rule_name', 'query_type': 'remediation', 'info': 'info'}. + body (ModelGenerativeAiIntegrationMalwareRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Send Malware query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationMalwareRequest): Example: {'integration_id': 0, - 'rule_name': 'rule_name', 'query_type': 'remediation', 'info': 'info'}. + body (ModelGenerativeAiIntegrationMalwareRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Send Malware query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationMalwareRequest): Example: {'integration_id': 0, - 'rule_name': 'rule_name', 'query_type': 'remediation', 'info': 'info'}. + body (ModelGenerativeAiIntegrationMalwareRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Send Malware query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationMalwareRequest): Example: {'integration_id': 0, - 'rule_name': 'rule_name', 'query_type': 'remediation', 'info': 'info'}. + body (ModelGenerativeAiIntegrationMalwareRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/generative_ai_integration_secret_query.py b/threatmapper/api/generative_ai/generative_ai_integration_secret_query.py index cbabe0d..171780b 100644 --- a/threatmapper/api/generative_ai/generative_ai_integration_secret_query.py +++ b/threatmapper/api/generative_ai/generative_ai_integration_secret_query.py @@ -82,8 +82,7 @@ def sync_detailed( Send Secret query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationSecretRequest): Example: {'integration_id': 0, 'name': - 'name', 'query_type': 'remediation'}. + body (ModelGenerativeAiIntegrationSecretRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Send Secret query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationSecretRequest): Example: {'integration_id': 0, 'name': - 'name', 'query_type': 'remediation'}. + body (ModelGenerativeAiIntegrationSecretRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Send Secret query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationSecretRequest): Example: {'integration_id': 0, 'name': - 'name', 'query_type': 'remediation'}. + body (ModelGenerativeAiIntegrationSecretRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Send Secret query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationSecretRequest): Example: {'integration_id': 0, 'name': - 'name', 'query_type': 'remediation'}. + body (ModelGenerativeAiIntegrationSecretRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/generative_ai/generative_ai_integration_vulnerability_query.py b/threatmapper/api/generative_ai/generative_ai_integration_vulnerability_query.py index eb6eb2b..5fab382 100644 --- a/threatmapper/api/generative_ai/generative_ai_integration_vulnerability_query.py +++ b/threatmapper/api/generative_ai/generative_ai_integration_vulnerability_query.py @@ -84,9 +84,7 @@ def sync_detailed( Send Vulnerability query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationVulnerabilityRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'cve_id': 'cve_id', 'cve_type': 'cve_type', 'query_type': - 'remediation', 'cve_caused_by_package': 'cve_caused_by_package'}. + body (ModelGenerativeAiIntegrationVulnerabilityRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Send Vulnerability query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationVulnerabilityRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'cve_id': 'cve_id', 'cve_type': 'cve_type', 'query_type': - 'remediation', 'cve_caused_by_package': 'cve_caused_by_package'}. + body (ModelGenerativeAiIntegrationVulnerabilityRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Send Vulnerability query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationVulnerabilityRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'cve_id': 'cve_id', 'cve_type': 'cve_type', 'query_type': - 'remediation', 'cve_caused_by_package': 'cve_caused_by_package'}. + body (ModelGenerativeAiIntegrationVulnerabilityRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Send Vulnerability query to Generative AI Integration Args: - body (ModelGenerativeAiIntegrationVulnerabilityRequest): Example: {'integration_id': 0, - 'remediation_format': 'all', 'cve_id': 'cve_id', 'cve_type': 'cve_type', 'query_type': - 'remediation', 'cve_caused_by_package': 'cve_caused_by_package'}. + body (ModelGenerativeAiIntegrationVulnerabilityRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/integration/add_integration.py b/threatmapper/api/integration/add_integration.py index 3fc5136..1a04db9 100644 --- a/threatmapper/api/integration/add_integration.py +++ b/threatmapper/api/integration/add_integration.py @@ -84,18 +84,7 @@ def sync_detailed( Add a new supported integration Args: - body (ModelIntegrationAddReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,18 +115,7 @@ def sync( Add a new supported integration Args: - body (ModelIntegrationAddReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -163,18 +141,7 @@ async def asyncio_detailed( Add a new supported integration Args: - body (ModelIntegrationAddReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -203,18 +170,7 @@ async def asyncio( Add a new supported integration Args: - body (ModelIntegrationAddReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/integration/delete_integrations.py b/threatmapper/api/integration/delete_integrations.py index 1379552..496005a 100644 --- a/threatmapper/api/integration/delete_integrations.py +++ b/threatmapper/api/integration/delete_integrations.py @@ -82,7 +82,7 @@ def sync_detailed( Delete integrations Args: - body (ModelDeleteIntegrationReq): Example: {'integration_ids': [0, 0]}. + body (ModelDeleteIntegrationReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,7 +113,7 @@ def sync( Delete integrations Args: - body (ModelDeleteIntegrationReq): Example: {'integration_ids': [0, 0]}. + body (ModelDeleteIntegrationReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -139,7 +139,7 @@ async def asyncio_detailed( Delete integrations Args: - body (ModelDeleteIntegrationReq): Example: {'integration_ids': [0, 0]}. + body (ModelDeleteIntegrationReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +168,7 @@ async def asyncio( Delete integrations Args: - body (ModelDeleteIntegrationReq): Example: {'integration_ids': [0, 0]}. + body (ModelDeleteIntegrationReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/integration/update_integration.py b/threatmapper/api/integration/update_integration.py index ca820bf..6940aab 100644 --- a/threatmapper/api/integration/update_integration.py +++ b/threatmapper/api/integration/update_integration.py @@ -87,18 +87,7 @@ def sync_detailed( Args: integration_id (str): - body (ModelIntegrationUpdateReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'id': 0, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -132,18 +121,7 @@ def sync( Args: integration_id (str): - body (ModelIntegrationUpdateReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'id': 0, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -172,18 +150,7 @@ async def asyncio_detailed( Args: integration_id (str): - body (ModelIntegrationUpdateReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'id': 0, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -215,18 +182,7 @@ async def asyncio( Args: integration_id (str): - body (ModelIntegrationUpdateReq): Example: {'notification_type': 'notification_type', - 'send_summary': True, 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'id': 0, 'integration_type': 'integration_type', 'config': {'key': ''}}. + body (ModelIntegrationUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_cloud_compliances.py b/threatmapper/api/lookup/get_cloud_compliances.py index 1196974..dd88674 100644 --- a/threatmapper/api/lookup/get_cloud_compliances.py +++ b/threatmapper/api/lookup/get_cloud_compliances.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with cloud-compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with cloud-compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with cloud-compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with cloud-compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_cloud_resources.py b/threatmapper/api/lookup/get_cloud_resources.py index a9a4680..5028670 100644 --- a/threatmapper/api/lookup/get_cloud_resources.py +++ b/threatmapper/api/lookup/get_cloud_resources.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve the cloud resources Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve the cloud resources Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve the cloud resources Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve the cloud resources Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_compliance_controls.py b/threatmapper/api/lookup/get_compliance_controls.py index fcb5097..2e08a89 100644 --- a/threatmapper/api/lookup/get_compliance_controls.py +++ b/threatmapper/api/lookup/get_compliance_controls.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with cloud compliance controls Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with cloud compliance controls Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with cloud compliance controls Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with cloud compliance controls Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_compliances.py b/threatmapper/api/lookup/get_compliances.py index 6226bcb..b2991d4 100644 --- a/threatmapper/api/lookup/get_compliances.py +++ b/threatmapper/api/lookup/get_compliances.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with compliances Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_container_images.py b/threatmapper/api/lookup/get_container_images.py index 7aac507..33697b3 100644 --- a/threatmapper/api/lookup/get_container_images.py +++ b/threatmapper/api/lookup/get_container_images.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with images Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with images Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with images Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with images Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_containers.py b/threatmapper/api/lookup/get_containers.py index f600a17..68a0361 100644 --- a/threatmapper/api/lookup/get_containers.py +++ b/threatmapper/api/lookup/get_containers.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with containers Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with containers Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with containers Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with containers Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_hosts.py b/threatmapper/api/lookup/get_hosts.py index 2e6e899..5d69920 100644 --- a/threatmapper/api/lookup/get_hosts.py +++ b/threatmapper/api/lookup/get_hosts.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with hosts Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with hosts Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with hosts Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with hosts Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_kubernetes_clusters.py b/threatmapper/api/lookup/get_kubernetes_clusters.py index 79c93d5..98d5a73 100644 --- a/threatmapper/api/lookup/get_kubernetes_clusters.py +++ b/threatmapper/api/lookup/get_kubernetes_clusters.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with k8s clusters Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with k8s clusters Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with k8s clusters Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with k8s clusters Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_malwares.py b/threatmapper/api/lookup/get_malwares.py index 124ff6e..3c245a0 100644 --- a/threatmapper/api/lookup/get_malwares.py +++ b/threatmapper/api/lookup/get_malwares.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with malwares Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with malwares Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with malwares Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with malwares Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_pods.py b/threatmapper/api/lookup/get_pods.py index 37fb0a1..b9c1c16 100644 --- a/threatmapper/api/lookup/get_pods.py +++ b/threatmapper/api/lookup/get_pods.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with pods Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with pods Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with pods Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with pods Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_processes.py b/threatmapper/api/lookup/get_processes.py index 52f1ec9..839bd99 100644 --- a/threatmapper/api/lookup/get_processes.py +++ b/threatmapper/api/lookup/get_processes.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with processes Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with processes Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with processes Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with processes Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_registry_account.py b/threatmapper/api/lookup/get_registry_account.py index 124045e..3982335 100644 --- a/threatmapper/api/lookup/get_registry_account.py +++ b/threatmapper/api/lookup/get_registry_account.py @@ -89,9 +89,7 @@ def sync_detailed( List all the images present in the given registry Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( List all the images present in the given registry Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( List all the images present in the given registry Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( List all the images present in the given registry Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_secrets.py b/threatmapper/api/lookup/get_secrets.py index ef23d3b..d91d26c 100644 --- a/threatmapper/api/lookup/get_secrets.py +++ b/threatmapper/api/lookup/get_secrets.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with secrets Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with secrets Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with secrets Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with secrets Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/lookup/get_vulnerabilities.py b/threatmapper/api/lookup/get_vulnerabilities.py index e5c6ecf..a77dccc 100644 --- a/threatmapper/api/lookup/get_vulnerabilities.py +++ b/threatmapper/api/lookup/get_vulnerabilities.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve all the data associated with vulnerabilities Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve all the data associated with vulnerabilities Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve all the data associated with vulnerabilities Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve all the data associated with vulnerabilities Args: - body (LookupLookupFilter): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': ['node_ids', - 'node_ids']}. + body (LookupLookupFilter): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/count_results_malware_scan.py b/threatmapper/api/malware_scan/count_results_malware_scan.py index 29b9088..062584b 100644 --- a/threatmapper/api/malware_scan/count_results_malware_scan.py +++ b/threatmapper/api/malware_scan/count_results_malware_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/list_malware_scan.py b/threatmapper/api/malware_scan/list_malware_scan.py index 6ab2a04..ee3eb35 100644 --- a/threatmapper/api/malware_scan/list_malware_scan.py +++ b/threatmapper/api/malware_scan/list_malware_scan.py @@ -84,16 +84,7 @@ def sync_detailed( Get Malware Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Get Malware Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Get Malware Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Get Malware Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/results_class_malware_scan.py b/threatmapper/api/malware_scan/results_class_malware_scan.py index b832971..4158084 100644 --- a/threatmapper/api/malware_scan/results_class_malware_scan.py +++ b/threatmapper/api/malware_scan/results_class_malware_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Malware Scans detected class names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Malware Scans detected class names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Malware Scans detected class names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Malware Scans detected class names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/results_malware_scan.py b/threatmapper/api/malware_scan/results_malware_scan.py index af80d4d..c0a15d5 100644 --- a/threatmapper/api/malware_scan/results_malware_scan.py +++ b/threatmapper/api/malware_scan/results_malware_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Malware Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/results_rules_malware_scan.py b/threatmapper/api/malware_scan/results_rules_malware_scan.py index 24648c4..62d5dd8 100644 --- a/threatmapper/api/malware_scan/results_rules_malware_scan.py +++ b/threatmapper/api/malware_scan/results_rules_malware_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Malware Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Malware Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Malware Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Malware Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/start_malware_scan.py b/threatmapper/api/malware_scan/start_malware_scan.py index 384ac20..12e24bc 100644 --- a/threatmapper/api/malware_scan/start_malware_scan.py +++ b/threatmapper/api/malware_scan/start_malware_scan.py @@ -84,13 +84,7 @@ def sync_detailed( Start Malware Scan on agent or registry Args: - body (ModelMalwareScanTriggerReq): Example: {'is_priority': True, - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelMalwareScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,13 +115,7 @@ def sync( Start Malware Scan on agent or registry Args: - body (ModelMalwareScanTriggerReq): Example: {'is_priority': True, - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelMalwareScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -153,13 +141,7 @@ async def asyncio_detailed( Start Malware Scan on agent or registry Args: - body (ModelMalwareScanTriggerReq): Example: {'is_priority': True, - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelMalwareScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -188,13 +170,7 @@ async def asyncio( Start Malware Scan on agent or registry Args: - body (ModelMalwareScanTriggerReq): Example: {'is_priority': True, - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelMalwareScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/status_malware_scan.py b/threatmapper/api/malware_scan/status_malware_scan.py index 2446515..96daf6c 100644 --- a/threatmapper/api/malware_scan/status_malware_scan.py +++ b/threatmapper/api/malware_scan/status_malware_scan.py @@ -84,8 +84,7 @@ def sync_detailed( Get Malware Scan status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get Malware Scan status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get Malware Scan status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get Malware Scan status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/malware_scan/stop_malware_scan.py b/threatmapper/api/malware_scan/stop_malware_scan.py index 74bcf1b..b9750f4 100644 --- a/threatmapper/api/malware_scan/stop_malware_scan.py +++ b/threatmapper/api/malware_scan/stop_malware_scan.py @@ -82,8 +82,7 @@ def sync_detailed( Stop Malware Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Stop Malware Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Stop Malware Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Stop Malware Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/add_registry.py b/threatmapper/api/registry/add_registry.py index ae6160d..88e3fa6 100644 --- a/threatmapper/api/registry/add_registry.py +++ b/threatmapper/api/registry/add_registry.py @@ -84,8 +84,7 @@ def sync_detailed( Add a new supported registry Args: - body (ModelRegistryAddReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Add a new supported registry Args: - body (ModelRegistryAddReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Add a new supported registry Args: - body (ModelRegistryAddReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Add a new supported registry Args: - body (ModelRegistryAddReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryAddReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/count_image_stubs.py b/threatmapper/api/registry/count_image_stubs.py index 30fc3b9..4256ab9 100644 --- a/threatmapper/api/registry/count_image_stubs.py +++ b/threatmapper/api/registry/count_image_stubs.py @@ -84,15 +84,7 @@ def sync_detailed( count of image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( count of image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( count of image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( count of image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/count_images.py b/threatmapper/api/registry/count_images.py index 236f1f7..856e6ba 100644 --- a/threatmapper/api/registry/count_images.py +++ b/threatmapper/api/registry/count_images.py @@ -84,23 +84,7 @@ def sync_detailed( count of images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -131,23 +115,7 @@ def sync( count of images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,23 +141,7 @@ async def asyncio_detailed( count of images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -218,23 +170,7 @@ async def asyncio( count of images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/delete_registry_bulk.py b/threatmapper/api/registry/delete_registry_bulk.py index b8e4233..cf0e7af 100644 --- a/threatmapper/api/registry/delete_registry_bulk.py +++ b/threatmapper/api/registry/delete_registry_bulk.py @@ -82,8 +82,7 @@ def sync_detailed( Batch Delete registry Args: - body (ModelDeleteRegistryBulkReq): Example: {'registry_ids': ['registry_ids', - 'registry_ids']}. + body (ModelDeleteRegistryBulkReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Batch Delete registry Args: - body (ModelDeleteRegistryBulkReq): Example: {'registry_ids': ['registry_ids', - 'registry_ids']}. + body (ModelDeleteRegistryBulkReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Batch Delete registry Args: - body (ModelDeleteRegistryBulkReq): Example: {'registry_ids': ['registry_ids', - 'registry_ids']}. + body (ModelDeleteRegistryBulkReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Batch Delete registry Args: - body (ModelDeleteRegistryBulkReq): Example: {'registry_ids': ['registry_ids', - 'registry_ids']}. + body (ModelDeleteRegistryBulkReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/list_image_stubs.py b/threatmapper/api/registry/list_image_stubs.py index 4d0fd49..2d094e4 100644 --- a/threatmapper/api/registry/list_image_stubs.py +++ b/threatmapper/api/registry/list_image_stubs.py @@ -89,15 +89,7 @@ def sync_detailed( list image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -128,15 +120,7 @@ def sync( list image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -162,15 +146,7 @@ async def asyncio_detailed( list image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -199,15 +175,7 @@ async def asyncio( list image tags for a given image and registry Args: - body (ModelRegistryImageStubsReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'registry_id': 'registry_id'}. + body (ModelRegistryImageStubsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/list_images.py b/threatmapper/api/registry/list_images.py index 0f71078..b8fec25 100644 --- a/threatmapper/api/registry/list_images.py +++ b/threatmapper/api/registry/list_images.py @@ -89,23 +89,7 @@ def sync_detailed( list images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -136,23 +120,7 @@ def sync( list images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -178,23 +146,7 @@ async def asyncio_detailed( list images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -223,23 +175,7 @@ async def asyncio( list images from a given registry Args: - body (ModelRegistryImagesReq): Example: {'image_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}, 'image_stub_filter': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'registry_id': 'registry_id'}. + body (ModelRegistryImagesReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/registry/update_registry.py b/threatmapper/api/registry/update_registry.py index 130c3f5..8d4ae4b 100644 --- a/threatmapper/api/registry/update_registry.py +++ b/threatmapper/api/registry/update_registry.py @@ -87,8 +87,7 @@ def sync_detailed( Args: registry_id (str): - body (ModelRegistryUpdateReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,8 +121,7 @@ def sync( Args: registry_id (str): - body (ModelRegistryUpdateReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -152,8 +150,7 @@ async def asyncio_detailed( Args: registry_id (str): - body (ModelRegistryUpdateReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -185,8 +182,7 @@ async def asyncio( Args: registry_id (str): - body (ModelRegistryUpdateReq): Example: {'non_secret': {'key': ''}, 'registry_type': - 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': {'key': ''}}. + body (ModelRegistryUpdateReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/reports/bulk_delete_reports.py b/threatmapper/api/reports/bulk_delete_reports.py index 544764d..2c6a882 100644 --- a/threatmapper/api/reports/bulk_delete_reports.py +++ b/threatmapper/api/reports/bulk_delete_reports.py @@ -82,7 +82,7 @@ def sync_detailed( Bulk Delete reports Args: - body (ModelBulkDeleteReportReq): Example: {'report_ids': ['report_ids', 'report_ids']}. + body (ModelBulkDeleteReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -113,7 +113,7 @@ def sync( Bulk Delete reports Args: - body (ModelBulkDeleteReportReq): Example: {'report_ids': ['report_ids', 'report_ids']}. + body (ModelBulkDeleteReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -139,7 +139,7 @@ async def asyncio_detailed( Bulk Delete reports Args: - body (ModelBulkDeleteReportReq): Example: {'report_ids': ['report_ids', 'report_ids']}. + body (ModelBulkDeleteReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -168,7 +168,7 @@ async def asyncio( Bulk Delete reports Args: - body (ModelBulkDeleteReportReq): Example: {'report_ids': ['report_ids', 'report_ids']}. + body (ModelBulkDeleteReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/reports/generate_report.py b/threatmapper/api/reports/generate_report.py index 9392761..2b10a6b 100644 --- a/threatmapper/api/reports/generate_report.py +++ b/threatmapper/api/reports/generate_report.py @@ -84,16 +84,7 @@ def sync_detailed( generate report for given type and filters Args: - body (ModelGenerateReportReq): Example: {'to_timestamp': 6, 'options': {'sbom_format': - 'syft-json'}, 'from_timestamp': 0, 'filters': {'include_dead_nodes': True, 'node_type': - 'host', 'most_exploitable_report': True, 'advanced_report_filters': {'image_name': - ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': - ['kubernetes_cluster_name', 'kubernetes_cluster_name'], 'masked': [True, True], - 'host_name': ['host_name', 'host_name'], 'node_id': ['node_id', 'node_id'], 'pod_name': - ['pod_name', 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': 'scan_id', - 'severity_or_check_type': ['severity_or_check_type', 'severity_or_check_type']}, - 'report_type': 'pdf'}. + body (ModelGenerateReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( generate report for given type and filters Args: - body (ModelGenerateReportReq): Example: {'to_timestamp': 6, 'options': {'sbom_format': - 'syft-json'}, 'from_timestamp': 0, 'filters': {'include_dead_nodes': True, 'node_type': - 'host', 'most_exploitable_report': True, 'advanced_report_filters': {'image_name': - ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': - ['kubernetes_cluster_name', 'kubernetes_cluster_name'], 'masked': [True, True], - 'host_name': ['host_name', 'host_name'], 'node_id': ['node_id', 'node_id'], 'pod_name': - ['pod_name', 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': 'scan_id', - 'severity_or_check_type': ['severity_or_check_type', 'severity_or_check_type']}, - 'report_type': 'pdf'}. + body (ModelGenerateReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( generate report for given type and filters Args: - body (ModelGenerateReportReq): Example: {'to_timestamp': 6, 'options': {'sbom_format': - 'syft-json'}, 'from_timestamp': 0, 'filters': {'include_dead_nodes': True, 'node_type': - 'host', 'most_exploitable_report': True, 'advanced_report_filters': {'image_name': - ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': - ['kubernetes_cluster_name', 'kubernetes_cluster_name'], 'masked': [True, True], - 'host_name': ['host_name', 'host_name'], 'node_id': ['node_id', 'node_id'], 'pod_name': - ['pod_name', 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': 'scan_id', - 'severity_or_check_type': ['severity_or_check_type', 'severity_or_check_type']}, - 'report_type': 'pdf'}. + body (ModelGenerateReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( generate report for given type and filters Args: - body (ModelGenerateReportReq): Example: {'to_timestamp': 6, 'options': {'sbom_format': - 'syft-json'}, 'from_timestamp': 0, 'filters': {'include_dead_nodes': True, 'node_type': - 'host', 'most_exploitable_report': True, 'advanced_report_filters': {'image_name': - ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': - ['kubernetes_cluster_name', 'kubernetes_cluster_name'], 'masked': [True, True], - 'host_name': ['host_name', 'host_name'], 'node_id': ['node_id', 'node_id'], 'pod_name': - ['pod_name', 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': 'scan_id', - 'severity_or_check_type': ['severity_or_check_type', 'severity_or_check_type']}, - 'report_type': 'pdf'}. + body (ModelGenerateReportReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/scan_results/bulk_delete_scans.py b/threatmapper/api/scan_results/bulk_delete_scans.py index 8938535..f03562b 100644 --- a/threatmapper/api/scan_results/bulk_delete_scans.py +++ b/threatmapper/api/scan_results/bulk_delete_scans.py @@ -82,15 +82,7 @@ def sync_detailed( Bulk delete scans along with their results for a particular scan type Args: - body (ModelBulkDeleteScansRequest): Example: {'scan_type': 'Secret', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelBulkDeleteScansRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,15 +113,7 @@ def sync( Bulk delete scans along with their results for a particular scan type Args: - body (ModelBulkDeleteScansRequest): Example: {'scan_type': 'Secret', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelBulkDeleteScansRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -155,15 +139,7 @@ async def asyncio_detailed( Bulk delete scans along with their results for a particular scan type Args: - body (ModelBulkDeleteScansRequest): Example: {'scan_type': 'Secret', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelBulkDeleteScansRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -192,15 +168,7 @@ async def asyncio( Bulk delete scans along with their results for a particular scan type Args: - body (ModelBulkDeleteScansRequest): Example: {'scan_type': 'Secret', 'filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}}. + body (ModelBulkDeleteScansRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/scan_results/delete_scan_result.py b/threatmapper/api/scan_results/delete_scan_result.py index 23468a1..c277c0b 100644 --- a/threatmapper/api/scan_results/delete_scan_result.py +++ b/threatmapper/api/scan_results/delete_scan_result.py @@ -82,9 +82,7 @@ def sync_detailed( Delete selected scan results Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,9 +113,7 @@ def sync( Delete selected scan results Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,9 +139,7 @@ async def asyncio_detailed( Delete selected scan results Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -174,9 +168,7 @@ async def asyncio( Delete selected scan results Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/scan_results/get_all_nodes_in_scan_results.py b/threatmapper/api/scan_results/get_all_nodes_in_scan_results.py index 7e6a133..3aba076 100644 --- a/threatmapper/api/scan_results/get_all_nodes_in_scan_results.py +++ b/threatmapper/api/scan_results/get_all_nodes_in_scan_results.py @@ -89,8 +89,7 @@ def sync_detailed( Get all nodes in given scan result ids Args: - body (ModelNodesInScanResultRequest): Example: {'result_ids': ['result_ids', - 'result_ids'], 'scan_type': 'SecretScan'}. + body (ModelNodesInScanResultRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,8 +120,7 @@ def sync( Get all nodes in given scan result ids Args: - body (ModelNodesInScanResultRequest): Example: {'result_ids': ['result_ids', - 'result_ids'], 'scan_type': 'SecretScan'}. + body (ModelNodesInScanResultRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,8 +146,7 @@ async def asyncio_detailed( Get all nodes in given scan result ids Args: - body (ModelNodesInScanResultRequest): Example: {'result_ids': ['result_ids', - 'result_ids'], 'scan_type': 'SecretScan'}. + body (ModelNodesInScanResultRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -178,8 +175,7 @@ async def asyncio( Get all nodes in given scan result ids Args: - body (ModelNodesInScanResultRequest): Example: {'result_ids': ['result_ids', - 'result_ids'], 'scan_type': 'SecretScan'}. + body (ModelNodesInScanResultRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/scan_results/mask_scan_result.py b/threatmapper/api/scan_results/mask_scan_result.py index 4affd36..ad4a0d2 100644 --- a/threatmapper/api/scan_results/mask_scan_result.py +++ b/threatmapper/api/scan_results/mask_scan_result.py @@ -82,8 +82,7 @@ def sync_detailed( Mask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Mask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Mask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Mask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/scan_results/notify_scan_result.py b/threatmapper/api/scan_results/notify_scan_result.py index 3dbf4e8..941cf34 100644 --- a/threatmapper/api/scan_results/notify_scan_result.py +++ b/threatmapper/api/scan_results/notify_scan_result.py @@ -82,9 +82,7 @@ def sync_detailed( Notify scan results in connected integration channels Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,9 +113,7 @@ def sync( Notify scan results in connected integration channels Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,9 +139,7 @@ async def asyncio_detailed( Notify scan results in connected integration channels Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -174,9 +168,7 @@ async def asyncio( Notify scan results in connected integration channels Args: - body (ModelScanResultsActionRequest): Example: {'notify_individual': True, 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id', - 'integration_ids': [0, 0]}. + body (ModelScanResultsActionRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/scan_results/unmask_scan_result.py b/threatmapper/api/scan_results/unmask_scan_result.py index b2d30dc..44bdca7 100644 --- a/threatmapper/api/scan_results/unmask_scan_result.py +++ b/threatmapper/api/scan_results/unmask_scan_result.py @@ -82,8 +82,7 @@ def sync_detailed( Unmask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Unmask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Unmask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Unmask scan results Args: - body (ModelScanResultsMaskRequest): Example: {'mask_action': 'mask_global', 'result_ids': - ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': 'scan_id'}. + body (ModelScanResultsMaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_cloud_accounts.py b/threatmapper/api/search/count_cloud_accounts.py index 76fc827..7711ab7 100644 --- a/threatmapper/api/search/count_cloud_accounts.py +++ b/threatmapper/api/search/count_cloud_accounts.py @@ -84,35 +84,7 @@ def sync_detailed( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_cloud_compliance_scans.py b/threatmapper/api/search/count_cloud_compliance_scans.py index e629351..4704768 100644 --- a/threatmapper/api/search/count_cloud_compliance_scans.py +++ b/threatmapper/api/search/count_cloud_compliance_scans.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with cloud-compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with cloud-compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with cloud-compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with cloud-compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_cloud_compliances.py b/threatmapper/api/search/count_cloud_compliances.py index 7315e3b..fcb4d94 100644 --- a/threatmapper/api/search/count_cloud_compliances.py +++ b/threatmapper/api/search/count_cloud_compliances.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data ssociated with cloud compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data ssociated with cloud compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data ssociated with cloud compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data ssociated with cloud compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_cloud_resources.py b/threatmapper/api/search/count_cloud_resources.py index 7849d95..2863b9d 100644 --- a/threatmapper/api/search/count_cloud_resources.py +++ b/threatmapper/api/search/count_cloud_resources.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data ssociated with cloud resources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data ssociated with cloud resources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data ssociated with cloud resources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data ssociated with cloud resources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_compliance_rules.py b/threatmapper/api/search/count_compliance_rules.py index 3ac402b..94b13af 100644 --- a/threatmapper/api/search/count_compliance_rules.py +++ b/threatmapper/api/search/count_compliance_rules.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_compliance_scans.py b/threatmapper/api/search/count_compliance_scans.py index 7a285d6..8f6b1ef 100644 --- a/threatmapper/api/search/count_compliance_scans.py +++ b/threatmapper/api/search/count_compliance_scans.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with compliance scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_compliances.py b/threatmapper/api/search/count_compliances.py index 1aa9cfe..897c1b0 100644 --- a/threatmapper/api/search/count_compliances.py +++ b/threatmapper/api/search/count_compliances.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_container_images.py b/threatmapper/api/search/count_container_images.py index c5e2168..c60198c 100644 --- a/threatmapper/api/search/count_container_images.py +++ b/threatmapper/api/search/count_container_images.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_containers.py b/threatmapper/api/search/count_containers.py index 45c6ddd..0385487 100644 --- a/threatmapper/api/search/count_containers.py +++ b/threatmapper/api/search/count_containers.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_hosts.py b/threatmapper/api/search/count_hosts.py index b619459..3c6a577 100644 --- a/threatmapper/api/search/count_hosts.py +++ b/threatmapper/api/search/count_hosts.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_kubernetes_clusters.py b/threatmapper/api/search/count_kubernetes_clusters.py index 70d7201..165b2dd 100644 --- a/threatmapper/api/search/count_kubernetes_clusters.py +++ b/threatmapper/api/search/count_kubernetes_clusters.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data ssociated with kubernetes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data ssociated with kubernetes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data ssociated with kubernetes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data ssociated with kubernetes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_malware_rules.py b/threatmapper/api/search/count_malware_rules.py index 04b52ec..f75aa0d 100644 --- a/threatmapper/api/search/count_malware_rules.py +++ b/threatmapper/api/search/count_malware_rules.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_malware_scans.py b/threatmapper/api/search/count_malware_scans.py index 72be17a..8ce1ea1 100644 --- a/threatmapper/api/search/count_malware_scans.py +++ b/threatmapper/api/search/count_malware_scans.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with malware scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with malware scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with malware scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with malware scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_malwares.py b/threatmapper/api/search/count_malwares.py index a43b9cc..dddb9c9 100644 --- a/threatmapper/api/search/count_malwares.py +++ b/threatmapper/api/search/count_malwares.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_pods.py b/threatmapper/api/search/count_pods.py index 32d77da..423eb9f 100644 --- a/threatmapper/api/search/count_pods.py +++ b/threatmapper/api/search/count_pods.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_registry_accounts.py b/threatmapper/api/search/count_registry_accounts.py index 13ab64a..23636db 100644 --- a/threatmapper/api/search/count_registry_accounts.py +++ b/threatmapper/api/search/count_registry_accounts.py @@ -84,35 +84,7 @@ def sync_detailed( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_secret_rules.py b/threatmapper/api/search/count_secret_rules.py index 99e8d72..20ad307 100644 --- a/threatmapper/api/search/count_secret_rules.py +++ b/threatmapper/api/search/count_secret_rules.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_secrets.py b/threatmapper/api/search/count_secrets.py index 27622a1..cd98747 100644 --- a/threatmapper/api/search/count_secrets.py +++ b/threatmapper/api/search/count_secrets.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_secrets_scans.py b/threatmapper/api/search/count_secrets_scans.py index 705583f..358ffad 100644 --- a/threatmapper/api/search/count_secrets_scans.py +++ b/threatmapper/api/search/count_secrets_scans.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with secret scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with secret scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with secret scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with secret scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_vulnerabilities.py b/threatmapper/api/search/count_vulnerabilities.py index 9d2ec89..56cf0bf 100644 --- a/threatmapper/api/search/count_vulnerabilities.py +++ b/threatmapper/api/search/count_vulnerabilities.py @@ -84,35 +84,7 @@ def sync_detailed( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_vulnerability_rules.py b/threatmapper/api/search/count_vulnerability_rules.py index 741c6b5..818f4d4 100644 --- a/threatmapper/api/search/count_vulnerability_rules.py +++ b/threatmapper/api/search/count_vulnerability_rules.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/count_vulnerability_scans.py b/threatmapper/api/search/count_vulnerability_scans.py index 22b1424..b94d47f 100644 --- a/threatmapper/api/search/count_vulnerability_scans.py +++ b/threatmapper/api/search/count_vulnerability_scans.py @@ -84,35 +84,7 @@ def sync_detailed( Count across all the data associated with vulnerability scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,35 +115,7 @@ def sync( Count across all the data associated with vulnerability scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,35 +141,7 @@ async def asyncio_detailed( Count across all the data associated with vulnerability scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -254,35 +170,7 @@ async def asyncio( Count across all the data associated with vulnerability scans Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/get_cloud_compliance_filters.py b/threatmapper/api/search/get_cloud_compliance_filters.py index b4c5500..b391ad0 100644 --- a/threatmapper/api/search/get_cloud_compliance_filters.py +++ b/threatmapper/api/search/get_cloud_compliance_filters.py @@ -84,8 +84,7 @@ def sync_detailed( Get all applicable filter values for cloud compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get all applicable filter values for cloud compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get all applicable filter values for cloud compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get all applicable filter values for cloud compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/get_compliance_filters.py b/threatmapper/api/search/get_compliance_filters.py index da2ce41..ce4148d 100644 --- a/threatmapper/api/search/get_compliance_filters.py +++ b/threatmapper/api/search/get_compliance_filters.py @@ -84,8 +84,7 @@ def sync_detailed( Get all applicable filter values for compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get all applicable filter values for compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get all applicable filter values for compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get all applicable filter values for compliance Args: - body (ModelFiltersReq): Example: {'having': {'key': ''}, 'filters': ['filters', - 'filters']}. + body (ModelFiltersReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_cloud_accounts.py b/threatmapper/api/search/search_cloud_accounts.py index 4323944..1a98e26 100644 --- a/threatmapper/api/search/search_cloud_accounts.py +++ b/threatmapper/api/search/search_cloud_accounts.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with cloud nodes Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_cloud_compliance_scans.py b/threatmapper/api/search/search_cloud_compliance_scans.py index d85b930..7ae4c1f 100644 --- a/threatmapper/api/search/search_cloud_compliance_scans.py +++ b/threatmapper/api/search/search_cloud_compliance_scans.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with cloud-compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with cloud-compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with cloud-compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with cloud-compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_cloud_compliances.py b/threatmapper/api/search/search_cloud_compliances.py index 8df57d1..c348562 100644 --- a/threatmapper/api/search/search_cloud_compliances.py +++ b/threatmapper/api/search/search_cloud_compliances.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with cloud-compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with cloud-compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with cloud-compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with cloud-compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_cloud_resources.py b/threatmapper/api/search/search_cloud_resources.py index 35d19b1..c5aa45a 100644 --- a/threatmapper/api/search/search_cloud_resources.py +++ b/threatmapper/api/search/search_cloud_resources.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all data associated with CloudResources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all data associated with CloudResources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all data associated with CloudResources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all data associated with CloudResources Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_compliance_rules.py b/threatmapper/api/search/search_compliance_rules.py index 9a27a4b..f215122 100644 --- a/threatmapper/api/search/search_compliance_rules.py +++ b/threatmapper/api/search/search_compliance_rules.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with compliance rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_compliance_scans.py b/threatmapper/api/search/search_compliance_scans.py index e168d4b..428a301 100644 --- a/threatmapper/api/search/search_compliance_scans.py +++ b/threatmapper/api/search/search_compliance_scans.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with compliance scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_compliances.py b/threatmapper/api/search/search_compliances.py index 97b0caa..bdf0de6 100644 --- a/threatmapper/api/search/search_compliances.py +++ b/threatmapper/api/search/search_compliances.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with compliances Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_container_images.py b/threatmapper/api/search/search_container_images.py index 227074e..10dbf61 100644 --- a/threatmapper/api/search/search_container_images.py +++ b/threatmapper/api/search/search_container_images.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with container images Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_containers.py b/threatmapper/api/search/search_containers.py index 1a90bf8..5e14a26 100644 --- a/threatmapper/api/search/search_containers.py +++ b/threatmapper/api/search/search_containers.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all data associated with containers Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_hosts.py b/threatmapper/api/search/search_hosts.py index dbe52ed..8d414fb 100644 --- a/threatmapper/api/search/search_hosts.py +++ b/threatmapper/api/search/search_hosts.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all data associated with hosts Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_kubernetes_clusters.py b/threatmapper/api/search/search_kubernetes_clusters.py index aabddbc..42bb0a7 100644 --- a/threatmapper/api/search/search_kubernetes_clusters.py +++ b/threatmapper/api/search/search_kubernetes_clusters.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all data associated with kuberentes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all data associated with kuberentes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all data associated with kuberentes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all data associated with kuberentes clusters Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_malware_rules.py b/threatmapper/api/search/search_malware_rules.py index 71fa3cc..29e923c 100644 --- a/threatmapper/api/search/search_malware_rules.py +++ b/threatmapper/api/search/search_malware_rules.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with malware rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_malware_scans.py b/threatmapper/api/search/search_malware_scans.py index c08a886..0acdecc 100644 --- a/threatmapper/api/search/search_malware_scans.py +++ b/threatmapper/api/search/search_malware_scans.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with malwares scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with malwares scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with malwares scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with malwares scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_malwares.py b/threatmapper/api/search/search_malwares.py index e0ffcf8..4e2a2ff 100644 --- a/threatmapper/api/search/search_malwares.py +++ b/threatmapper/api/search/search_malwares.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with malwares Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_pods.py b/threatmapper/api/search/search_pods.py index b1c7bac..cf6f833 100644 --- a/threatmapper/api/search/search_pods.py +++ b/threatmapper/api/search/search_pods.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with pods Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_registry_accounts.py b/threatmapper/api/search/search_registry_accounts.py index 8ce6e50..0440c2d 100644 --- a/threatmapper/api/search/search_registry_accounts.py +++ b/threatmapper/api/search/search_registry_accounts.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with registry account Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_secret_rules.py b/threatmapper/api/search/search_secret_rules.py index 5166bed..660a81a 100644 --- a/threatmapper/api/search/search_secret_rules.py +++ b/threatmapper/api/search/search_secret_rules.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with secret rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_secrets.py b/threatmapper/api/search/search_secrets.py index ce09dc5..0b42f9b 100644 --- a/threatmapper/api/search/search_secrets.py +++ b/threatmapper/api/search/search_secrets.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with secrets Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_secrets_scans.py b/threatmapper/api/search/search_secrets_scans.py index b52f1d2..6639087 100644 --- a/threatmapper/api/search/search_secrets_scans.py +++ b/threatmapper/api/search/search_secrets_scans.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with secrets scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with secrets scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with secrets scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with secrets scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_vulerability_rules.py b/threatmapper/api/search/search_vulerability_rules.py index 2cf6f11..c77dc06 100644 --- a/threatmapper/api/search/search_vulerability_rules.py +++ b/threatmapper/api/search/search_vulerability_rules.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with vulnerability rules Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_vulnerabilities.py b/threatmapper/api/search/search_vulnerabilities.py index 54769ee..d81d8c5 100644 --- a/threatmapper/api/search/search_vulnerabilities.py +++ b/threatmapper/api/search/search_vulnerabilities.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with vulnerabilities Args: - body (SearchSearchNodeReq): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchNodeReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/search/search_vulnerability_scans.py b/threatmapper/api/search/search_vulnerability_scans.py index c7bf16b..611ae2b 100644 --- a/threatmapper/api/search/search_vulnerability_scans.py +++ b/threatmapper/api/search/search_vulnerability_scans.py @@ -89,35 +89,7 @@ def sync_detailed( Search across all the data associated with vulnerability scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,35 +120,7 @@ def sync( Search across all the data associated with vulnerability scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -202,35 +146,7 @@ async def asyncio_detailed( Search across all the data associated with vulnerability scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -259,35 +175,7 @@ async def asyncio( Search across all the data associated with vulnerability scan Args: - body (SearchSearchScanReq): Example: {'node_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}}. + body (SearchSearchScanReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/count_results_secret_scan.py b/threatmapper/api/secret_scan/count_results_secret_scan.py index b6af767..0f866a4 100644 --- a/threatmapper/api/secret_scan/count_results_secret_scan.py +++ b/threatmapper/api/secret_scan/count_results_secret_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/list_secret_scan.py b/threatmapper/api/secret_scan/list_secret_scan.py index 797d224..b3b7563 100644 --- a/threatmapper/api/secret_scan/list_secret_scan.py +++ b/threatmapper/api/secret_scan/list_secret_scan.py @@ -84,16 +84,7 @@ def sync_detailed( Get Secret Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Get Secret Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Get Secret Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Get Secret Scans list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/results_rules_secret_scan.py b/threatmapper/api/secret_scan/results_rules_secret_scan.py index 14faf8d..0a5ecbd 100644 --- a/threatmapper/api/secret_scan/results_rules_secret_scan.py +++ b/threatmapper/api/secret_scan/results_rules_secret_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Secret Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Secret Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Secret Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Secret Scans detected rules names Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/results_secret_scan.py b/threatmapper/api/secret_scan/results_secret_scan.py index c46779a..01762cd 100644 --- a/threatmapper/api/secret_scan/results_secret_scan.py +++ b/threatmapper/api/secret_scan/results_secret_scan.py @@ -84,15 +84,7 @@ def sync_detailed( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Secret Scans results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/start_secret_scan.py b/threatmapper/api/secret_scan/start_secret_scan.py index b718202..7535fb5 100644 --- a/threatmapper/api/secret_scan/start_secret_scan.py +++ b/threatmapper/api/secret_scan/start_secret_scan.py @@ -84,13 +84,7 @@ def sync_detailed( Start Secret Scan on agent or registry Args: - body (ModelSecretScanTriggerReq): Example: {'is_priority': True, 'deepfence_system_scan': - True, 'filters': {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': - {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': - ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}. + body (ModelSecretScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,13 +115,7 @@ def sync( Start Secret Scan on agent or registry Args: - body (ModelSecretScanTriggerReq): Example: {'is_priority': True, 'deepfence_system_scan': - True, 'filters': {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': - {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': - ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}. + body (ModelSecretScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -153,13 +141,7 @@ async def asyncio_detailed( Start Secret Scan on agent or registry Args: - body (ModelSecretScanTriggerReq): Example: {'is_priority': True, 'deepfence_system_scan': - True, 'filters': {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': - {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': - ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}. + body (ModelSecretScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -188,13 +170,7 @@ async def asyncio( Start Secret Scan on agent or registry Args: - body (ModelSecretScanTriggerReq): Example: {'is_priority': True, 'deepfence_system_scan': - True, 'filters': {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': - {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': - ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}. + body (ModelSecretScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/status_secret_scan.py b/threatmapper/api/secret_scan/status_secret_scan.py index e422082..1bcec73 100644 --- a/threatmapper/api/secret_scan/status_secret_scan.py +++ b/threatmapper/api/secret_scan/status_secret_scan.py @@ -84,8 +84,7 @@ def sync_detailed( Get Secret Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get Secret Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get Secret Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get Secret Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/secret_scan/stop_secret_scan.py b/threatmapper/api/secret_scan/stop_secret_scan.py index 7e5563d..bd7dde3 100644 --- a/threatmapper/api/secret_scan/stop_secret_scan.py +++ b/threatmapper/api/secret_scan/stop_secret_scan.py @@ -82,8 +82,7 @@ def sync_detailed( Stop Secret Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Stop Secret Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Stop Secret Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Stop Secret Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/add_email_configuration.py b/threatmapper/api/settings/add_email_configuration.py index 23ef811..87ec203 100644 --- a/threatmapper/api/settings/add_email_configuration.py +++ b/threatmapper/api/settings/add_email_configuration.py @@ -84,10 +84,7 @@ def sync_detailed( This email configuration is used to send email notifications Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,10 +115,7 @@ def sync( This email configuration is used to send email notifications Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -147,10 +141,7 @@ async def asyncio_detailed( This email configuration is used to send email notifications Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -179,10 +170,7 @@ async def asyncio( This email configuration is used to send email notifications Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/add_scheduled_task.py b/threatmapper/api/settings/add_scheduled_task.py index 15b1033..4e6351c 100644 --- a/threatmapper/api/settings/add_scheduled_task.py +++ b/threatmapper/api/settings/add_scheduled_task.py @@ -82,15 +82,7 @@ def sync_detailed( Add scheduled task Args: - body (ModelAddScheduledTaskRequest): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'scan_config': [{'language': 'base'}, {'language': 'base'}], - 'cron_expr': 'cron_expr', 'action': 'SecretScan', 'description': 'description', - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelAddScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,15 +113,7 @@ def sync( Add scheduled task Args: - body (ModelAddScheduledTaskRequest): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'scan_config': [{'language': 'base'}, {'language': 'base'}], - 'cron_expr': 'cron_expr', 'action': 'SecretScan', 'description': 'description', - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelAddScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -155,15 +139,7 @@ async def asyncio_detailed( Add scheduled task Args: - body (ModelAddScheduledTaskRequest): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'scan_config': [{'language': 'base'}, {'language': 'base'}], - 'cron_expr': 'cron_expr', 'action': 'SecretScan', 'description': 'description', - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelAddScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -192,15 +168,7 @@ async def asyncio( Add scheduled task Args: - body (ModelAddScheduledTaskRequest): Example: {'is_priority': True, 'benchmark_types': - ['hipaa', 'hipaa'], 'scan_config': [{'language': 'base'}, {'language': 'base'}], - 'cron_expr': 'cron_expr', 'action': 'SecretScan', 'description': 'description', - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, - 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, - 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelAddScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/generate_license.py b/threatmapper/api/settings/generate_license.py index 075e3c8..d30a5e1 100644 --- a/threatmapper/api/settings/generate_license.py +++ b/threatmapper/api/settings/generate_license.py @@ -84,8 +84,7 @@ def sync_detailed( Generate a new ThreatMapper license key Args: - body (ModelGenerateLicenseRequest): Example: {'last_name': 'last_name', 'company': - 'company', 'resend_email': True, 'first_name': 'first_name', 'email': 'email'}. + body (ModelGenerateLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Generate a new ThreatMapper license key Args: - body (ModelGenerateLicenseRequest): Example: {'last_name': 'last_name', 'company': - 'company', 'resend_email': True, 'first_name': 'first_name', 'email': 'email'}. + body (ModelGenerateLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Generate a new ThreatMapper license key Args: - body (ModelGenerateLicenseRequest): Example: {'last_name': 'last_name', 'company': - 'company', 'resend_email': True, 'first_name': 'first_name', 'email': 'email'}. + body (ModelGenerateLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Generate a new ThreatMapper license key Args: - body (ModelGenerateLicenseRequest): Example: {'last_name': 'last_name', 'company': - 'company', 'resend_email': True, 'first_name': 'first_name', 'email': 'email'}. + body (ModelGenerateLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/get_user_audit_logs.py b/threatmapper/api/settings/get_user_audit_logs.py index afb6d03..8f4139f 100644 --- a/threatmapper/api/settings/get_user_audit_logs.py +++ b/threatmapper/api/settings/get_user_audit_logs.py @@ -89,7 +89,7 @@ def sync_detailed( Get audit logs for all users Args: - body (ModelGetAuditLogsRequest): Example: {'window': {'offset': 0, 'size': 6}}. + body (ModelGetAuditLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,7 +120,7 @@ def sync( Get audit logs for all users Args: - body (ModelGetAuditLogsRequest): Example: {'window': {'offset': 0, 'size': 6}}. + body (ModelGetAuditLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -146,7 +146,7 @@ async def asyncio_detailed( Get audit logs for all users Args: - body (ModelGetAuditLogsRequest): Example: {'window': {'offset': 0, 'size': 6}}. + body (ModelGetAuditLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -175,7 +175,7 @@ async def asyncio( Get audit logs for all users Args: - body (ModelGetAuditLogsRequest): Example: {'window': {'offset': 0, 'size': 6}}. + body (ModelGetAuditLogsRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/register_license.py b/threatmapper/api/settings/register_license.py index 68d2aa7..d7089d0 100644 --- a/threatmapper/api/settings/register_license.py +++ b/threatmapper/api/settings/register_license.py @@ -84,8 +84,7 @@ def sync_detailed( Register new license key to the console and activate Args: - body (ModelRegisterLicenseRequest): Example: {'email': 'email', 'license_key': - 'license_key'}. + body (ModelRegisterLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Register new license key to the console and activate Args: - body (ModelRegisterLicenseRequest): Example: {'email': 'email', 'license_key': - 'license_key'}. + body (ModelRegisterLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Register new license key to the console and activate Args: - body (ModelRegisterLicenseRequest): Example: {'email': 'email', 'license_key': - 'license_key'}. + body (ModelRegisterLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Register new license key to the console and activate Args: - body (ModelRegisterLicenseRequest): Example: {'email': 'email', 'license_key': - 'license_key'}. + body (ModelRegisterLicenseRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/test_unconfigured_email.py b/threatmapper/api/settings/test_unconfigured_email.py index 320b5d1..9671e87 100644 --- a/threatmapper/api/settings/test_unconfigured_email.py +++ b/threatmapper/api/settings/test_unconfigured_email.py @@ -84,10 +84,7 @@ def sync_detailed( Test Unconfigured Email Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -118,10 +115,7 @@ def sync( Test Unconfigured Email Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -147,10 +141,7 @@ async def asyncio_detailed( Test Unconfigured Email Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -179,10 +170,7 @@ async def asyncio( Test Unconfigured Email Args: - body (ModelEmailConfigurationAdd): Example: {'email_id': 'email_id', 'password': - 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', 'email_provider': - 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'}. + body (ModelEmailConfigurationAdd): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/update_scheduled_task.py b/threatmapper/api/settings/update_scheduled_task.py index a59a335..310d3bc 100644 --- a/threatmapper/api/settings/update_scheduled_task.py +++ b/threatmapper/api/settings/update_scheduled_task.py @@ -85,7 +85,7 @@ def sync_detailed( Args: id (int): - body (ModelUpdateScheduledTaskRequest): Example: {'is_enabled': True}. + body (ModelUpdateScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -119,7 +119,7 @@ def sync( Args: id (int): - body (ModelUpdateScheduledTaskRequest): Example: {'is_enabled': True}. + body (ModelUpdateScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,7 +148,7 @@ async def asyncio_detailed( Args: id (int): - body (ModelUpdateScheduledTaskRequest): Example: {'is_enabled': True}. + body (ModelUpdateScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -180,7 +180,7 @@ async def asyncio( Args: id (int): - body (ModelUpdateScheduledTaskRequest): Example: {'is_enabled': True}. + body (ModelUpdateScheduledTaskRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/settings/update_setting.py b/threatmapper/api/settings/update_setting.py index 568d0a4..eb288d2 100644 --- a/threatmapper/api/settings/update_setting.py +++ b/threatmapper/api/settings/update_setting.py @@ -85,7 +85,7 @@ def sync_detailed( Args: id (int): - body (SettingSettingUpdateRequest): Example: {'value': 'value', 'key': 'console_url'}. + body (SettingSettingUpdateRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -119,7 +119,7 @@ def sync( Args: id (int): - body (SettingSettingUpdateRequest): Example: {'value': 'value', 'key': 'console_url'}. + body (SettingSettingUpdateRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -148,7 +148,7 @@ async def asyncio_detailed( Args: id (int): - body (SettingSettingUpdateRequest): Example: {'value': 'value', 'key': 'console_url'}. + body (SettingSettingUpdateRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -180,7 +180,7 @@ async def asyncio( Args: id (int): - body (SettingSettingUpdateRequest): Example: {'value': 'value', 'key': 'console_url'}. + body (SettingSettingUpdateRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/threat/get_individual_threat_graph.py b/threatmapper/api/threat/get_individual_threat_graph.py index 8af4f77..76fdbd6 100644 --- a/threatmapper/api/threat/get_individual_threat_graph.py +++ b/threatmapper/api/threat/get_individual_threat_graph.py @@ -89,9 +89,7 @@ def sync_detailed( Retrieve threat graph associated with vulnerabilities Args: - body (GraphIndividualThreatGraphRequest): Example: {'graph_type': - 'most_vulnerable_attack_paths', 'issue_type': 'vulnerability', 'node_ids': ['node_ids', - 'node_ids']}. + body (GraphIndividualThreatGraphRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,9 +120,7 @@ def sync( Retrieve threat graph associated with vulnerabilities Args: - body (GraphIndividualThreatGraphRequest): Example: {'graph_type': - 'most_vulnerable_attack_paths', 'issue_type': 'vulnerability', 'node_ids': ['node_ids', - 'node_ids']}. + body (GraphIndividualThreatGraphRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -150,9 +146,7 @@ async def asyncio_detailed( Retrieve threat graph associated with vulnerabilities Args: - body (GraphIndividualThreatGraphRequest): Example: {'graph_type': - 'most_vulnerable_attack_paths', 'issue_type': 'vulnerability', 'node_ids': ['node_ids', - 'node_ids']}. + body (GraphIndividualThreatGraphRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -181,9 +175,7 @@ async def asyncio( Retrieve threat graph associated with vulnerabilities Args: - body (GraphIndividualThreatGraphRequest): Example: {'graph_type': - 'most_vulnerable_attack_paths', 'issue_type': 'vulnerability', 'node_ids': ['node_ids', - 'node_ids']}. + body (GraphIndividualThreatGraphRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/threat/get_threat_graph.py b/threatmapper/api/threat/get_threat_graph.py index 56455f2..c51ebbc 100644 --- a/threatmapper/api/threat/get_threat_graph.py +++ b/threatmapper/api/threat/get_threat_graph.py @@ -98,10 +98,7 @@ def sync_detailed( Retrieve the full threat graph associated with the account Args: - body (GraphThreatFilters): Example: {'cloud_resource_only': True, 'aws_filter': - {'account_ids': ['account_ids', 'account_ids']}, 'gcp_filter': {'account_ids': - ['account_ids', 'account_ids']}, 'type': 'all', 'azure_filter': {'account_ids': - ['account_ids', 'account_ids']}}. + body (GraphThreatFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -132,10 +129,7 @@ def sync( Retrieve the full threat graph associated with the account Args: - body (GraphThreatFilters): Example: {'cloud_resource_only': True, 'aws_filter': - {'account_ids': ['account_ids', 'account_ids']}, 'gcp_filter': {'account_ids': - ['account_ids', 'account_ids']}, 'type': 'all', 'azure_filter': {'account_ids': - ['account_ids', 'account_ids']}}. + body (GraphThreatFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -161,10 +155,7 @@ async def asyncio_detailed( Retrieve the full threat graph associated with the account Args: - body (GraphThreatFilters): Example: {'cloud_resource_only': True, 'aws_filter': - {'account_ids': ['account_ids', 'account_ids']}, 'gcp_filter': {'account_ids': - ['account_ids', 'account_ids']}, 'type': 'all', 'azure_filter': {'account_ids': - ['account_ids', 'account_ids']}}. + body (GraphThreatFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -193,10 +184,7 @@ async def asyncio( Retrieve the full threat graph associated with the account Args: - body (GraphThreatFilters): Example: {'cloud_resource_only': True, 'aws_filter': - {'account_ids': ['account_ids', 'account_ids']}, 'gcp_filter': {'account_ids': - ['account_ids', 'account_ids']}, 'type': 'all', 'azure_filter': {'account_ids': - ['account_ids', 'account_ids']}}. + body (GraphThreatFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/get_containers_topology_graph.py b/threatmapper/api/topology/get_containers_topology_graph.py index 0317ab7..de363fd 100644 --- a/threatmapper/api/topology/get_containers_topology_graph.py +++ b/threatmapper/api/topology/get_containers_topology_graph.py @@ -84,18 +84,7 @@ def sync_detailed( Retrieve the full topology graph associated with the account from Containers Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,18 +115,7 @@ def sync( Retrieve the full topology graph associated with the account from Containers Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -163,18 +141,7 @@ async def asyncio_detailed( Retrieve the full topology graph associated with the account from Containers Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -203,18 +170,7 @@ async def asyncio( Retrieve the full topology graph associated with the account from Containers Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/get_hosts_topology_graph.py b/threatmapper/api/topology/get_hosts_topology_graph.py index 4811764..5796574 100644 --- a/threatmapper/api/topology/get_hosts_topology_graph.py +++ b/threatmapper/api/topology/get_hosts_topology_graph.py @@ -84,18 +84,7 @@ def sync_detailed( Retrieve the full topology graph associated with the account from Hosts Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,18 +115,7 @@ def sync( Retrieve the full topology graph associated with the account from Hosts Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -163,18 +141,7 @@ async def asyncio_detailed( Retrieve the full topology graph associated with the account from Hosts Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -203,18 +170,7 @@ async def asyncio( Retrieve the full topology graph associated with the account from Hosts Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/get_kubernetes_topology_graph.py b/threatmapper/api/topology/get_kubernetes_topology_graph.py index 6a05ca5..1d44813 100644 --- a/threatmapper/api/topology/get_kubernetes_topology_graph.py +++ b/threatmapper/api/topology/get_kubernetes_topology_graph.py @@ -84,18 +84,7 @@ def sync_detailed( Retrieve the full topology graph associated with the account from Kubernetes Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,18 +115,7 @@ def sync( Retrieve the full topology graph associated with the account from Kubernetes Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -163,18 +141,7 @@ async def asyncio_detailed( Retrieve the full topology graph associated with the account from Kubernetes Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -203,18 +170,7 @@ async def asyncio( Retrieve the full topology graph associated with the account from Kubernetes Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/get_pods_topology_graph.py b/threatmapper/api/topology/get_pods_topology_graph.py index 93240a7..e6ee4eb 100644 --- a/threatmapper/api/topology/get_pods_topology_graph.py +++ b/threatmapper/api/topology/get_pods_topology_graph.py @@ -84,18 +84,7 @@ def sync_detailed( Retrieve the full topology graph associated with the account from Pods Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,18 +115,7 @@ def sync( Retrieve the full topology graph associated with the account from Pods Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -163,18 +141,7 @@ async def asyncio_detailed( Retrieve the full topology graph associated with the account from Pods Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -203,18 +170,7 @@ async def asyncio( Retrieve the full topology graph associated with the account from Pods Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/get_topology_delta.py b/threatmapper/api/topology/get_topology_delta.py index 50a7293..77b4b13 100644 --- a/threatmapper/api/topology/get_topology_delta.py +++ b/threatmapper/api/topology/get_topology_delta.py @@ -84,9 +84,7 @@ def sync_detailed( Retrieve addition or deletion toplogy deltas Args: - body (ModelTopologyDeltaReq): Example: {'deletion': True, 'entity_types': - ['entity_types', 'entity_types'], 'deletion_timestamp': 6, 'addition_timestamp': 0, - 'addition': True}. + body (ModelTopologyDeltaReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Retrieve addition or deletion toplogy deltas Args: - body (ModelTopologyDeltaReq): Example: {'deletion': True, 'entity_types': - ['entity_types', 'entity_types'], 'deletion_timestamp': 6, 'addition_timestamp': 0, - 'addition': True}. + body (ModelTopologyDeltaReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Retrieve addition or deletion toplogy deltas Args: - body (ModelTopologyDeltaReq): Example: {'deletion': True, 'entity_types': - ['entity_types', 'entity_types'], 'deletion_timestamp': 6, 'addition_timestamp': 0, - 'addition': True}. + body (ModelTopologyDeltaReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Retrieve addition or deletion toplogy deltas Args: - body (ModelTopologyDeltaReq): Example: {'deletion': True, 'entity_types': - ['entity_types', 'entity_types'], 'deletion_timestamp': 6, 'addition_timestamp': 0, - 'addition': True}. + body (ModelTopologyDeltaReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/get_topology_graph.py b/threatmapper/api/topology/get_topology_graph.py index 8ac8b1b..0ba0911 100644 --- a/threatmapper/api/topology/get_topology_graph.py +++ b/threatmapper/api/topology/get_topology_graph.py @@ -84,18 +84,7 @@ def sync_detailed( Retrieve the full topology graph associated with the account Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -126,18 +115,7 @@ def sync( Retrieve the full topology graph associated with the account Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -163,18 +141,7 @@ async def asyncio_detailed( Retrieve the full topology graph associated with the account Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -203,18 +170,7 @@ async def asyncio( Retrieve the full topology graph associated with the account Args: - body (GraphTopologyFilters): Example: {'host_filter': ['host_filter', 'host_filter'], - 'field_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], - 'cloud_filter': ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': - ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': ['pod_filter', 'pod_filter'], - 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True}. + body (GraphTopologyFilters): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/ingest_agent_report.py b/threatmapper/api/topology/ingest_agent_report.py index 5a56eff..104a724 100644 --- a/threatmapper/api/topology/ingest_agent_report.py +++ b/threatmapper/api/topology/ingest_agent_report.py @@ -84,7 +84,7 @@ def sync_detailed( Ingest data reported by one Agent Args: - body (ReportRawReport): Example: {'payload': 'payload'}. + body (ReportRawReport): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,7 +115,7 @@ def sync( Ingest data reported by one Agent Args: - body (ReportRawReport): Example: {'payload': 'payload'}. + body (ReportRawReport): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,7 +141,7 @@ async def asyncio_detailed( Ingest data reported by one Agent Args: - body (ReportRawReport): Example: {'payload': 'payload'}. + body (ReportRawReport): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -170,7 +170,7 @@ async def asyncio( Ingest data reported by one Agent Args: - body (ReportRawReport): Example: {'payload': 'payload'}. + body (ReportRawReport): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/topology/ingest_sync_agent_report.py b/threatmapper/api/topology/ingest_sync_agent_report.py index 5093dd3..0cd75f3 100644 --- a/threatmapper/api/topology/ingest_sync_agent_report.py +++ b/threatmapper/api/topology/ingest_sync_agent_report.py @@ -82,16 +82,7 @@ def sync_detailed( Ingest data reported by one Agent Args: - body (IngestersReportIngestionData): Example: {'hosts': [{'key': ''}, {'key': ''}], - 'host_batch': [{'key': ''}, {'key': ''}], 'kubernetes_cluster_edge_batch': [{'key': ''}, - {'key': ''}], 'process_batch': [{'key': ''}, {'key': ''}], 'container_image_edge_batch': - [{'key': ''}, {'key': ''}], 'num_merged': 0, 'container_process_edge_batch': [{'key': ''}, - {'key': ''}], 'pod_batch': [{'key': ''}, {'key': ''}], 'process_edges_batch': [{'key': - ''}, {'key': ''}], 'container_edges_batch': [{'key': ''}, {'key': ''}], 'container_batch': - [{'key': ''}, {'key': ''}], 'container_image_batch': [{'key': ''}, {'key': ''}], - 'kubernetes_cluster_batch': [{'key': ''}, {'key': ''}], 'pod_edges_batch': [{'key': ''}, - {'key': ''}], 'endpoint_edges_batch': [{'key': ''}, {'key': ''}], 'pod_host_edges_batch': - [{'key': ''}, {'key': ''}]}. + body (IngestersReportIngestionData): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,16 +113,7 @@ def sync( Ingest data reported by one Agent Args: - body (IngestersReportIngestionData): Example: {'hosts': [{'key': ''}, {'key': ''}], - 'host_batch': [{'key': ''}, {'key': ''}], 'kubernetes_cluster_edge_batch': [{'key': ''}, - {'key': ''}], 'process_batch': [{'key': ''}, {'key': ''}], 'container_image_edge_batch': - [{'key': ''}, {'key': ''}], 'num_merged': 0, 'container_process_edge_batch': [{'key': ''}, - {'key': ''}], 'pod_batch': [{'key': ''}, {'key': ''}], 'process_edges_batch': [{'key': - ''}, {'key': ''}], 'container_edges_batch': [{'key': ''}, {'key': ''}], 'container_batch': - [{'key': ''}, {'key': ''}], 'container_image_batch': [{'key': ''}, {'key': ''}], - 'kubernetes_cluster_batch': [{'key': ''}, {'key': ''}], 'pod_edges_batch': [{'key': ''}, - {'key': ''}], 'endpoint_edges_batch': [{'key': ''}, {'key': ''}], 'pod_host_edges_batch': - [{'key': ''}, {'key': ''}]}. + body (IngestersReportIngestionData): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,16 +139,7 @@ async def asyncio_detailed( Ingest data reported by one Agent Args: - body (IngestersReportIngestionData): Example: {'hosts': [{'key': ''}, {'key': ''}], - 'host_batch': [{'key': ''}, {'key': ''}], 'kubernetes_cluster_edge_batch': [{'key': ''}, - {'key': ''}], 'process_batch': [{'key': ''}, {'key': ''}], 'container_image_edge_batch': - [{'key': ''}, {'key': ''}], 'num_merged': 0, 'container_process_edge_batch': [{'key': ''}, - {'key': ''}], 'pod_batch': [{'key': ''}, {'key': ''}], 'process_edges_batch': [{'key': - ''}, {'key': ''}], 'container_edges_batch': [{'key': ''}, {'key': ''}], 'container_batch': - [{'key': ''}, {'key': ''}], 'container_image_batch': [{'key': ''}, {'key': ''}], - 'kubernetes_cluster_batch': [{'key': ''}, {'key': ''}], 'pod_edges_batch': [{'key': ''}, - {'key': ''}], 'endpoint_edges_batch': [{'key': ''}, {'key': ''}], 'pod_host_edges_batch': - [{'key': ''}, {'key': ''}]}. + body (IngestersReportIngestionData): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -195,16 +168,7 @@ async def asyncio( Ingest data reported by one Agent Args: - body (IngestersReportIngestionData): Example: {'hosts': [{'key': ''}, {'key': ''}], - 'host_batch': [{'key': ''}, {'key': ''}], 'kubernetes_cluster_edge_batch': [{'key': ''}, - {'key': ''}], 'process_batch': [{'key': ''}, {'key': ''}], 'container_image_edge_batch': - [{'key': ''}, {'key': ''}], 'num_merged': 0, 'container_process_edge_batch': [{'key': ''}, - {'key': ''}], 'pod_batch': [{'key': ''}, {'key': ''}], 'process_edges_batch': [{'key': - ''}, {'key': ''}], 'container_edges_batch': [{'key': ''}, {'key': ''}], 'container_batch': - [{'key': ''}, {'key': ''}], 'container_image_batch': [{'key': ''}, {'key': ''}], - 'kubernetes_cluster_batch': [{'key': ''}, {'key': ''}], 'pod_edges_batch': [{'key': ''}, - {'key': ''}], 'endpoint_edges_batch': [{'key': ''}, {'key': ''}], 'pod_host_edges_batch': - [{'key': ''}, {'key': ''}]}. + body (IngestersReportIngestionData): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/invite_user.py b/threatmapper/api/user/invite_user.py index 38895db..8d7d6d0 100644 --- a/threatmapper/api/user/invite_user.py +++ b/threatmapper/api/user/invite_user.py @@ -84,8 +84,7 @@ def sync_detailed( Invite a user Args: - body (ModelInviteUserRequest): Example: {'role': 'admin', 'action': 'send-invite-email', - 'email': 'email'}. + body (ModelInviteUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Invite a user Args: - body (ModelInviteUserRequest): Example: {'role': 'admin', 'action': 'send-invite-email', - 'email': 'email'}. + body (ModelInviteUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Invite a user Args: - body (ModelInviteUserRequest): Example: {'role': 'admin', 'action': 'send-invite-email', - 'email': 'email'}. + body (ModelInviteUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Invite a user Args: - body (ModelInviteUserRequest): Example: {'role': 'admin', 'action': 'send-invite-email', - 'email': 'email'}. + body (ModelInviteUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/register_invited_user.py b/threatmapper/api/user/register_invited_user.py index b437074..0dec137 100644 --- a/threatmapper/api/user/register_invited_user.py +++ b/threatmapper/api/user/register_invited_user.py @@ -84,9 +84,7 @@ def sync_detailed( Register invited user Args: - body (ModelRegisterInvitedUserRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace', 'last_name': 'last_name', 'first_name': 'first_name', - 'is_temporary_password': True}. + body (ModelRegisterInvitedUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( Register invited user Args: - body (ModelRegisterInvitedUserRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace', 'last_name': 'last_name', 'first_name': 'first_name', - 'is_temporary_password': True}. + body (ModelRegisterInvitedUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( Register invited user Args: - body (ModelRegisterInvitedUserRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace', 'last_name': 'last_name', 'first_name': 'first_name', - 'is_temporary_password': True}. + body (ModelRegisterInvitedUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( Register invited user Args: - body (ModelRegisterInvitedUserRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace', 'last_name': 'last_name', 'first_name': 'first_name', - 'is_temporary_password': True}. + body (ModelRegisterInvitedUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/register_user.py b/threatmapper/api/user/register_user.py index c0d6c68..f708f8b 100644 --- a/threatmapper/api/user/register_user.py +++ b/threatmapper/api/user/register_user.py @@ -84,9 +84,7 @@ def sync_detailed( First user registration. Further users needs to be invited. Args: - body (ModelUserRegisterRequest): Example: {'password': 'password', 'console_url': - 'console_url', 'last_name': 'last_name', 'company': 'company', 'first_name': 'first_name', - 'is_temporary_password': True, 'email': 'email'}. + body (ModelUserRegisterRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,9 +115,7 @@ def sync( First user registration. Further users needs to be invited. Args: - body (ModelUserRegisterRequest): Example: {'password': 'password', 'console_url': - 'console_url', 'last_name': 'last_name', 'company': 'company', 'first_name': 'first_name', - 'is_temporary_password': True, 'email': 'email'}. + body (ModelUserRegisterRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -145,9 +141,7 @@ async def asyncio_detailed( First user registration. Further users needs to be invited. Args: - body (ModelUserRegisterRequest): Example: {'password': 'password', 'console_url': - 'console_url', 'last_name': 'last_name', 'company': 'company', 'first_name': 'first_name', - 'is_temporary_password': True, 'email': 'email'}. + body (ModelUserRegisterRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -176,9 +170,7 @@ async def asyncio( First user registration. Further users needs to be invited. Args: - body (ModelUserRegisterRequest): Example: {'password': 'password', 'console_url': - 'console_url', 'last_name': 'last_name', 'company': 'company', 'first_name': 'first_name', - 'is_temporary_password': True, 'email': 'email'}. + body (ModelUserRegisterRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/reset_password_request.py b/threatmapper/api/user/reset_password_request.py index fa7c489..f156570 100644 --- a/threatmapper/api/user/reset_password_request.py +++ b/threatmapper/api/user/reset_password_request.py @@ -84,7 +84,7 @@ def sync_detailed( Request for resetting the password Args: - body (ModelPasswordResetRequest): Example: {'email': 'email'}. + body (ModelPasswordResetRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,7 +115,7 @@ def sync( Request for resetting the password Args: - body (ModelPasswordResetRequest): Example: {'email': 'email'}. + body (ModelPasswordResetRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,7 +141,7 @@ async def asyncio_detailed( Request for resetting the password Args: - body (ModelPasswordResetRequest): Example: {'email': 'email'}. + body (ModelPasswordResetRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -170,7 +170,7 @@ async def asyncio( Request for resetting the password Args: - body (ModelPasswordResetRequest): Example: {'email': 'email'}. + body (ModelPasswordResetRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/update_current_user.py b/threatmapper/api/user/update_current_user.py index da809c4..a22c81f 100644 --- a/threatmapper/api/user/update_current_user.py +++ b/threatmapper/api/user/update_current_user.py @@ -84,8 +84,7 @@ def sync_detailed( Update logged in user information Args: - body (ModelUpdateUserRequest): Example: {'is_active': True, 'role': 'admin', 'last_name': - 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Update logged in user information Args: - body (ModelUpdateUserRequest): Example: {'is_active': True, 'role': 'admin', 'last_name': - 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Update logged in user information Args: - body (ModelUpdateUserRequest): Example: {'is_active': True, 'role': 'admin', 'last_name': - 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Update logged in user information Args: - body (ModelUpdateUserRequest): Example: {'is_active': True, 'role': 'admin', 'last_name': - 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/update_password.py b/threatmapper/api/user/update_password.py index 943bdfc..2c0a0f6 100644 --- a/threatmapper/api/user/update_password.py +++ b/threatmapper/api/user/update_password.py @@ -82,8 +82,7 @@ def sync_detailed( Update current user's password Args: - body (ModelUpdateUserPasswordRequest): Example: {'old_password': 'old_password', - 'new_password': 'new_password'}. + body (ModelUpdateUserPasswordRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Update current user's password Args: - body (ModelUpdateUserPasswordRequest): Example: {'old_password': 'old_password', - 'new_password': 'new_password'}. + body (ModelUpdateUserPasswordRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Update current user's password Args: - body (ModelUpdateUserPasswordRequest): Example: {'old_password': 'old_password', - 'new_password': 'new_password'}. + body (ModelUpdateUserPasswordRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Update current user's password Args: - body (ModelUpdateUserPasswordRequest): Example: {'old_password': 'old_password', - 'new_password': 'new_password'}. + body (ModelUpdateUserPasswordRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/update_user.py b/threatmapper/api/user/update_user.py index 9446e89..eb00fe4 100644 --- a/threatmapper/api/user/update_user.py +++ b/threatmapper/api/user/update_user.py @@ -87,8 +87,7 @@ def sync_detailed( Args: id (int): - body (ModelUpdateUserIDRequest): Example: {'is_active': True, 'role': 'admin', - 'last_name': 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserIDRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -122,8 +121,7 @@ def sync( Args: id (int): - body (ModelUpdateUserIDRequest): Example: {'is_active': True, 'role': 'admin', - 'last_name': 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserIDRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -152,8 +150,7 @@ async def asyncio_detailed( Args: id (int): - body (ModelUpdateUserIDRequest): Example: {'is_active': True, 'role': 'admin', - 'last_name': 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserIDRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -185,8 +182,7 @@ async def asyncio( Args: id (int): - body (ModelUpdateUserIDRequest): Example: {'is_active': True, 'role': 'admin', - 'last_name': 'last_name', 'first_name': 'first_name'}. + body (ModelUpdateUserIDRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/user/verify_reset_password_request.py b/threatmapper/api/user/verify_reset_password_request.py index 2c01974..4283922 100644 --- a/threatmapper/api/user/verify_reset_password_request.py +++ b/threatmapper/api/user/verify_reset_password_request.py @@ -82,8 +82,7 @@ def sync_detailed( Verify code and reset the password Args: - body (ModelPasswordResetVerifyRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace'}. + body (ModelPasswordResetVerifyRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Verify code and reset the password Args: - body (ModelPasswordResetVerifyRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace'}. + body (ModelPasswordResetVerifyRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Verify code and reset the password Args: - body (ModelPasswordResetVerifyRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace'}. + body (ModelPasswordResetVerifyRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Verify code and reset the password Args: - body (ModelPasswordResetVerifyRequest): Example: {'password': 'password', 'code': 'code', - 'namespace': 'namespace'}. + body (ModelPasswordResetVerifyRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/count_results_vulnerability_scans.py b/threatmapper/api/vulnerability/count_results_vulnerability_scans.py index 0d9b504..163a254 100644 --- a/threatmapper/api/vulnerability/count_results_vulnerability_scans.py +++ b/threatmapper/api/vulnerability/count_results_vulnerability_scans.py @@ -84,15 +84,7 @@ def sync_detailed( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/download_sbom.py b/threatmapper/api/vulnerability/download_sbom.py index d5eb678..b67cf8c 100644 --- a/threatmapper/api/vulnerability/download_sbom.py +++ b/threatmapper/api/vulnerability/download_sbom.py @@ -84,7 +84,7 @@ def sync_detailed( Download SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -115,7 +115,7 @@ def sync( Download SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,7 +141,7 @@ async def asyncio_detailed( Download SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -170,7 +170,7 @@ async def asyncio( Download SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/get_sbom.py b/threatmapper/api/vulnerability/get_sbom.py index 3a55dbc..f14cedf 100644 --- a/threatmapper/api/vulnerability/get_sbom.py +++ b/threatmapper/api/vulnerability/get_sbom.py @@ -89,7 +89,7 @@ def sync_detailed( Get SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -120,7 +120,7 @@ def sync( Get SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -146,7 +146,7 @@ async def asyncio_detailed( Get SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -175,7 +175,7 @@ async def asyncio( Get SBOM for a node or scan id Args: - body (ModelSbomRequest): Example: {'scan_id': 'scan_id'}. + body (ModelSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/ingest_sbom.py b/threatmapper/api/vulnerability/ingest_sbom.py index 98b73ac..cf13187 100644 --- a/threatmapper/api/vulnerability/ingest_sbom.py +++ b/threatmapper/api/vulnerability/ingest_sbom.py @@ -82,11 +82,7 @@ def sync_detailed( Ingest SBOM from Scan Args: - body (UtilsScanSbomRequest): Example: {'skip_scan': True, 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'scan_type': 'scan_type', 'sbom_file_path': 'sbom_file_path', - 'registry_id': 'registry_id', 'mode': 'mode', 'image_name': 'image_name', 'node_type': - 'node_type', 'container_name': 'container_name', 'sbom': 'sbom', 'scan_id': 'scan_id', - 'image_id': 'image_id', 'host_name': 'host_name', 'node_id': 'node_id'}. + body (UtilsScanSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -117,11 +113,7 @@ def sync( Ingest SBOM from Scan Args: - body (UtilsScanSbomRequest): Example: {'skip_scan': True, 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'scan_type': 'scan_type', 'sbom_file_path': 'sbom_file_path', - 'registry_id': 'registry_id', 'mode': 'mode', 'image_name': 'image_name', 'node_type': - 'node_type', 'container_name': 'container_name', 'sbom': 'sbom', 'scan_id': 'scan_id', - 'image_id': 'image_id', 'host_name': 'host_name', 'node_id': 'node_id'}. + body (UtilsScanSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -147,11 +139,7 @@ async def asyncio_detailed( Ingest SBOM from Scan Args: - body (UtilsScanSbomRequest): Example: {'skip_scan': True, 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'scan_type': 'scan_type', 'sbom_file_path': 'sbom_file_path', - 'registry_id': 'registry_id', 'mode': 'mode', 'image_name': 'image_name', 'node_type': - 'node_type', 'container_name': 'container_name', 'sbom': 'sbom', 'scan_id': 'scan_id', - 'image_id': 'image_id', 'host_name': 'host_name', 'node_id': 'node_id'}. + body (UtilsScanSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -180,11 +168,7 @@ async def asyncio( Ingest SBOM from Scan Args: - body (UtilsScanSbomRequest): Example: {'skip_scan': True, 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'scan_type': 'scan_type', 'sbom_file_path': 'sbom_file_path', - 'registry_id': 'registry_id', 'mode': 'mode', 'image_name': 'image_name', 'node_type': - 'node_type', 'container_name': 'container_name', 'sbom': 'sbom', 'scan_id': 'scan_id', - 'image_id': 'image_id', 'host_name': 'host_name', 'node_id': 'node_id'}. + body (UtilsScanSbomRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/list_vulnerability_scans.py b/threatmapper/api/vulnerability/list_vulnerability_scans.py index 50bdf0e..9420a8d 100644 --- a/threatmapper/api/vulnerability/list_vulnerability_scans.py +++ b/threatmapper/api/vulnerability/list_vulnerability_scans.py @@ -84,16 +84,7 @@ def sync_detailed( Get Vulnerability Scan list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -124,16 +115,7 @@ def sync( Get Vulnerability Scan list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -159,16 +141,7 @@ async def asyncio_detailed( Get Vulnerability Scan list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -197,16 +170,7 @@ async def asyncio( Get Vulnerability Scan list on agent or registry Args: - body (ModelScanListReq): Example: {'window': {'offset': 0, 'size': 6}, 'fields_filter': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': - True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]}. + body (ModelScanListReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/results_vulnerability_scans.py b/threatmapper/api/vulnerability/results_vulnerability_scans.py index 4387b1c..829dfc7 100644 --- a/threatmapper/api/vulnerability/results_vulnerability_scans.py +++ b/threatmapper/api/vulnerability/results_vulnerability_scans.py @@ -84,15 +84,7 @@ def sync_detailed( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -123,15 +115,7 @@ def sync( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -157,15 +141,7 @@ async def asyncio_detailed( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -194,15 +170,7 @@ async def asyncio( Get Vulnerability Scan results on agent or registry Args: - body (ModelScanResultsReq): Example: {'scan_id': 'scan_id', 'window': {'offset': 0, - 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, - 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}}. + body (ModelScanResultsReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/start_vulnerability_scan.py b/threatmapper/api/vulnerability/start_vulnerability_scan.py index d4a83d1..2892cfc 100644 --- a/threatmapper/api/vulnerability/start_vulnerability_scan.py +++ b/threatmapper/api/vulnerability/start_vulnerability_scan.py @@ -84,13 +84,7 @@ def sync_detailed( Start Vulnerability Scan on agent or registry Args: - body (ModelVulnerabilityScanTriggerReq): Example: {'is_priority': True, 'scan_config': - [{'language': 'base'}, {'language': 'base'}], 'deepfence_system_scan': True, 'filters': - {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': - {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelVulnerabilityScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -121,13 +115,7 @@ def sync( Start Vulnerability Scan on agent or registry Args: - body (ModelVulnerabilityScanTriggerReq): Example: {'is_priority': True, 'scan_config': - [{'language': 'base'}, {'language': 'base'}], 'deepfence_system_scan': True, 'filters': - {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': - {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelVulnerabilityScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -153,13 +141,7 @@ async def asyncio_detailed( Start Vulnerability Scan on agent or registry Args: - body (ModelVulnerabilityScanTriggerReq): Example: {'is_priority': True, 'scan_config': - [{'language': 'base'}, {'language': 'base'}], 'deepfence_system_scan': True, 'filters': - {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': - {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelVulnerabilityScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -188,13 +170,7 @@ async def asyncio( Start Vulnerability Scan on agent or registry Args: - body (ModelVulnerabilityScanTriggerReq): Example: {'is_priority': True, 'scan_config': - [{'language': 'base'}, {'language': 'base'}], 'deepfence_system_scan': True, 'filters': - {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': - {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': - 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + body (ModelVulnerabilityScanTriggerReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/status_vulnerability_scan.py b/threatmapper/api/vulnerability/status_vulnerability_scan.py index f1afd74..c832093 100644 --- a/threatmapper/api/vulnerability/status_vulnerability_scan.py +++ b/threatmapper/api/vulnerability/status_vulnerability_scan.py @@ -84,8 +84,7 @@ def sync_detailed( Get Vulnerability Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -116,8 +115,7 @@ def sync( Get Vulnerability Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -143,8 +141,7 @@ async def asyncio_detailed( Get Vulnerability Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -173,8 +170,7 @@ async def asyncio( Get Vulnerability Scan Status on agent or registry Args: - body (ModelScanStatusReq): Example: {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': - ['scan_ids', 'scan_ids']}. + body (ModelScanStatusReq): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/api/vulnerability/stop_vulnerability_scan.py b/threatmapper/api/vulnerability/stop_vulnerability_scan.py index 1631134..0d4eded 100644 --- a/threatmapper/api/vulnerability/stop_vulnerability_scan.py +++ b/threatmapper/api/vulnerability/stop_vulnerability_scan.py @@ -82,8 +82,7 @@ def sync_detailed( Stop Vulnerability Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -114,8 +113,7 @@ def sync( Stop Vulnerability Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -141,8 +139,7 @@ async def asyncio_detailed( Stop Vulnerability Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. @@ -171,8 +168,7 @@ async def asyncio( Stop Vulnerability Scan on agent or registry Args: - body (ModelStopScanRequest): Example: {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': - 'SecretScan'}. + body (ModelStopScanRequest): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. diff --git a/threatmapper/models/__init__.py b/threatmapper/models/__init__.py index 275e76b..6e3b824 100644 --- a/threatmapper/models/__init__.py +++ b/threatmapper/models/__init__.py @@ -221,8 +221,6 @@ from .model_get_agent_binary_download_url_response import ModelGetAgentBinaryDownloadURLResponse from .model_get_audit_logs_request import ModelGetAuditLogsRequest from .model_graph_result import ModelGraphResult -from .model_graph_result_edges import ModelGraphResultEdges -from .model_graph_result_nodes import ModelGraphResultNodes from .model_host import ModelHost from .model_image_stub import ModelImageStub from .model_init_agent_req import ModelInitAgentReq @@ -349,7 +347,6 @@ from .model_vulnerability_scan_trigger_req import ModelVulnerabilityScanTriggerReq from .postgresql_db_get_audit_logs_row import PostgresqlDbGetAuditLogsRow from .postgresql_db_scheduler import PostgresqlDbScheduler -from .postgresql_db_scheduler_last_ran_at import PostgresqlDbSchedulerLastRanAt from .report_metadata import ReportMetadata from .report_raw_report import ReportRawReport from .reporters_compare_filter import ReportersCompareFilter @@ -560,8 +557,6 @@ "ModelGetAgentBinaryDownloadURLResponse", "ModelGetAuditLogsRequest", "ModelGraphResult", - "ModelGraphResultEdges", - "ModelGraphResultNodes", "ModelHost", "ModelImageStub", "ModelInitAgentReq", @@ -678,7 +673,6 @@ "ModelVulnerabilityScanTriggerReq", "PostgresqlDbGetAuditLogsRow", "PostgresqlDbScheduler", - "PostgresqlDbSchedulerLastRanAt", "ReportersCompareFilter", "ReportersContainsFilter", "ReportersContainsFilterFilterInType0", diff --git a/threatmapper/models/api_docs_bad_request_response.py b/threatmapper/models/api_docs_bad_request_response.py index 234cbee..7d42526 100644 --- a/threatmapper/models/api_docs_bad_request_response.py +++ b/threatmapper/models/api_docs_bad_request_response.py @@ -16,10 +16,6 @@ @_attrs_define class ApiDocsBadRequestResponse: """ - Example: - {'error_index': {'key': [0, 0]}, 'success': False, 'error_fields': {'key': 'error_fields'}, 'message': - 'message'} - Attributes: error_fields (Union['ApiDocsBadRequestResponseErrorFieldsType0', None, Unset]): error_index (Union['ApiDocsBadRequestResponseErrorIndexType0', None, Unset]): diff --git a/threatmapper/models/api_docs_failure_response.py b/threatmapper/models/api_docs_failure_response.py index b9e78b5..8b6819e 100644 --- a/threatmapper/models/api_docs_failure_response.py +++ b/threatmapper/models/api_docs_failure_response.py @@ -11,9 +11,6 @@ @_attrs_define class ApiDocsFailureResponse: """ - Example: - {'success': False, 'message': 'message'} - Attributes: message (Union[Unset, str]): success (Union[Unset, bool]): diff --git a/threatmapper/models/completion_completion_node_field_req.py b/threatmapper/models/completion_completion_node_field_req.py index 96b4d69..c814ce0 100644 --- a/threatmapper/models/completion_completion_node_field_req.py +++ b/threatmapper/models/completion_completion_node_field_req.py @@ -16,26 +16,11 @@ @_attrs_define class CompletionCompletionNodeFieldReq: """ - Example: - {'completion': 'completion', 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'field_name': 'field_name'} - Attributes: completion (str): field_name (str): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. - filters (Union[Unset, ReportersFieldsFilters]): Example: {'compare_filter': [{'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}. + window (ModelFetchWindow): + filters (Union[Unset, ReportersFieldsFilters]): scan_id (Union[Unset, str]): """ diff --git a/threatmapper/models/completion_completion_node_field_res.py b/threatmapper/models/completion_completion_node_field_res.py index ef44a17..e928832 100644 --- a/threatmapper/models/completion_completion_node_field_res.py +++ b/threatmapper/models/completion_completion_node_field_res.py @@ -9,9 +9,6 @@ @_attrs_define class CompletionCompletionNodeFieldRes: """ - Example: - {'possible_values': ['possible_values', 'possible_values']} - Attributes: possible_values (Union[List[str], None]): """ diff --git a/threatmapper/models/controls_action.py b/threatmapper/models/controls_action.py index 4356f19..9d652f5 100644 --- a/threatmapper/models/controls_action.py +++ b/threatmapper/models/controls_action.py @@ -9,9 +9,6 @@ @_attrs_define class ControlsAction: """ - Example: - {'id': 6, 'request_payload': 'request_payload'} - Attributes: id (int): request_payload (str): diff --git a/threatmapper/models/controls_agent_beat.py b/threatmapper/models/controls_agent_beat.py index c13499c..d656921 100644 --- a/threatmapper/models/controls_agent_beat.py +++ b/threatmapper/models/controls_agent_beat.py @@ -9,9 +9,6 @@ @_attrs_define class ControlsAgentBeat: """ - Example: - {'beatrate': 0} - Attributes: beatrate (int): """ diff --git a/threatmapper/models/controls_agent_controls.py b/threatmapper/models/controls_agent_controls.py index bb21cc4..d9d59ce 100644 --- a/threatmapper/models/controls_agent_controls.py +++ b/threatmapper/models/controls_agent_controls.py @@ -13,10 +13,6 @@ @_attrs_define class ControlsAgentControls: """ - Example: - {'beatrate': 0, 'commands': [{'id': 6, 'request_payload': 'request_payload'}, {'id': 6, 'request_payload': - 'request_payload'}]} - Attributes: beatrate (int): commands (Union[List['ControlsAction'], None]): diff --git a/threatmapper/models/detailed_connection_summary.py b/threatmapper/models/detailed_connection_summary.py index ad20cc2..afaf449 100644 --- a/threatmapper/models/detailed_connection_summary.py +++ b/threatmapper/models/detailed_connection_summary.py @@ -11,9 +11,6 @@ @_attrs_define class DetailedConnectionSummary: """ - Example: - {'source': 'source', 'target': 'target'} - Attributes: source (Union[Unset, str]): target (Union[Unset, str]): diff --git a/threatmapper/models/detailed_node_summary.py b/threatmapper/models/detailed_node_summary.py index 002da62..50c8a90 100644 --- a/threatmapper/models/detailed_node_summary.py +++ b/threatmapper/models/detailed_node_summary.py @@ -15,71 +15,13 @@ @_attrs_define class DetailedNodeSummary: """ - Example: - {'immediate_parent_id': 'immediate_parent_id', 'metadata': {'docker_image_name_with_tag': - 'docker_image_name_with_tag', 'kubernetes_ip': 'kubernetes_ip', 'public_ip': ['public_ip', 'public_ip'], - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', - 'cpu_max': 6.027456183070403, 'pid': 7, 'kubernetes_created': 'kubernetes_created', 'kubernetes_namespace': - 'kubernetes_namespace', 'cmdline': 'cmdline', 'node_type': 'node_type', 'interface_ip_map': 'interface_ip_map', - 'pseudo': True, 'docker_container_name': 'docker_container_name', 'docker_container_created': - 'docker_container_created', 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'docker_container_networks': - 'docker_container_networks', 'kubernetes_ports': ['kubernetes_ports', 'kubernetes_ports'], 'version': 'version', - 'pod_name': 'pod_name', 'ppid': 9, 'tags': ['tags', 'tags'], 'docker_container_ports': 'docker_container_ports', - 'kubernetes_is_in_host_network': True, 'instance_id': 'instance_id', 'kernel_id': 'kernel_id', 'copy_of': - 'copy_of', 'open_files': ['open_files', 'open_files'], 'docker_env': 'docker_env', 'connection_count': 0, - 'docker_image_size': 'docker_image_size', 'short_name': 'short_name', 'cpu_usage': 1.4658129805029452, 'pod_id': - 'pod_id', 'docker_label': 'docker_label', 'instance_type': 'instance_type', 'docker_image_name': - 'docker_image_name', 'user_defined_tags': ['user_defined_tags', 'user_defined_tags'], 'local_networks': - ['local_networks', 'local_networks'], 'cloud_region': 'cloud_region', 'kubernetes_state': 'kubernetes_state', - 'interface_names': ['interface_names', 'interface_names'], 'memory_usage': 5, 'open_files_count': 2, - 'kubernetes_public_ip': 'kubernetes_public_ip', 'private_ip': ['private_ip', 'private_ip'], - 'docker_container_network_mode': 'docker_container_network_mode', 'cloud_account_id': 'cloud_account_id', - 'kubernetes_type': 'kubernetes_type', 'resource_group': 'resource_group', 'docker_image_tag': - 'docker_image_tag', 'kubernetes_labels': 'kubernetes_labels', 'docker_container_ips': ['docker_container_ips', - 'docker_container_ips'], 'docker_image_id': 'docker_image_id', 'timestamp': 'timestamp', 'interface_ips': - ['interface_ips', 'interface_ips'], 'is_deepfence_system': True, 'availability_zone': 'availability_zone', - 'is_console_vm': True, 'os': 'os', 'local_cidr': ['local_cidr', 'local_cidr'], 'node_name': 'node_name', - 'threads': 3, 'cloud_provider': 'cloud_provider', 'docker_container_command': 'docker_container_command', - 'agent_running': True, 'uptime': 2, 'memory_max': 5, 'docker_image_created_at': 'docker_image_created_at', - 'kernel_version': 'kernel_version', 'docker_container_state_human': 'docker_container_state_human', - 'docker_image_virtual_size': 'docker_image_virtual_size', 'kubernetes_ingress_ip': ['kubernetes_ingress_ip', - 'kubernetes_ingress_ip'], 'host_name': 'host_name', 'node_id': 'node_id'}, 'adjacency': ['adjacency', - 'adjacency'], 'ids': ['ids', 'ids'], 'id': 'id', 'label': 'label', 'type': 'type'} - Attributes: adjacency (Union[Unset, List[str]]): id (Union[Unset, str]): ids (Union[Unset, List[str]]): immediate_parent_id (Union[Unset, str]): label (Union[Unset, str]): - metadata (Union[Unset, ReportMetadata]): Example: {'docker_image_name_with_tag': 'docker_image_name_with_tag', - 'kubernetes_ip': 'kubernetes_ip', 'public_ip': ['public_ip', 'public_ip'], 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', 'cpu_max': 6.027456183070403, - 'pid': 7, 'kubernetes_created': 'kubernetes_created', 'kubernetes_namespace': 'kubernetes_namespace', 'cmdline': - 'cmdline', 'node_type': 'node_type', 'interface_ip_map': 'interface_ip_map', 'pseudo': True, - 'docker_container_name': 'docker_container_name', 'docker_container_created': 'docker_container_created', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'docker_container_networks': 'docker_container_networks', - 'kubernetes_ports': ['kubernetes_ports', 'kubernetes_ports'], 'version': 'version', 'pod_name': 'pod_name', - 'ppid': 9, 'tags': ['tags', 'tags'], 'docker_container_ports': 'docker_container_ports', - 'kubernetes_is_in_host_network': True, 'instance_id': 'instance_id', 'kernel_id': 'kernel_id', 'copy_of': - 'copy_of', 'open_files': ['open_files', 'open_files'], 'docker_env': 'docker_env', 'connection_count': 0, - 'docker_image_size': 'docker_image_size', 'short_name': 'short_name', 'cpu_usage': 1.4658129805029452, 'pod_id': - 'pod_id', 'docker_label': 'docker_label', 'instance_type': 'instance_type', 'docker_image_name': - 'docker_image_name', 'user_defined_tags': ['user_defined_tags', 'user_defined_tags'], 'local_networks': - ['local_networks', 'local_networks'], 'cloud_region': 'cloud_region', 'kubernetes_state': 'kubernetes_state', - 'interface_names': ['interface_names', 'interface_names'], 'memory_usage': 5, 'open_files_count': 2, - 'kubernetes_public_ip': 'kubernetes_public_ip', 'private_ip': ['private_ip', 'private_ip'], - 'docker_container_network_mode': 'docker_container_network_mode', 'cloud_account_id': 'cloud_account_id', - 'kubernetes_type': 'kubernetes_type', 'resource_group': 'resource_group', 'docker_image_tag': - 'docker_image_tag', 'kubernetes_labels': 'kubernetes_labels', 'docker_container_ips': ['docker_container_ips', - 'docker_container_ips'], 'docker_image_id': 'docker_image_id', 'timestamp': 'timestamp', 'interface_ips': - ['interface_ips', 'interface_ips'], 'is_deepfence_system': True, 'availability_zone': 'availability_zone', - 'is_console_vm': True, 'os': 'os', 'local_cidr': ['local_cidr', 'local_cidr'], 'node_name': 'node_name', - 'threads': 3, 'cloud_provider': 'cloud_provider', 'docker_container_command': 'docker_container_command', - 'agent_running': True, 'uptime': 2, 'memory_max': 5, 'docker_image_created_at': 'docker_image_created_at', - 'kernel_version': 'kernel_version', 'docker_container_state_human': 'docker_container_state_human', - 'docker_image_virtual_size': 'docker_image_virtual_size', 'kubernetes_ingress_ip': ['kubernetes_ingress_ip', - 'kubernetes_ingress_ip'], 'host_name': 'host_name', 'node_id': 'node_id'}. + metadata (Union[Unset, ReportMetadata]): type (Union[Unset, str]): """ diff --git a/threatmapper/models/diagnosis_diagnostic_logs_link.py b/threatmapper/models/diagnosis_diagnostic_logs_link.py index 4302b78..ac2a2a8 100644 --- a/threatmapper/models/diagnosis_diagnostic_logs_link.py +++ b/threatmapper/models/diagnosis_diagnostic_logs_link.py @@ -11,9 +11,6 @@ @_attrs_define class DiagnosisDiagnosticLogsLink: """ - Example: - {'url_link': 'url_link', 'created_at': 'created_at', 'label': 'label', 'message': 'message', 'type': 'type'} - Attributes: created_at (Union[Unset, str]): label (Union[Unset, str]): diff --git a/threatmapper/models/diagnosis_diagnostic_logs_status.py b/threatmapper/models/diagnosis_diagnostic_logs_status.py index ba50aeb..58d31bc 100644 --- a/threatmapper/models/diagnosis_diagnostic_logs_status.py +++ b/threatmapper/models/diagnosis_diagnostic_logs_status.py @@ -11,9 +11,6 @@ @_attrs_define class DiagnosisDiagnosticLogsStatus: """ - Example: - {'message': 'message', 'status': 'status'} - Attributes: status (str): message (Union[Unset, str]): diff --git a/threatmapper/models/diagnosis_diagnostic_notification.py b/threatmapper/models/diagnosis_diagnostic_notification.py index e5c6fbe..57e6aa1 100644 --- a/threatmapper/models/diagnosis_diagnostic_notification.py +++ b/threatmapper/models/diagnosis_diagnostic_notification.py @@ -11,10 +11,6 @@ @_attrs_define class DiagnosisDiagnosticNotification: """ - Example: - {'expiry_in_secs': '', 'follow_url': '', 'updated_at': 'updated_at', 'source_application_id': - 'source_application_id', 'content': 'content'} - Attributes: content (Union[Unset, str]): expiry_in_secs (Union[Unset, Any]): diff --git a/threatmapper/models/diagnosis_generate_agent_diagnostic_logs_request.py b/threatmapper/models/diagnosis_generate_agent_diagnostic_logs_request.py index 1b6d243..4cc592c 100644 --- a/threatmapper/models/diagnosis_generate_agent_diagnostic_logs_request.py +++ b/threatmapper/models/diagnosis_generate_agent_diagnostic_logs_request.py @@ -13,10 +13,6 @@ @_attrs_define class DiagnosisGenerateAgentDiagnosticLogsRequest: """ - Example: - {'tail': 0, 'node_ids': [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]} - Attributes: node_ids (Union[List['DiagnosisNodeIdentifier'], None]): tail (int): diff --git a/threatmapper/models/diagnosis_generate_cloud_scanner_diagnostic_logs_request.py b/threatmapper/models/diagnosis_generate_cloud_scanner_diagnostic_logs_request.py index f52c5fe..bede71c 100644 --- a/threatmapper/models/diagnosis_generate_cloud_scanner_diagnostic_logs_request.py +++ b/threatmapper/models/diagnosis_generate_cloud_scanner_diagnostic_logs_request.py @@ -13,10 +13,6 @@ @_attrs_define class DiagnosisGenerateCloudScannerDiagnosticLogsRequest: """ - Example: - {'tail': 0, 'node_ids': [{'node_type': 'host', 'node_id': 'node_id'}, {'node_type': 'host', 'node_id': - 'node_id'}]} - Attributes: node_ids (Union[List['DiagnosisNodeIdentifier'], None]): tail (int): diff --git a/threatmapper/models/diagnosis_generate_console_diagnostic_logs_request.py b/threatmapper/models/diagnosis_generate_console_diagnostic_logs_request.py index e47f8cc..788479a 100644 --- a/threatmapper/models/diagnosis_generate_console_diagnostic_logs_request.py +++ b/threatmapper/models/diagnosis_generate_console_diagnostic_logs_request.py @@ -9,9 +9,6 @@ @_attrs_define class DiagnosisGenerateConsoleDiagnosticLogsRequest: """ - Example: - {'tail': 0} - Attributes: tail (int): """ diff --git a/threatmapper/models/diagnosis_get_diagnostic_logs_response.py b/threatmapper/models/diagnosis_get_diagnostic_logs_response.py index 3b37efa..8a96d1c 100644 --- a/threatmapper/models/diagnosis_get_diagnostic_logs_response.py +++ b/threatmapper/models/diagnosis_get_diagnostic_logs_response.py @@ -15,13 +15,6 @@ @_attrs_define class DiagnosisGetDiagnosticLogsResponse: """ - Example: - {'console_logs': [{'url_link': 'url_link', 'created_at': 'created_at', 'label': 'label', 'message': 'message', - 'type': 'type'}, {'url_link': 'url_link', 'created_at': 'created_at', 'label': 'label', 'message': 'message', - 'type': 'type'}], 'agent_logs': [{'url_link': 'url_link', 'created_at': 'created_at', 'label': 'label', - 'message': 'message', 'type': 'type'}, {'url_link': 'url_link', 'created_at': 'created_at', 'label': 'label', - 'message': 'message', 'type': 'type'}]} - Attributes: agent_logs (Union[List['DiagnosisDiagnosticLogsLink'], None, Unset]): console_logs (Union[List['DiagnosisDiagnosticLogsLink'], None, Unset]): diff --git a/threatmapper/models/diagnosis_node_identifier.py b/threatmapper/models/diagnosis_node_identifier.py index f9b48c2..02d2bca 100644 --- a/threatmapper/models/diagnosis_node_identifier.py +++ b/threatmapper/models/diagnosis_node_identifier.py @@ -11,9 +11,6 @@ @_attrs_define class DiagnosisNodeIdentifier: """ - Example: - {'node_type': 'host', 'node_id': 'node_id'} - Attributes: node_id (str): node_type (DiagnosisNodeIdentifierNodeType): diff --git a/threatmapper/models/graph_cloud_provider_filter.py b/threatmapper/models/graph_cloud_provider_filter.py index 174234b..8bd7e09 100644 --- a/threatmapper/models/graph_cloud_provider_filter.py +++ b/threatmapper/models/graph_cloud_provider_filter.py @@ -9,9 +9,6 @@ @_attrs_define class GraphCloudProviderFilter: """ - Example: - {'account_ids': ['account_ids', 'account_ids']} - Attributes: account_ids (Union[List[str], None]): """ diff --git a/threatmapper/models/graph_individual_threat_graph.py b/threatmapper/models/graph_individual_threat_graph.py index f61bf98..44aa5e4 100644 --- a/threatmapper/models/graph_individual_threat_graph.py +++ b/threatmapper/models/graph_individual_threat_graph.py @@ -11,10 +11,6 @@ @_attrs_define class GraphIndividualThreatGraph: """ - Example: - {'cve_id': ['cve_id', 'cve_id'], 'ports': ['', ''], 'attack_path': [['attack_path', 'attack_path'], - ['attack_path', 'attack_path']], 'cve_attack_vector': 'cve_attack_vector'} - Attributes: attack_path (Union[List[List[str]], None, Unset]): cve_attack_vector (Union[Unset, str]): diff --git a/threatmapper/models/graph_individual_threat_graph_request.py b/threatmapper/models/graph_individual_threat_graph_request.py index 9b4d49e..64432df 100644 --- a/threatmapper/models/graph_individual_threat_graph_request.py +++ b/threatmapper/models/graph_individual_threat_graph_request.py @@ -13,10 +13,6 @@ @_attrs_define class GraphIndividualThreatGraphRequest: """ - Example: - {'graph_type': 'most_vulnerable_attack_paths', 'issue_type': 'vulnerability', 'node_ids': ['node_ids', - 'node_ids']} - Attributes: graph_type (GraphIndividualThreatGraphRequestGraphType): issue_type (GraphIndividualThreatGraphRequestIssueType): diff --git a/threatmapper/models/graph_threat_filters.py b/threatmapper/models/graph_threat_filters.py index 04ca598..91a82dd 100644 --- a/threatmapper/models/graph_threat_filters.py +++ b/threatmapper/models/graph_threat_filters.py @@ -15,16 +15,11 @@ @_attrs_define class GraphThreatFilters: """ - Example: - {'cloud_resource_only': True, 'aws_filter': {'account_ids': ['account_ids', 'account_ids']}, 'gcp_filter': - {'account_ids': ['account_ids', 'account_ids']}, 'type': 'all', 'azure_filter': {'account_ids': ['account_ids', - 'account_ids']}} - Attributes: - aws_filter (GraphCloudProviderFilter): Example: {'account_ids': ['account_ids', 'account_ids']}. - azure_filter (GraphCloudProviderFilter): Example: {'account_ids': ['account_ids', 'account_ids']}. + aws_filter (GraphCloudProviderFilter): + azure_filter (GraphCloudProviderFilter): cloud_resource_only (bool): - gcp_filter (GraphCloudProviderFilter): Example: {'account_ids': ['account_ids', 'account_ids']}. + gcp_filter (GraphCloudProviderFilter): type (GraphThreatFiltersType): """ diff --git a/threatmapper/models/graph_topology_filters.py b/threatmapper/models/graph_topology_filters.py index dbc2bd4..83bcfd1 100644 --- a/threatmapper/models/graph_topology_filters.py +++ b/threatmapper/models/graph_topology_filters.py @@ -13,27 +13,10 @@ @_attrs_define class GraphTopologyFilters: """ - Example: - {'host_filter': ['host_filter', 'host_filter'], 'field_filters': {'compare_filter': [{'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_filter': ['container_filter', 'container_filter'], 'cloud_filter': - ['cloud_filter', 'cloud_filter'], 'kubernetes_filter': ['kubernetes_filter', 'kubernetes_filter'], 'pod_filter': - ['pod_filter', 'pod_filter'], 'region_filter': ['region_filter', 'region_filter'], 'skip_connections': True} - Attributes: cloud_filter (Union[List[str], None]): container_filter (Union[List[str], None]): - field_filters (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + field_filters (ReportersFieldsFilters): host_filter (Union[List[str], None]): kubernetes_filter (Union[List[str], None]): pod_filter (Union[List[str], None]): diff --git a/threatmapper/models/ingesters_cloud_compliance.py b/threatmapper/models/ingesters_cloud_compliance.py index d8f101c..521e4e2 100644 --- a/threatmapper/models/ingesters_cloud_compliance.py +++ b/threatmapper/models/ingesters_cloud_compliance.py @@ -11,13 +11,6 @@ @_attrs_define class IngestersCloudCompliance: """ - Example: - {'severity': 'severity', 'reason': 'reason', 'control_id': 'control_id', 'resource': 'resource', 'count': 0, - 'description': 'description', 'cloud_provider': 'cloud_provider', 'title': 'title', 'type': 'type', 'doc_id': - 'doc_id', 'compliance_check_type': 'compliance_check_type', '@timestamp': '@timestamp', 'account_id': - 'account_id', 'service': 'service', 'scan_id': 'scan_id', 'region': 'region', 'group': 'group', 'status': - 'status'} - Attributes: timestamp (Union[Unset, str]): account_id (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_cloud_compliance_scan_status.py b/threatmapper/models/ingesters_cloud_compliance_scan_status.py index 6c6b135..2eaa2b6 100644 --- a/threatmapper/models/ingesters_cloud_compliance_scan_status.py +++ b/threatmapper/models/ingesters_cloud_compliance_scan_status.py @@ -17,18 +17,10 @@ @_attrs_define class IngestersCloudComplianceScanStatus: """ - Example: - {'result': {'compliance_percentage': 6.027456183070403, 'alarm': 0, 'skip': 2, 'error': 1, 'ok': 5, 'info': 5}, - 'scan_message': 'scan_message', '@timestamp': datetime.datetime(2000, 1, 23, 4, 56, 7, - tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00')), 'total_checks': 7, 'scan_status': 'scan_status', - 'scan_id': 'scan_id', 'type': 'type', 'compliance_check_types': ['compliance_check_types', - 'compliance_check_types']} - Attributes: timestamp (Union[Unset, datetime.datetime]): compliance_check_types (Union[List[str], None, Unset]): - result (Union[Unset, IngestersComplianceStats]): Example: {'compliance_percentage': 6.027456183070403, 'alarm': - 0, 'skip': 2, 'error': 1, 'ok': 5, 'info': 5}. + result (Union[Unset, IngestersComplianceStats]): scan_id (Union[Unset, str]): scan_message (Union[Unset, str]): scan_status (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_cloud_resource.py b/threatmapper/models/ingesters_cloud_resource.py index c711284..e7cea37 100644 --- a/threatmapper/models/ingesters_cloud_resource.py +++ b/threatmapper/models/ingesters_cloud_resource.py @@ -11,30 +11,6 @@ @_attrs_define class IngestersCloudResource: """ - Example: - {'iam_instance_profile_arn': 'iam_instance_profile_arn', 'allow_blob_public_access': True, 'ingress_settings': - 'ingress_settings', 'vpc_id': 'vpc_id', 'event_notification_configuration': '', 'ip_configuration': '', - 'access_level': 'access_level', 'path': 'path', 'connectivity': 'connectivity', 'policy_std': '', - 'target_health_descriptions': '', 'iam_policy': '', 'action': 'action', 'private_ip_address': - 'private_ip_address', 'id': 'id', 'create_date': 'create_date', 'resource_vpc_config': '', 'inline_policies': - '', 'restrict_public_buckets': True, 'db_cluster_identifier': 'db_cluster_identifier', 'group': 'group', - 'target_group_arn': 'target_group_arn', 'ignore_public_acls': True, 'storage_account_name': - 'storage_account_name', 'service_name': 'service_name', 'instance_profile_arns': '', 'users': '', - 'network_interfaces': '', 'tags': '', 'security_groups': '', 'task_arn': 'task_arn', 'block_public_acls': True, - 'organization_master_account_email': 'organization_master_account_email', 'instance_id': 'instance_id', - 'public_access': 'public_access', 'task_definition': '', 'user_id': 'user_id', 'organization_id': - 'organization_id', 'name': 'name', 'resources_vpc_config': '', 'attached_policy_arns': '', - 'task_definition_arn': 'task_definition_arn', 'containers': '', 'region': 'region', 'container_definitions': '', - 'instance_type': 'instance_type', 'scheme': 'scheme', 'instances': '', 'network_mode': 'network_mode', - 'is_egress': True, 'description': 'description', 'privilege': 'privilege', 'network_configuration': '', - 'public_network_access': 'public_network_access', 'vpc_options': '', 'vpc_security_group_ids': '', 'arn': 'arn', - 'private_dns_name': 'private_dns_name', 'policy': '', 'public_ips': '', 'cluster_name': 'cluster_name', - 'cluster_arn': 'cluster_arn', 'public_ip_address': 'public_ip_address', 'cidr_ipv4': 'cidr_ipv4', 'last_status': - 'last_status', 'groups': '', 'user-groups': '', 'cloud_provider': 'cloud_provider', 'vpc_security_groups': '', - 'block_public_policy': True, 'account_id': 'account_id', 'iam_instance_profile_id': 'iam_instance_profile_id', - 'group_id': 'group_id', 'organization_master_account_arn': 'organization_master_account_arn', 'resource_id': - 'resource_id', 'bucket_policy_is_public': True, 'host_name': 'host_name'} - Attributes: access_level (Union[Unset, str]): account_id (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_compliance.py b/threatmapper/models/ingesters_compliance.py index 35c982a..391dba2 100644 --- a/threatmapper/models/ingesters_compliance.py +++ b/threatmapper/models/ingesters_compliance.py @@ -11,13 +11,6 @@ @_attrs_define class IngestersCompliance: """ - Example: - {'resource': 'resource', 'description': 'description', 'test_category': 'test_category', 'type': 'type', - 'remediation_ansible': 'remediation_ansible', 'compliance_check_type': 'compliance_check_type', - 'test_rationale': 'test_rationale', 'test_severity': 'test_severity', 'node_type': 'node_type', - 'remediation_puppet': 'remediation_puppet', 'scan_id': 'scan_id', 'remediation_script': 'remediation_script', - 'node_id': 'node_id', 'status': 'status', 'test_desc': 'test_desc', 'test_number': 'test_number'} - Attributes: compliance_check_type (Union[Unset, str]): description (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_compliance_scan_status.py b/threatmapper/models/ingesters_compliance_scan_status.py index 99ab72e..c0e4806 100644 --- a/threatmapper/models/ingesters_compliance_scan_status.py +++ b/threatmapper/models/ingesters_compliance_scan_status.py @@ -11,9 +11,6 @@ @_attrs_define class IngestersComplianceScanStatus: """ - Example: - {'scan_message': 'scan_message', 'scan_status': 'scan_status', 'scan_id': 'scan_id'} - Attributes: scan_id (Union[Unset, str]): scan_message (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_compliance_stats.py b/threatmapper/models/ingesters_compliance_stats.py index 4b53d8a..115406e 100644 --- a/threatmapper/models/ingesters_compliance_stats.py +++ b/threatmapper/models/ingesters_compliance_stats.py @@ -11,9 +11,6 @@ @_attrs_define class IngestersComplianceStats: """ - Example: - {'compliance_percentage': 6.027456183070403, 'alarm': 0, 'skip': 2, 'error': 1, 'ok': 5, 'info': 5} - Attributes: alarm (Union[Unset, int]): compliance_percentage (Union[Unset, float]): diff --git a/threatmapper/models/ingesters_malware.py b/threatmapper/models/ingesters_malware.py index 88ec461..5b4de9b 100644 --- a/threatmapper/models/ingesters_malware.py +++ b/threatmapper/models/ingesters_malware.py @@ -17,15 +17,6 @@ @_attrs_define class IngestersMalware: """ - Example: - {'summary': 'summary', 'image_layer_id': 'image_layer_id', 'rule_name': 'rule_name', 'file_sev_score': - 0.8008281904610115, 'file_severity': 'file_severity', 'strings_to_match': ['strings_to_match', - 'strings_to_match'], 'meta': ['meta', 'meta'], 'complete_filename': 'complete_filename', 'scan_id': 'scan_id', - 'class': 'class', 'meta_rules': {'date': 'date', 'reference': 'reference', 'rule_id': 'rule_id', 'filetype': - 'filetype', 'rule_name': 'rule_name', 'author': 'author', 'file_severity': 'file_severity', 'description': - 'description', 'version': 'version', 'info': 'info'}, 'severity_score': 6, 'timestamp': datetime.datetime(2000, - 1, 23, 4, 56, 7, tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00'))} - Attributes: class_ (Union[Unset, str]): complete_filename (Union[Unset, str]): @@ -33,9 +24,7 @@ class IngestersMalware: file_severity (Union[Unset, str]): image_layer_id (Union[Unset, str]): meta (Union[List[str], None, Unset]): - meta_rules (Union[Unset, IngestersMetaRules]): Example: {'date': 'date', 'reference': 'reference', 'rule_id': - 'rule_id', 'filetype': 'filetype', 'rule_name': 'rule_name', 'author': 'author', 'file_severity': - 'file_severity', 'description': 'description', 'version': 'version', 'info': 'info'}. + meta_rules (Union[Unset, IngestersMetaRules]): rule_name (Union[Unset, str]): scan_id (Union[Unset, str]): severity_score (Union[Unset, int]): diff --git a/threatmapper/models/ingesters_malware_scan_status.py b/threatmapper/models/ingesters_malware_scan_status.py index 8750e56..fb7c2f1 100644 --- a/threatmapper/models/ingesters_malware_scan_status.py +++ b/threatmapper/models/ingesters_malware_scan_status.py @@ -13,10 +13,6 @@ @_attrs_define class IngestersMalwareScanStatus: """ - Example: - {'scan_message': 'scan_message', '@timestamp': datetime.datetime(2000, 1, 23, 4, 56, 7, - tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00')), 'scan_status': 'scan_status', 'scan_id': 'scan_id'} - Attributes: timestamp (Union[Unset, datetime.datetime]): scan_id (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_meta_rules.py b/threatmapper/models/ingesters_meta_rules.py index a8a9351..2d5c631 100644 --- a/threatmapper/models/ingesters_meta_rules.py +++ b/threatmapper/models/ingesters_meta_rules.py @@ -11,11 +11,6 @@ @_attrs_define class IngestersMetaRules: """ - Example: - {'date': 'date', 'reference': 'reference', 'rule_id': 'rule_id', 'filetype': 'filetype', 'rule_name': - 'rule_name', 'author': 'author', 'file_severity': 'file_severity', 'description': 'description', 'version': - 'version', 'info': 'info'} - Attributes: author (Union[Unset, str]): date (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_report_ingestion_data.py b/threatmapper/models/ingesters_report_ingestion_data.py index cefb8e6..93f3cbe 100644 --- a/threatmapper/models/ingesters_report_ingestion_data.py +++ b/threatmapper/models/ingesters_report_ingestion_data.py @@ -55,15 +55,6 @@ @_attrs_define class IngestersReportIngestionData: """ - Example: - {'hosts': [{'key': ''}, {'key': ''}], 'host_batch': [{'key': ''}, {'key': ''}], 'kubernetes_cluster_edge_batch': - [{'key': ''}, {'key': ''}], 'process_batch': [{'key': ''}, {'key': ''}], 'container_image_edge_batch': [{'key': - ''}, {'key': ''}], 'num_merged': 0, 'container_process_edge_batch': [{'key': ''}, {'key': ''}], 'pod_batch': - [{'key': ''}, {'key': ''}], 'process_edges_batch': [{'key': ''}, {'key': ''}], 'container_edges_batch': [{'key': - ''}, {'key': ''}], 'container_batch': [{'key': ''}, {'key': ''}], 'container_image_batch': [{'key': ''}, {'key': - ''}], 'kubernetes_cluster_batch': [{'key': ''}, {'key': ''}], 'pod_edges_batch': [{'key': ''}, {'key': ''}], - 'endpoint_edges_batch': [{'key': ''}, {'key': ''}], 'pod_host_edges_batch': [{'key': ''}, {'key': ''}]} - Attributes: container_batch (Union[List['IngestersReportIngestionDataContainerBatchType0Item'], None]): container_edges_batch (Union[List['IngestersReportIngestionDataContainerEdgesBatchType0Item'], None]): diff --git a/threatmapper/models/ingesters_secret.py b/threatmapper/models/ingesters_secret.py index ea6e93b..eac4c6d 100644 --- a/threatmapper/models/ingesters_secret.py +++ b/threatmapper/models/ingesters_secret.py @@ -17,19 +17,11 @@ @_attrs_define class IngestersSecret: """ - Example: - {'ImageLayerId': 'ImageLayerId', 'Severity': {'score': 5.637376656633329, 'level': 'level'}, 'Rule': {'part': - 'part', 'name': 'name', 'signature_to_match': 'signature_to_match', 'id': 5}, 'scan_id': 'scan_id', 'Match': - {'full_filename': 'full_filename', 'matched_content': 'matched_content', 'relative_ending_index': 0, - 'starting_index': 1, 'relative_starting_index': 6}} - Attributes: image_layer_id (Union[Unset, str]): - match (Union[Unset, IngestersSecretMatch]): Example: {'full_filename': 'full_filename', 'matched_content': - 'matched_content', 'relative_ending_index': 0, 'starting_index': 1, 'relative_starting_index': 6}. - rule (Union[Unset, IngestersSecretRule]): Example: {'part': 'part', 'name': 'name', 'signature_to_match': - 'signature_to_match', 'id': 5}. - severity (Union[Unset, IngestersSecretSeverity]): Example: {'score': 5.637376656633329, 'level': 'level'}. + match (Union[Unset, IngestersSecretMatch]): + rule (Union[Unset, IngestersSecretRule]): + severity (Union[Unset, IngestersSecretSeverity]): scan_id (Union[Unset, str]): """ diff --git a/threatmapper/models/ingesters_secret_match.py b/threatmapper/models/ingesters_secret_match.py index fe964f2..1b38dd4 100644 --- a/threatmapper/models/ingesters_secret_match.py +++ b/threatmapper/models/ingesters_secret_match.py @@ -11,10 +11,6 @@ @_attrs_define class IngestersSecretMatch: """ - Example: - {'full_filename': 'full_filename', 'matched_content': 'matched_content', 'relative_ending_index': 0, - 'starting_index': 1, 'relative_starting_index': 6} - Attributes: full_filename (Union[Unset, str]): matched_content (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_secret_rule.py b/threatmapper/models/ingesters_secret_rule.py index e5e422a..c669dfb 100644 --- a/threatmapper/models/ingesters_secret_rule.py +++ b/threatmapper/models/ingesters_secret_rule.py @@ -11,9 +11,6 @@ @_attrs_define class IngestersSecretRule: """ - Example: - {'part': 'part', 'name': 'name', 'signature_to_match': 'signature_to_match', 'id': 5} - Attributes: id (Union[Unset, int]): name (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_secret_scan_status.py b/threatmapper/models/ingesters_secret_scan_status.py index af4e3e3..2638e3a 100644 --- a/threatmapper/models/ingesters_secret_scan_status.py +++ b/threatmapper/models/ingesters_secret_scan_status.py @@ -11,9 +11,6 @@ @_attrs_define class IngestersSecretScanStatus: """ - Example: - {'scan_message': 'scan_message', 'scan_status': 'scan_status', 'scan_id': 'scan_id'} - Attributes: scan_id (Union[Unset, str]): scan_message (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_secret_severity.py b/threatmapper/models/ingesters_secret_severity.py index 525a52f..208f0e1 100644 --- a/threatmapper/models/ingesters_secret_severity.py +++ b/threatmapper/models/ingesters_secret_severity.py @@ -11,9 +11,6 @@ @_attrs_define class IngestersSecretSeverity: """ - Example: - {'score': 5.637376656633329, 'level': 'level'} - Attributes: level (Union[Unset, str]): score (Union[Unset, float]): diff --git a/threatmapper/models/ingesters_vulnerability.py b/threatmapper/models/ingesters_vulnerability.py index b16daf9..46e9a5e 100644 --- a/threatmapper/models/ingesters_vulnerability.py +++ b/threatmapper/models/ingesters_vulnerability.py @@ -11,15 +11,6 @@ @_attrs_define class IngestersVulnerability: """ - Example: - {'parsed_attack_vector': 'parsed_attack_vector', 'cve_container_layer': 'cve_container_layer', - 'cve_description': 'cve_description', 'cve_overall_score': 6.027456183070403, 'cve_caused_by_package': - 'cve_caused_by_package', 'cve_attack_vector': 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, 'urls': - ['urls', 'urls'], 'cve_severity': 'cve_severity', 'cve_caused_by_package_path': 'cve_caused_by_package_path', - 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', 'cve_type': 'cve_type', 'has_live_connection': True, - 'cve_fixed_in': 'cve_fixed_in', 'init_exploitability_score': 5, 'scan_id': 'scan_id', 'cve_link': 'cve_link', - 'exploitability_score': 1} - Attributes: cve_attack_vector (Union[Unset, str]): cve_caused_by_package (Union[Unset, str]): diff --git a/threatmapper/models/ingesters_vulnerability_scan_status.py b/threatmapper/models/ingesters_vulnerability_scan_status.py index a83d332..3afc916 100644 --- a/threatmapper/models/ingesters_vulnerability_scan_status.py +++ b/threatmapper/models/ingesters_vulnerability_scan_status.py @@ -11,9 +11,6 @@ @_attrs_define class IngestersVulnerabilityScanStatus: """ - Example: - {'scan_message': 'scan_message', 'scan_status': 'scan_status', 'scan_id': 'scan_id'} - Attributes: scan_id (Union[Unset, str]): scan_message (Union[Unset, str]): diff --git a/threatmapper/models/lookup_lookup_filter.py b/threatmapper/models/lookup_lookup_filter.py index 0d95540..cd56917 100644 --- a/threatmapper/models/lookup_lookup_filter.py +++ b/threatmapper/models/lookup_lookup_filter.py @@ -13,14 +13,10 @@ @_attrs_define class LookupLookupFilter: """ - Example: - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'window': {'offset': 0, 'size': 6}, 'node_ids': - ['node_ids', 'node_ids']} - Attributes: in_field_filter (Union[List[str], None]): node_ids (Union[List[str], None]): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ in_field_filter: Union[List[str], None] diff --git a/threatmapper/models/model_add_generative_ai_bedrock_integration.py b/threatmapper/models/model_add_generative_ai_bedrock_integration.py index 90ee478..db4f405 100644 --- a/threatmapper/models/model_add_generative_ai_bedrock_integration.py +++ b/threatmapper/models/model_add_generative_ai_bedrock_integration.py @@ -15,10 +15,6 @@ @_attrs_define class ModelAddGenerativeAiBedrockIntegration: """ - Example: - {'aws_region': 'us-east-1', 'aws_access_key': 'aws_access_key', 'model_id': 'anthropic.claude-v2', - 'aws_secret_key': 'aws_secret_key', 'use_iam_role': True} - Attributes: aws_region (ModelAddGenerativeAiBedrockIntegrationAwsRegion): model_id (ModelAddGenerativeAiBedrockIntegrationModelId): diff --git a/threatmapper/models/model_add_generative_ai_open_ai_integration.py b/threatmapper/models/model_add_generative_ai_open_ai_integration.py index 642eb21..82ca606 100644 --- a/threatmapper/models/model_add_generative_ai_open_ai_integration.py +++ b/threatmapper/models/model_add_generative_ai_open_ai_integration.py @@ -11,9 +11,6 @@ @_attrs_define class ModelAddGenerativeAiOpenAIIntegration: """ - Example: - {'api_key': 'api_key', 'model_id': 'gpt-4'} - Attributes: api_key (str): model_id (ModelAddGenerativeAiOpenAIIntegrationModelId): diff --git a/threatmapper/models/model_add_scheduled_task_request.py b/threatmapper/models/model_add_scheduled_task_request.py index c0d602a..9079065 100644 --- a/threatmapper/models/model_add_scheduled_task_request.py +++ b/threatmapper/models/model_add_scheduled_task_request.py @@ -19,22 +19,10 @@ @_attrs_define class ModelAddScheduledTaskRequest: """ - Example: - {'is_priority': True, 'benchmark_types': ['hipaa', 'hipaa'], 'scan_config': [{'language': 'base'}, {'language': - 'base'}], 'cron_expr': 'cron_expr', 'action': 'SecretScan', 'description': 'description', - 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', - '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': - {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', - 'node_id': 'node_id'}]} - Attributes: action (ModelAddScheduledTaskRequestAction): benchmark_types (Union[List[ModelBenchmarkType], None]): - filters (ModelScanFilter): Example: {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', - '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': - {'key': ['', '']}}}. + filters (ModelScanFilter): node_ids (Union[List['ModelNodeIdentifier'], None]): scan_config (Union[List['ModelVulnerabilityScanConfigLanguage'], None]): cron_expr (Union[Unset, str]): diff --git a/threatmapper/models/model_agent_id.py b/threatmapper/models/model_agent_id.py index b1a9d0b..77e37d1 100644 --- a/threatmapper/models/model_agent_id.py +++ b/threatmapper/models/model_agent_id.py @@ -11,9 +11,6 @@ @_attrs_define class ModelAgentID: """ - Example: - {'node_type': 'node_type', 'available_workload': 0, 'node_id': 'node_id'} - Attributes: available_workload (int): node_id (str): diff --git a/threatmapper/models/model_agent_plugin_disable.py b/threatmapper/models/model_agent_plugin_disable.py index 90ffefb..caaa606 100644 --- a/threatmapper/models/model_agent_plugin_disable.py +++ b/threatmapper/models/model_agent_plugin_disable.py @@ -9,9 +9,6 @@ @_attrs_define class ModelAgentPluginDisable: """ - Example: - {'plugin_name': 'plugin_name', 'node_id': 'node_id'} - Attributes: node_id (str): plugin_name (str): diff --git a/threatmapper/models/model_agent_plugin_enable.py b/threatmapper/models/model_agent_plugin_enable.py index f2d38b4..4ea4ba3 100644 --- a/threatmapper/models/model_agent_plugin_enable.py +++ b/threatmapper/models/model_agent_plugin_enable.py @@ -9,9 +9,6 @@ @_attrs_define class ModelAgentPluginEnable: """ - Example: - {'plugin_name': 'plugin_name', 'version': 'version', 'node_id': 'node_id'} - Attributes: node_id (str): plugin_name (str): diff --git a/threatmapper/models/model_agent_upgrade.py b/threatmapper/models/model_agent_upgrade.py index aa3b959..b00ad6e 100644 --- a/threatmapper/models/model_agent_upgrade.py +++ b/threatmapper/models/model_agent_upgrade.py @@ -9,9 +9,6 @@ @_attrs_define class ModelAgentUpgrade: """ - Example: - {'version': 'version', 'node_ids': ['node_ids', 'node_ids']} - Attributes: node_ids (Union[List[str], None]): version (str): diff --git a/threatmapper/models/model_api_auth_request.py b/threatmapper/models/model_api_auth_request.py index 2d30311..cc96985 100644 --- a/threatmapper/models/model_api_auth_request.py +++ b/threatmapper/models/model_api_auth_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelAPIAuthRequest: """ - Example: - {'api_token': 'api_token'} - Attributes: api_token (str): """ diff --git a/threatmapper/models/model_api_token_response.py b/threatmapper/models/model_api_token_response.py index 7e25bec..31d3452 100644 --- a/threatmapper/models/model_api_token_response.py +++ b/threatmapper/models/model_api_token_response.py @@ -13,10 +13,6 @@ @_attrs_define class ModelAPITokenResponse: """ - Example: - {'company_id': 0, 'api_token': 'api_token', 'name': 'name', 'created_at': datetime.datetime(2000, 1, 23, 4, 56, - 7, tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00')), 'id': 1, 'created_by_user_id': 6} - Attributes: api_token (Union[Unset, str]): company_id (Union[Unset, int]): diff --git a/threatmapper/models/model_basic_node.py b/threatmapper/models/model_basic_node.py index 3751338..7abcdc1 100644 --- a/threatmapper/models/model_basic_node.py +++ b/threatmapper/models/model_basic_node.py @@ -9,9 +9,6 @@ @_attrs_define class ModelBasicNode: """ - Example: - {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: host_name (str): name (str): diff --git a/threatmapper/models/model_bulk_delete_report_req.py b/threatmapper/models/model_bulk_delete_report_req.py index e749999..105bce7 100644 --- a/threatmapper/models/model_bulk_delete_report_req.py +++ b/threatmapper/models/model_bulk_delete_report_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelBulkDeleteReportReq: """ - Example: - {'report_ids': ['report_ids', 'report_ids']} - Attributes: report_ids (Union[List[str], None]): """ diff --git a/threatmapper/models/model_bulk_delete_scans_request.py b/threatmapper/models/model_bulk_delete_scans_request.py index 2458423..750e7b0 100644 --- a/threatmapper/models/model_bulk_delete_scans_request.py +++ b/threatmapper/models/model_bulk_delete_scans_request.py @@ -15,22 +15,8 @@ @_attrs_define class ModelBulkDeleteScansRequest: """ - Example: - {'scan_type': 'Secret', 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': - {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}} - Attributes: - filters (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + filters (ReportersFieldsFilters): scan_type (ModelBulkDeleteScansRequestScanType): """ diff --git a/threatmapper/models/model_cloud_account_delete_req.py b/threatmapper/models/model_cloud_account_delete_req.py index 98a3450..fbffe7d 100644 --- a/threatmapper/models/model_cloud_account_delete_req.py +++ b/threatmapper/models/model_cloud_account_delete_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelCloudAccountDeleteReq: """ - Example: - {'node_ids': ['node_ids', 'node_ids']} - Attributes: node_ids (Union[List[str], None]): """ diff --git a/threatmapper/models/model_cloud_account_refresh_req.py b/threatmapper/models/model_cloud_account_refresh_req.py index 8f4bef2..135fbdc 100644 --- a/threatmapper/models/model_cloud_account_refresh_req.py +++ b/threatmapper/models/model_cloud_account_refresh_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelCloudAccountRefreshReq: """ - Example: - {'node_ids': ['node_ids', 'node_ids']} - Attributes: node_ids (Union[List[str], None]): """ diff --git a/threatmapper/models/model_cloud_compliance.py b/threatmapper/models/model_cloud_compliance.py index ac8ea99..978ae82 100644 --- a/threatmapper/models/model_cloud_compliance.py +++ b/threatmapper/models/model_cloud_compliance.py @@ -17,14 +17,6 @@ @_attrs_define class ModelCloudCompliance: """ - Example: - {'severity': 'severity', 'reason': 'reason', 'control_id': 'control_id', 'resource': 'resource', 'masked': True, - 'count': 0, 'node_name': 'node_name', 'description': 'description', 'resources': [{'node_type': 'node_type', - 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', - 'host_name': 'host_name', 'node_id': 'node_id'}], 'cloud_provider': 'cloud_provider', 'title': 'title', 'type': - 'type', 'compliance_check_type': 'hipaa', 'account_id': 'account_id', 'updated_at': 6, 'service': 'service', - 'region': 'region', 'group': 'group', 'node_id': 'node_id', 'status': 'alarm'} - Attributes: account_id (str): cloud_provider (str): diff --git a/threatmapper/models/model_cloud_compliance_control.py b/threatmapper/models/model_cloud_compliance_control.py index c996bfd..b7df197 100644 --- a/threatmapper/models/model_cloud_compliance_control.py +++ b/threatmapper/models/model_cloud_compliance_control.py @@ -11,13 +11,6 @@ @_attrs_define class ModelCloudComplianceControl: """ - Example: - {'control_id': 'control_id', 'documentation': 'documentation', 'active': True, 'description': 'description', - 'cloud_provider': 'cloud_provider', 'title': 'title', 'category_hierarchy_short': 'category_hierarchy_short', - 'executable': True, 'category_hierarchy': ['category_hierarchy', 'category_hierarchy'], 'service': 'service', - 'parent_control_hierarchy': ['parent_control_hierarchy', 'parent_control_hierarchy'], 'compliance_type': - 'compliance_type', 'disabled': True, 'category': 'category', 'node_id': 'node_id'} - Attributes: active (Union[Unset, bool]): category (Union[Unset, str]): diff --git a/threatmapper/models/model_cloud_compliance_scan_result.py b/threatmapper/models/model_cloud_compliance_scan_result.py index 7a4f2f0..f470fd8 100644 --- a/threatmapper/models/model_cloud_compliance_scan_result.py +++ b/threatmapper/models/model_cloud_compliance_scan_result.py @@ -16,25 +16,6 @@ @_attrs_define class ModelCloudComplianceScanResult: """ - Example: - {'benchmark_type': ['benchmark_type', 'benchmark_type'], 'docker_container_name': 'docker_container_name', - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 6, - 'cloud_account_id': 'cloud_account_id', 'compliances': [{'severity': 'severity', 'reason': 'reason', - 'control_id': 'control_id', 'resource': 'resource', 'masked': True, 'count': 0, 'node_name': 'node_name', - 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', - 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': - 'node_id'}], 'cloud_provider': 'cloud_provider', 'title': 'title', 'type': 'type', 'compliance_check_type': - 'hipaa', 'account_id': 'account_id', 'updated_at': 6, 'service': 'service', 'region': 'region', 'group': - 'group', 'node_id': 'node_id', 'status': 'alarm'}, {'severity': 'severity', 'reason': 'reason', 'control_id': - 'control_id', 'resource': 'resource', 'masked': True, 'count': 0, 'node_name': 'node_name', 'description': - 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': - 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'cloud_provider': 'cloud_provider', 'title': 'title', 'type': 'type', 'compliance_check_type': 'hipaa', - 'account_id': 'account_id', 'updated_at': 6, 'service': 'service', 'region': 'region', 'group': 'group', - 'node_id': 'node_id', 'status': 'alarm'}], 'compliance_percentage': 0.8008281904610115, 'node_type': - 'node_type', 'updated_at': 5, 'scan_id': 'scan_id', 'status_counts': {'key': 1}, 'docker_image_name': - 'docker_image_name', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: benchmark_type (Union[List[str], None]): cloud_account_id (str): diff --git a/threatmapper/models/model_cloud_node_account_info.py b/threatmapper/models/model_cloud_node_account_info.py index 6729d8d..c330cfb 100644 --- a/threatmapper/models/model_cloud_node_account_info.py +++ b/threatmapper/models/model_cloud_node_account_info.py @@ -21,13 +21,6 @@ @_attrs_define class ModelCloudNodeAccountInfo: """ - Example: - {'last_scan_status': 'last_scan_status', 'last_scan_id': 'last_scan_id', 'refresh_message': 'refresh_message', - 'node_name': 'node_name', 'active': True, 'cloud_provider': 'aws', 'scan_status_map': {'key': 1}, - 'host_node_id': 'host_node_id', 'version': 'version', 'refresh_status_map': {'key': 6}, 'refresh_status': - 'refresh_status', 'compliance_percentage': 0.8008281904610115, 'account_name': 'account_name', 'node_id': - 'node_id'} - Attributes: account_name (Union[Unset, str]): active (Union[Unset, bool]): diff --git a/threatmapper/models/model_cloud_node_account_register_req.py b/threatmapper/models/model_cloud_node_account_register_req.py index 7d20294..5d73c7b 100644 --- a/threatmapper/models/model_cloud_node_account_register_req.py +++ b/threatmapper/models/model_cloud_node_account_register_req.py @@ -16,13 +16,6 @@ @_attrs_define class ModelCloudNodeAccountRegisterReq: """ - Example: - {'account_id': 'account_id', 'monitored_accounts': [{'account_id': 'account_id', 'account_name': 'account_name', - 'node_id': 'node_id'}, {'account_id': 'account_id', 'account_name': 'account_name', 'node_id': 'node_id'}], - 'account_name': 'account_name', 'is_organization_deployment': True, 'cloud_provider': 'aws', - 'organization_account_id': 'organization_account_id', 'host_node_id': 'host_node_id', 'version': 'version', - 'node_id': 'node_id'} - Attributes: account_id (str): cloud_provider (ModelCloudNodeAccountRegisterReqCloudProvider): diff --git a/threatmapper/models/model_cloud_node_accounts_list_req.py b/threatmapper/models/model_cloud_node_accounts_list_req.py index dec4b88..a8597c3 100644 --- a/threatmapper/models/model_cloud_node_accounts_list_req.py +++ b/threatmapper/models/model_cloud_node_accounts_list_req.py @@ -15,12 +15,9 @@ @_attrs_define class ModelCloudNodeAccountsListReq: """ - Example: - {'cloud_provider': 'aws', 'window': {'offset': 0, 'size': 6}} - Attributes: cloud_provider (ModelCloudNodeAccountsListReqCloudProvider): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ cloud_provider: ModelCloudNodeAccountsListReqCloudProvider diff --git a/threatmapper/models/model_cloud_node_accounts_list_resp.py b/threatmapper/models/model_cloud_node_accounts_list_resp.py index 8edbbf5..d239789 100644 --- a/threatmapper/models/model_cloud_node_accounts_list_resp.py +++ b/threatmapper/models/model_cloud_node_accounts_list_resp.py @@ -13,17 +13,6 @@ @_attrs_define class ModelCloudNodeAccountsListResp: """ - Example: - {'total': 5, 'cloud_node_accounts_info': [{'last_scan_status': 'last_scan_status', 'last_scan_id': - 'last_scan_id', 'refresh_message': 'refresh_message', 'node_name': 'node_name', 'active': True, - 'cloud_provider': 'aws', 'scan_status_map': {'key': 1}, 'host_node_id': 'host_node_id', 'version': 'version', - 'refresh_status_map': {'key': 6}, 'refresh_status': 'refresh_status', 'compliance_percentage': - 0.8008281904610115, 'account_name': 'account_name', 'node_id': 'node_id'}, {'last_scan_status': - 'last_scan_status', 'last_scan_id': 'last_scan_id', 'refresh_message': 'refresh_message', 'node_name': - 'node_name', 'active': True, 'cloud_provider': 'aws', 'scan_status_map': {'key': 1}, 'host_node_id': - 'host_node_id', 'version': 'version', 'refresh_status_map': {'key': 6}, 'refresh_status': 'refresh_status', - 'compliance_percentage': 0.8008281904610115, 'account_name': 'account_name', 'node_id': 'node_id'}]} - Attributes: cloud_node_accounts_info (Union[List['ModelCloudNodeAccountInfo'], None]): total (int): diff --git a/threatmapper/models/model_cloud_node_compliance_control.py b/threatmapper/models/model_cloud_node_compliance_control.py index 22b4b83..ef1e4c4 100644 --- a/threatmapper/models/model_cloud_node_compliance_control.py +++ b/threatmapper/models/model_cloud_node_compliance_control.py @@ -11,11 +11,6 @@ @_attrs_define class ModelCloudNodeComplianceControl: """ - Example: - {'category_hierarchy': ['category_hierarchy', 'category_hierarchy'], 'control_id': 'control_id', 'service': - 'service', 'description': 'description', 'compliance_type': 'compliance_type', 'problem_title': 'problem_title', - 'title': 'title', 'category_hierarchy_short': 'category_hierarchy_short', 'enabled': True, 'node_id': 'node_id'} - Attributes: category_hierarchy (Union[List[str], None, Unset]): category_hierarchy_short (Union[Unset, str]): diff --git a/threatmapper/models/model_cloud_node_control_req.py b/threatmapper/models/model_cloud_node_control_req.py index 2cf7c19..cd59395 100644 --- a/threatmapper/models/model_cloud_node_control_req.py +++ b/threatmapper/models/model_cloud_node_control_req.py @@ -13,9 +13,6 @@ @_attrs_define class ModelCloudNodeControlReq: """ - Example: - {'cloud_provider': 'aws', 'compliance_type': 'hipaa', 'node_id': 'node_id'} - Attributes: cloud_provider (ModelCloudNodeControlReqCloudProvider): compliance_type (ModelCloudNodeControlReqComplianceType): diff --git a/threatmapper/models/model_cloud_node_control_resp.py b/threatmapper/models/model_cloud_node_control_resp.py index fc3abb3..f1693fa 100644 --- a/threatmapper/models/model_cloud_node_control_resp.py +++ b/threatmapper/models/model_cloud_node_control_resp.py @@ -15,15 +15,6 @@ @_attrs_define class ModelCloudNodeControlResp: """ - Example: - {'controls': [{'category_hierarchy': ['category_hierarchy', 'category_hierarchy'], 'control_id': 'control_id', - 'service': 'service', 'description': 'description', 'compliance_type': 'compliance_type', 'problem_title': - 'problem_title', 'title': 'title', 'category_hierarchy_short': 'category_hierarchy_short', 'enabled': True, - 'node_id': 'node_id'}, {'category_hierarchy': ['category_hierarchy', 'category_hierarchy'], 'control_id': - 'control_id', 'service': 'service', 'description': 'description', 'compliance_type': 'compliance_type', - 'problem_title': 'problem_title', 'title': 'title', 'category_hierarchy_short': 'category_hierarchy_short', - 'enabled': True, 'node_id': 'node_id'}]} - Attributes: controls (Union[List['ModelCloudNodeComplianceControl'], None, Unset]): """ diff --git a/threatmapper/models/model_cloud_node_enable_disable_req.py b/threatmapper/models/model_cloud_node_enable_disable_req.py index fd1fc7c..b362e5e 100644 --- a/threatmapper/models/model_cloud_node_enable_disable_req.py +++ b/threatmapper/models/model_cloud_node_enable_disable_req.py @@ -11,9 +11,6 @@ @_attrs_define class ModelCloudNodeEnableDisableReq: """ - Example: - {'control_ids': ['control_ids', 'control_ids'], 'node_id': 'node_id'} - Attributes: control_ids (Union[List[str], None, Unset]): node_id (Union[Unset, str]): diff --git a/threatmapper/models/model_cloud_node_monitored_account.py b/threatmapper/models/model_cloud_node_monitored_account.py index 7e1388c..a4ed1be 100644 --- a/threatmapper/models/model_cloud_node_monitored_account.py +++ b/threatmapper/models/model_cloud_node_monitored_account.py @@ -11,9 +11,6 @@ @_attrs_define class ModelCloudNodeMonitoredAccount: """ - Example: - {'account_id': 'account_id', 'account_name': 'account_name', 'node_id': 'node_id'} - Attributes: account_id (str): node_id (str): diff --git a/threatmapper/models/model_cloud_node_providers_list_resp.py b/threatmapper/models/model_cloud_node_providers_list_resp.py index f656327..ef7503d 100644 --- a/threatmapper/models/model_cloud_node_providers_list_resp.py +++ b/threatmapper/models/model_cloud_node_providers_list_resp.py @@ -13,12 +13,6 @@ @_attrs_define class ModelCloudNodeProvidersListResp: """ - Example: - {'providers': [{'node_count_inactive': 1, 'compliance_percentage': 0.8008281904610115, 'node_label': - 'node_label', 'name': 'name', 'scan_count': 5, 'node_count': 6, 'resource_count': 5}, {'node_count_inactive': 1, - 'compliance_percentage': 0.8008281904610115, 'node_label': 'node_label', 'name': 'name', 'scan_count': 5, - 'node_count': 6, 'resource_count': 5}]} - Attributes: providers (Union[List['ModelPostureProvider'], None]): """ diff --git a/threatmapper/models/model_cloud_resource.py b/threatmapper/models/model_cloud_resource.py index b3bd010..47d14cf 100644 --- a/threatmapper/models/model_cloud_resource.py +++ b/threatmapper/models/model_cloud_resource.py @@ -11,12 +11,6 @@ @_attrs_define class ModelCloudResource: """ - Example: - {'cloud_compliances_count': 0, 'account_id': 'account_id', 'cloud_compliance_latest_scan_id': - 'cloud_compliance_latest_scan_id', 'node_type': 'node_type', 'cloud_compliance_scan_status': - 'cloud_compliance_scan_status', 'cloud_region': 'cloud_region', 'node_name': 'node_name', 'cloud_provider': - 'aws', 'type_label': 'type_label', 'cloud_warn_alarm_count': 6, 'node_id': 'node_id'} - Attributes: account_id (str): cloud_compliance_latest_scan_id (str): diff --git a/threatmapper/models/model_compliance.py b/threatmapper/models/model_compliance.py index 9251e62..cd52d7c 100644 --- a/threatmapper/models/model_compliance.py +++ b/threatmapper/models/model_compliance.py @@ -17,15 +17,6 @@ @_attrs_define class ModelCompliance: """ - Example: - {'resource': 'resource', 'masked': True, 'description': 'description', 'resources': [{'node_type': 'node_type', - 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', - 'host_name': 'host_name', 'node_id': 'node_id'}], 'test_category': 'test_category', 'remediation_ansible': - 'remediation_ansible', 'compliance_check_type': 'hipaa', 'rule_id': 'rule_id', 'test_rationale': - 'test_rationale', 'test_severity': 'test_severity', 'node_type': 'node_type', 'updated_at': 0, - 'remediation_puppet': 'remediation_puppet', 'remediation_script': 'remediation_script', 'node_id': 'node_id', - 'status': 'pass', 'test_desc': 'test_desc', 'test_number': 'test_number'} - Attributes: compliance_check_type (ModelComplianceComplianceCheckType): description (str): diff --git a/threatmapper/models/model_compliance_rule.py b/threatmapper/models/model_compliance_rule.py index 24e73fa..51d84e4 100644 --- a/threatmapper/models/model_compliance_rule.py +++ b/threatmapper/models/model_compliance_rule.py @@ -9,11 +9,6 @@ @_attrs_define class ModelComplianceRule: """ - Example: - {'test_rationale': 'test_rationale', 'test_severity': 'test_severity', 'updated_at': 0, 'masked': True, - 'description': 'description', 'test_category': 'test_category', 'test_desc': 'test_desc', 'test_number': - 'test_number'} - Attributes: description (str): masked (bool): diff --git a/threatmapper/models/model_compliance_scan_info.py b/threatmapper/models/model_compliance_scan_info.py index 58f862a..01ada31 100644 --- a/threatmapper/models/model_compliance_scan_info.py +++ b/threatmapper/models/model_compliance_scan_info.py @@ -15,11 +15,6 @@ @_attrs_define class ModelComplianceScanInfo: """ - Example: - {'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': 'node_type', 'benchmark_types': - ['benchmark_types', 'benchmark_types'], 'updated_at': 1, 'node_name': 'node_name', 'created_at': 0, - 'cloud_provider': 'cloud_provider', 'scan_id': 'scan_id', 'node_id': 'node_id', 'status': 'COMPLETE'} - Attributes: benchmark_types (Union[List[str], None]): cloud_provider (str): diff --git a/threatmapper/models/model_compliance_scan_result.py b/threatmapper/models/model_compliance_scan_result.py index fb92107..98bb981 100644 --- a/threatmapper/models/model_compliance_scan_result.py +++ b/threatmapper/models/model_compliance_scan_result.py @@ -14,26 +14,6 @@ @_attrs_define class ModelComplianceScanResult: """ - Example: - {'benchmark_type': ['benchmark_type', 'benchmark_type'], 'docker_container_name': 'docker_container_name', - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 6, - 'cloud_account_id': 'cloud_account_id', 'compliances': [{'resource': 'resource', 'masked': True, 'description': - 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': - 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'test_category': 'test_category', 'remediation_ansible': 'remediation_ansible', 'compliance_check_type': - 'hipaa', 'rule_id': 'rule_id', 'test_rationale': 'test_rationale', 'test_severity': 'test_severity', - 'node_type': 'node_type', 'updated_at': 0, 'remediation_puppet': 'remediation_puppet', 'remediation_script': - 'remediation_script', 'node_id': 'node_id', 'status': 'pass', 'test_desc': 'test_desc', 'test_number': - 'test_number'}, {'resource': 'resource', 'masked': True, 'description': 'description', 'resources': - [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'test_category': 'test_category', - 'remediation_ansible': 'remediation_ansible', 'compliance_check_type': 'hipaa', 'rule_id': 'rule_id', - 'test_rationale': 'test_rationale', 'test_severity': 'test_severity', 'node_type': 'node_type', 'updated_at': 0, - 'remediation_puppet': 'remediation_puppet', 'remediation_script': 'remediation_script', 'node_id': 'node_id', - 'status': 'pass', 'test_desc': 'test_desc', 'test_number': 'test_number'}], 'compliance_percentage': - 0.8008281904610115, 'node_type': 'node_type', 'updated_at': 5, 'scan_id': 'scan_id', 'status_counts': {'key': - 1}, 'docker_image_name': 'docker_image_name', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: benchmark_type (Union[List[str], None]): cloud_account_id (str): diff --git a/threatmapper/models/model_compliance_scan_result_control_group.py b/threatmapper/models/model_compliance_scan_result_control_group.py index 996d85e..9cd303e 100644 --- a/threatmapper/models/model_compliance_scan_result_control_group.py +++ b/threatmapper/models/model_compliance_scan_result_control_group.py @@ -15,10 +15,6 @@ @_attrs_define class ModelComplianceScanResultControlGroup: """ - Example: - {'benchmark_types': ['benchmark_types', 'benchmark_types'], 'counts': {'key': 0}, 'problem_title': - 'problem_title'} - Attributes: benchmark_types (Union[Unset, List[str]]): counts (Union[Unset, ModelComplianceScanResultControlGroupCounts]): diff --git a/threatmapper/models/model_compliance_scan_results_group_resp.py b/threatmapper/models/model_compliance_scan_results_group_resp.py index 303d1e6..e14fe59 100644 --- a/threatmapper/models/model_compliance_scan_results_group_resp.py +++ b/threatmapper/models/model_compliance_scan_results_group_resp.py @@ -17,10 +17,6 @@ @_attrs_define class ModelComplianceScanResultsGroupResp: """ - Example: - {'groups': {'key': {'benchmark_types': ['benchmark_types', 'benchmark_types'], 'counts': {'key': 0}, - 'problem_title': 'problem_title'}}} - Attributes: groups (Union['ModelComplianceScanResultsGroupRespGroupsType0', None, Unset]): """ diff --git a/threatmapper/models/model_compliance_scan_status_resp.py b/threatmapper/models/model_compliance_scan_status_resp.py index 522bd2e..a1523ff 100644 --- a/threatmapper/models/model_compliance_scan_status_resp.py +++ b/threatmapper/models/model_compliance_scan_status_resp.py @@ -13,15 +13,6 @@ @_attrs_define class ModelComplianceScanStatusResp: """ - Example: - {'statuses': [{'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': 'node_type', - 'benchmark_types': ['benchmark_types', 'benchmark_types'], 'updated_at': 1, 'node_name': 'node_name', - 'created_at': 0, 'cloud_provider': 'cloud_provider', 'scan_id': 'scan_id', 'node_id': 'node_id', 'status': - 'COMPLETE'}, {'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': 'node_type', - 'benchmark_types': ['benchmark_types', 'benchmark_types'], 'updated_at': 1, 'node_name': 'node_name', - 'created_at': 0, 'cloud_provider': 'cloud_provider', 'scan_id': 'scan_id', 'node_id': 'node_id', 'status': - 'COMPLETE'}]} - Attributes: statuses (Union[List['ModelComplianceScanInfo'], None]): """ diff --git a/threatmapper/models/model_compliance_scan_trigger_req.py b/threatmapper/models/model_compliance_scan_trigger_req.py index ef8407b..a53b4b3 100644 --- a/threatmapper/models/model_compliance_scan_trigger_req.py +++ b/threatmapper/models/model_compliance_scan_trigger_req.py @@ -17,19 +17,9 @@ @_attrs_define class ModelComplianceScanTriggerReq: """ - Example: - {'is_priority': True, 'benchmark_types': ['hipaa', 'hipaa'], 'deepfence_system_scan': True, 'filters': - {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': - ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}}, 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]} - Attributes: benchmark_types (Union[List[ModelBenchmarkType], None]): - filters (ModelScanFilter): Example: {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', - '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': - {'key': ['', '']}}}. + filters (ModelScanFilter): node_ids (Union[List['ModelNodeIdentifier'], None]): deepfence_system_scan (Union[Unset, bool]): is_priority (Union[Unset, bool]): diff --git a/threatmapper/models/model_complinace_scan_results_group_req.py b/threatmapper/models/model_complinace_scan_results_group_req.py index c86f51a..388a817 100644 --- a/threatmapper/models/model_complinace_scan_results_group_req.py +++ b/threatmapper/models/model_complinace_scan_results_group_req.py @@ -13,23 +13,8 @@ @_attrs_define class ModelComplinaceScanResultsGroupReq: """ - Example: - {'scan_id': 'scan_id', 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}} - Attributes: - fields_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + fields_filter (ReportersFieldsFilters): scan_id (str): """ diff --git a/threatmapper/models/model_connection.py b/threatmapper/models/model_connection.py index f956d52..19a5be6 100644 --- a/threatmapper/models/model_connection.py +++ b/threatmapper/models/model_connection.py @@ -11,9 +11,6 @@ @_attrs_define class ModelConnection: """ - Example: - {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'} - Attributes: count (Union[Unset, int]): ips (Union[List[Any], None, Unset]): diff --git a/threatmapper/models/model_container.py b/threatmapper/models/model_container.py index 0ac8bd6..1be9142 100644 --- a/threatmapper/models/model_container.py +++ b/threatmapper/models/model_container.py @@ -15,26 +15,6 @@ @_attrs_define class ModelContainer: """ - Example: - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: cpu_max (float): cpu_usage (float): @@ -49,52 +29,7 @@ class ModelContainer: docker_container_state_human (str): docker_labels (Union['ModelContainerDockerLabelsType0', None]): host_name (str): - image (ModelContainerImage): Example: {'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}. + image (ModelContainerImage): is_deepfence_system (bool): kubernetes_cluster_id (str): kubernetes_cluster_name (str): diff --git a/threatmapper/models/model_container_image.py b/threatmapper/models/model_container_image.py index ab9d36b..3be5007 100644 --- a/threatmapper/models/model_container_image.py +++ b/threatmapper/models/model_container_image.py @@ -16,53 +16,6 @@ @_attrs_define class ModelContainerImage: """ - Example: - {'is_deepfence_system': True, 'metadata': {'key': ''}, 'secret_scan_status': 'secret_scan_status', - 'vulnerabilities_count': 4, 'secrets_count': 1, 'malware_latest_scan_id': 'malware_latest_scan_id', - 'malwares_count': 7, 'node_name': 'node_name', 'secret_latest_scan_id': 'secret_latest_scan_id', - 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', 'docker_image_created_at': - 'docker_image_created_at', 'docker_image_tag': 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', - 'docker_image_size': 'docker_image_size', 'image_node_id': 'image_node_id', 'docker_image_virtual_size': - 'docker_image_virtual_size', 'containers': [{'vulnerabilities_count': 6, 'secrets_count': 1, - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', - 'cpu_max': 0.8008281904610115, 'memory_usage': 5, 'secret_latest_scan_id': 'secret_latest_scan_id', - 'docker_container_network_mode': 'docker_container_network_mode', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': - 'malware_scan_status', 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': - True, 'image': None, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'} - Attributes: containers (Union[List['ModelContainer'], None]): docker_image_created_at (str): diff --git a/threatmapper/models/model_delete_integration_req.py b/threatmapper/models/model_delete_integration_req.py index e9c9f39..87d53c0 100644 --- a/threatmapper/models/model_delete_integration_req.py +++ b/threatmapper/models/model_delete_integration_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelDeleteIntegrationReq: """ - Example: - {'integration_ids': [0, 0]} - Attributes: integration_ids (Union[List[int], None]): """ diff --git a/threatmapper/models/model_delete_registry_bulk_req.py b/threatmapper/models/model_delete_registry_bulk_req.py index e0c0e1f..40f4bbd 100644 --- a/threatmapper/models/model_delete_registry_bulk_req.py +++ b/threatmapper/models/model_delete_registry_bulk_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelDeleteRegistryBulkReq: """ - Example: - {'registry_ids': ['registry_ids', 'registry_ids']} - Attributes: registry_ids (Union[List[str], None]): """ diff --git a/threatmapper/models/model_download_report_response.py b/threatmapper/models/model_download_report_response.py index e5cc128..730663d 100644 --- a/threatmapper/models/model_download_report_response.py +++ b/threatmapper/models/model_download_report_response.py @@ -11,9 +11,6 @@ @_attrs_define class ModelDownloadReportResponse: """ - Example: - {'url_link': 'url_link'} - Attributes: url_link (Union[Unset, str]): """ diff --git a/threatmapper/models/model_download_scan_results_response.py b/threatmapper/models/model_download_scan_results_response.py index ef6f99f..aba2a9d 100644 --- a/threatmapper/models/model_download_scan_results_response.py +++ b/threatmapper/models/model_download_scan_results_response.py @@ -15,17 +15,8 @@ @_attrs_define class ModelDownloadScanResultsResponse: """ - Example: - {'scan_results': ['', ''], 'scan_info': {'cloud_account_id': 'cloud_account_id', 'node_type': 'node_type', - 'docker_container_name': 'docker_container_name', 'updated_at': 6, 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 0, 'scan_id': 'scan_id', 'docker_image_name': - 'docker_image_name', 'host_name': 'host_name', 'node_id': 'node_id'}} - Attributes: - scan_info (Union[Unset, ModelScanResultsCommon]): Example: {'cloud_account_id': 'cloud_account_id', - 'node_type': 'node_type', 'docker_container_name': 'docker_container_name', 'updated_at': 6, - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 0, 'scan_id': - 'scan_id', 'docker_image_name': 'docker_image_name', 'host_name': 'host_name', 'node_id': 'node_id'}. + scan_info (Union[Unset, ModelScanResultsCommon]): scan_results (Union[List[Any], None, Unset]): """ diff --git a/threatmapper/models/model_email_configuration_add.py b/threatmapper/models/model_email_configuration_add.py index 8586757..7517b35 100644 --- a/threatmapper/models/model_email_configuration_add.py +++ b/threatmapper/models/model_email_configuration_add.py @@ -11,11 +11,6 @@ @_attrs_define class ModelEmailConfigurationAdd: """ - Example: - {'email_id': 'email_id', 'password': 'password', 'smtp': 'smtp', 'apikey': 'apikey', 'port': 'port', - 'email_provider': 'email_provider', 'amazon_secret_key': 'amazon_secret_key', 'amazon_access_key': - 'amazon_access_key', 'created_by_user_id': 0, 'ses_region': 'ses_region'} - Attributes: amazon_access_key (Union[Unset, str]): amazon_secret_key (Union[Unset, str]): diff --git a/threatmapper/models/model_email_configuration_resp.py b/threatmapper/models/model_email_configuration_resp.py index 6ea5d35..79ab242 100644 --- a/threatmapper/models/model_email_configuration_resp.py +++ b/threatmapper/models/model_email_configuration_resp.py @@ -11,10 +11,6 @@ @_attrs_define class ModelEmailConfigurationResp: """ - Example: - {'email_id': 'email_id', 'smtp': 'smtp', 'port': 'port', 'email_provider': 'email_provider', 'id': 6, - 'created_by_user_id': 0, 'ses_region': 'ses_region'} - Attributes: created_by_user_id (Union[Unset, int]): email_id (Union[Unset, str]): diff --git a/threatmapper/models/model_export_report.py b/threatmapper/models/model_export_report.py index a678813..334c1eb 100644 --- a/threatmapper/models/model_export_report.py +++ b/threatmapper/models/model_export_report.py @@ -11,11 +11,6 @@ @_attrs_define class ModelExportReport: """ - Example: - {'status_message': 'status_message', 'to_timestamp': 1, 'updated_at': 5, 'storage_path': 'storage_path', - 'report_id': 'report_id', 'created_at': 0, 'from_timestamp': 6, 'filters': 'filters', 'type': 'type', 'url': - 'url', 'status': 'status'} - Attributes: created_at (Union[Unset, int]): filters (Union[Unset, str]): diff --git a/threatmapper/models/model_fetch_window.py b/threatmapper/models/model_fetch_window.py index 3ae4eec..c71388f 100644 --- a/threatmapper/models/model_fetch_window.py +++ b/threatmapper/models/model_fetch_window.py @@ -9,9 +9,6 @@ @_attrs_define class ModelFetchWindow: """ - Example: - {'offset': 0, 'size': 6} - Attributes: offset (int): size (int): diff --git a/threatmapper/models/model_filters_req.py b/threatmapper/models/model_filters_req.py index 2558464..0a43dd7 100644 --- a/threatmapper/models/model_filters_req.py +++ b/threatmapper/models/model_filters_req.py @@ -15,9 +15,6 @@ @_attrs_define class ModelFiltersReq: """ - Example: - {'having': {'key': ''}, 'filters': ['filters', 'filters']} - Attributes: filters (Union[List[str], None]): having (Union['ModelFiltersReqHavingType0', None, Unset]): diff --git a/threatmapper/models/model_filters_result.py b/threatmapper/models/model_filters_result.py index b3e7ae2..bf3ad11 100644 --- a/threatmapper/models/model_filters_result.py +++ b/threatmapper/models/model_filters_result.py @@ -13,9 +13,6 @@ @_attrs_define class ModelFiltersResult: """ - Example: - {'filters': {'key': ['filters', 'filters']}} - Attributes: filters (Union['ModelFiltersResultFiltersType0', None]): """ diff --git a/threatmapper/models/model_generate_license_request.py b/threatmapper/models/model_generate_license_request.py index c33b032..1b27e8d 100644 --- a/threatmapper/models/model_generate_license_request.py +++ b/threatmapper/models/model_generate_license_request.py @@ -9,10 +9,6 @@ @_attrs_define class ModelGenerateLicenseRequest: """ - Example: - {'last_name': 'last_name', 'company': 'company', 'resend_email': True, 'first_name': 'first_name', 'email': - 'email'} - Attributes: company (str): email (str): diff --git a/threatmapper/models/model_generate_license_response.py b/threatmapper/models/model_generate_license_response.py index 07817c9..68d6079 100644 --- a/threatmapper/models/model_generate_license_response.py +++ b/threatmapper/models/model_generate_license_response.py @@ -11,9 +11,6 @@ @_attrs_define class ModelGenerateLicenseResponse: """ - Example: - {'success': True, 'generate_license_link': 'generate_license_link', 'message': 'message'} - Attributes: message (str): success (bool): diff --git a/threatmapper/models/model_generate_report_req.py b/threatmapper/models/model_generate_report_req.py index ad9ece7..73f2e8d 100644 --- a/threatmapper/models/model_generate_report_req.py +++ b/threatmapper/models/model_generate_report_req.py @@ -17,27 +17,11 @@ @_attrs_define class ModelGenerateReportReq: """ - Example: - {'to_timestamp': 6, 'options': {'sbom_format': 'syft-json'}, 'from_timestamp': 0, 'filters': - {'include_dead_nodes': True, 'node_type': 'host', 'most_exploitable_report': True, 'advanced_report_filters': - {'image_name': ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': ['kubernetes_cluster_name', - 'kubernetes_cluster_name'], 'masked': [True, True], 'host_name': ['host_name', 'host_name'], 'node_id': - ['node_id', 'node_id'], 'pod_name': ['pod_name', 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': - 'scan_id', 'severity_or_check_type': ['severity_or_check_type', 'severity_or_check_type']}, 'report_type': - 'pdf'} - Attributes: report_type (ModelGenerateReportReqReportType): - filters (Union[Unset, UtilsReportFilters]): Example: {'include_dead_nodes': True, 'node_type': 'host', - 'most_exploitable_report': True, 'advanced_report_filters': {'image_name': ['image_name', 'image_name'], - 'container_name': ['container_name', 'container_name'], 'scan_status': ['scan_status', 'scan_status'], - 'kubernetes_cluster_name': ['kubernetes_cluster_name', 'kubernetes_cluster_name'], 'masked': [True, True], - 'host_name': ['host_name', 'host_name'], 'node_id': ['node_id', 'node_id'], 'pod_name': ['pod_name', - 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': 'scan_id', 'severity_or_check_type': - ['severity_or_check_type', 'severity_or_check_type']}. + filters (Union[Unset, UtilsReportFilters]): from_timestamp (Union[Unset, int]): - options (Union[Unset, UtilsReportOptions]): Example: {'sbom_format': 'syft-json'}. + options (Union[Unset, UtilsReportOptions]): to_timestamp (Union[Unset, int]): """ diff --git a/threatmapper/models/model_generate_report_resp.py b/threatmapper/models/model_generate_report_resp.py index b9be5f5..abdccf2 100644 --- a/threatmapper/models/model_generate_report_resp.py +++ b/threatmapper/models/model_generate_report_resp.py @@ -11,9 +11,6 @@ @_attrs_define class ModelGenerateReportResp: """ - Example: - {'report_id': 'report_id'} - Attributes: report_id (Union[Unset, str]): """ diff --git a/threatmapper/models/model_generative_ai_integration_cloud_posture_request.py b/threatmapper/models/model_generative_ai_integration_cloud_posture_request.py index 3825f16..a9cb331 100644 --- a/threatmapper/models/model_generative_ai_integration_cloud_posture_request.py +++ b/threatmapper/models/model_generative_ai_integration_cloud_posture_request.py @@ -17,11 +17,6 @@ @_attrs_define class ModelGenerativeAiIntegrationCloudPostureRequest: """ - Example: - {'integration_id': 0, 'remediation_format': 'all', 'service': 'service', 'cloud_provider': 'cloud_provider', - 'query_type': 'remediation', 'title': 'title', 'compliance_check_type': 'compliance_check_type', 'group': - 'group'} - Attributes: cloud_provider (str): compliance_check_type (str): diff --git a/threatmapper/models/model_generative_ai_integration_kubernetes_posture_request.py b/threatmapper/models/model_generative_ai_integration_kubernetes_posture_request.py index 2b81e43..a5b309f 100644 --- a/threatmapper/models/model_generative_ai_integration_kubernetes_posture_request.py +++ b/threatmapper/models/model_generative_ai_integration_kubernetes_posture_request.py @@ -17,10 +17,6 @@ @_attrs_define class ModelGenerativeAiIntegrationKubernetesPostureRequest: """ - Example: - {'integration_id': 0, 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type'} - Attributes: compliance_check_type (str): description (str): diff --git a/threatmapper/models/model_generative_ai_integration_linux_posture_request.py b/threatmapper/models/model_generative_ai_integration_linux_posture_request.py index 77efbb1..fa1a7f1 100644 --- a/threatmapper/models/model_generative_ai_integration_linux_posture_request.py +++ b/threatmapper/models/model_generative_ai_integration_linux_posture_request.py @@ -17,10 +17,6 @@ @_attrs_define class ModelGenerativeAiIntegrationLinuxPostureRequest: """ - Example: - {'integration_id': 0, 'remediation_format': 'all', 'description': 'description', 'query_type': 'remediation', - 'compliance_check_type': 'compliance_check_type', 'test_number': 'test_number'} - Attributes: compliance_check_type (str): description (str): diff --git a/threatmapper/models/model_generative_ai_integration_list_response.py b/threatmapper/models/model_generative_ai_integration_list_response.py index 3c0b918..8504110 100644 --- a/threatmapper/models/model_generative_ai_integration_list_response.py +++ b/threatmapper/models/model_generative_ai_integration_list_response.py @@ -11,10 +11,6 @@ @_attrs_define class ModelGenerativeAiIntegrationListResponse: """ - Example: - {'default_integration': True, 'id': 0, 'label': 'label', 'integration_type': 'integration_type', - 'last_error_msg': 'last_error_msg'} - Attributes: default_integration (Union[Unset, bool]): id (Union[Unset, int]): diff --git a/threatmapper/models/model_generative_ai_integration_malware_request.py b/threatmapper/models/model_generative_ai_integration_malware_request.py index 6c9d77c..c45878f 100644 --- a/threatmapper/models/model_generative_ai_integration_malware_request.py +++ b/threatmapper/models/model_generative_ai_integration_malware_request.py @@ -14,9 +14,6 @@ @_attrs_define class ModelGenerativeAiIntegrationMalwareRequest: """ - Example: - {'integration_id': 0, 'rule_name': 'rule_name', 'query_type': 'remediation', 'info': 'info'} - Attributes: info (str): query_type (ModelGenerativeAiIntegrationMalwareRequestQueryType): diff --git a/threatmapper/models/model_generative_ai_integration_secret_request.py b/threatmapper/models/model_generative_ai_integration_secret_request.py index de70713..9d2c321 100644 --- a/threatmapper/models/model_generative_ai_integration_secret_request.py +++ b/threatmapper/models/model_generative_ai_integration_secret_request.py @@ -14,9 +14,6 @@ @_attrs_define class ModelGenerativeAiIntegrationSecretRequest: """ - Example: - {'integration_id': 0, 'name': 'name', 'query_type': 'remediation'} - Attributes: name (str): query_type (ModelGenerativeAiIntegrationSecretRequestQueryType): diff --git a/threatmapper/models/model_generative_ai_integration_vulnerability_request.py b/threatmapper/models/model_generative_ai_integration_vulnerability_request.py index c3fac84..2bda947 100644 --- a/threatmapper/models/model_generative_ai_integration_vulnerability_request.py +++ b/threatmapper/models/model_generative_ai_integration_vulnerability_request.py @@ -17,10 +17,6 @@ @_attrs_define class ModelGenerativeAiIntegrationVulnerabilityRequest: """ - Example: - {'integration_id': 0, 'remediation_format': 'all', 'cve_id': 'cve_id', 'cve_type': 'cve_type', 'query_type': - 'remediation', 'cve_caused_by_package': 'cve_caused_by_package'} - Attributes: cve_caused_by_package (str): cve_id (str): diff --git a/threatmapper/models/model_get_agent_binary_download_url_response.py b/threatmapper/models/model_get_agent_binary_download_url_response.py index 1c9837e..292052d 100644 --- a/threatmapper/models/model_get_agent_binary_download_url_response.py +++ b/threatmapper/models/model_get_agent_binary_download_url_response.py @@ -11,11 +11,6 @@ @_attrs_define class ModelGetAgentBinaryDownloadURLResponse: """ - Example: - {'agent_binary_arm64_download_url': 'agent_binary_arm64_download_url', 'agent_binary_amd64_download_url': - 'agent_binary_amd64_download_url', 'start_agent_script_download_url': 'start_agent_script_download_url', - 'uninstall_agent_script_download_url': 'uninstall_agent_script_download_url'} - Attributes: agent_binary_amd64_download_url (Union[Unset, str]): agent_binary_arm64_download_url (Union[Unset, str]): diff --git a/threatmapper/models/model_get_audit_logs_request.py b/threatmapper/models/model_get_audit_logs_request.py index 17e91fc..883f5ec 100644 --- a/threatmapper/models/model_get_audit_logs_request.py +++ b/threatmapper/models/model_get_audit_logs_request.py @@ -13,11 +13,8 @@ @_attrs_define class ModelGetAuditLogsRequest: """ - Example: - {'window': {'offset': 0, 'size': 6}} - Attributes: - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ window: "ModelFetchWindow" diff --git a/threatmapper/models/model_graph_result.py b/threatmapper/models/model_graph_result.py index 81f1974..c607f73 100644 --- a/threatmapper/models/model_graph_result.py +++ b/threatmapper/models/model_graph_result.py @@ -4,8 +4,8 @@ from attrs import field as _attrs_field if TYPE_CHECKING: - from ..models.model_graph_result_edges import ModelGraphResultEdges - from ..models.model_graph_result_nodes import ModelGraphResultNodes + from ..models.detailed_node_summaries import DetailedNodeSummaries + from ..models.detailed_topology_connection_summaries import DetailedTopologyConnectionSummaries T = TypeVar("T", bound="ModelGraphResult") @@ -14,45 +14,13 @@ @_attrs_define class ModelGraphResult: """ - Example: - {'nodes': {'key': {'immediate_parent_id': 'immediate_parent_id', 'metadata': {'docker_image_name_with_tag': - 'docker_image_name_with_tag', 'kubernetes_ip': 'kubernetes_ip', 'public_ip': ['public_ip', 'public_ip'], - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', - 'cpu_max': 6.027456183070403, 'pid': 7, 'kubernetes_created': 'kubernetes_created', 'kubernetes_namespace': - 'kubernetes_namespace', 'cmdline': 'cmdline', 'node_type': 'node_type', 'interface_ip_map': 'interface_ip_map', - 'pseudo': True, 'docker_container_name': 'docker_container_name', 'docker_container_created': - 'docker_container_created', 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'docker_container_networks': - 'docker_container_networks', 'kubernetes_ports': ['kubernetes_ports', 'kubernetes_ports'], 'version': 'version', - 'pod_name': 'pod_name', 'ppid': 9, 'tags': ['tags', 'tags'], 'docker_container_ports': 'docker_container_ports', - 'kubernetes_is_in_host_network': True, 'instance_id': 'instance_id', 'kernel_id': 'kernel_id', 'copy_of': - 'copy_of', 'open_files': ['open_files', 'open_files'], 'docker_env': 'docker_env', 'connection_count': 0, - 'docker_image_size': 'docker_image_size', 'short_name': 'short_name', 'cpu_usage': 1.4658129805029452, 'pod_id': - 'pod_id', 'docker_label': 'docker_label', 'instance_type': 'instance_type', 'docker_image_name': - 'docker_image_name', 'user_defined_tags': ['user_defined_tags', 'user_defined_tags'], 'local_networks': - ['local_networks', 'local_networks'], 'cloud_region': 'cloud_region', 'kubernetes_state': 'kubernetes_state', - 'interface_names': ['interface_names', 'interface_names'], 'memory_usage': 5, 'open_files_count': 2, - 'kubernetes_public_ip': 'kubernetes_public_ip', 'private_ip': ['private_ip', 'private_ip'], - 'docker_container_network_mode': 'docker_container_network_mode', 'cloud_account_id': 'cloud_account_id', - 'kubernetes_type': 'kubernetes_type', 'resource_group': 'resource_group', 'docker_image_tag': - 'docker_image_tag', 'kubernetes_labels': 'kubernetes_labels', 'docker_container_ips': ['docker_container_ips', - 'docker_container_ips'], 'docker_image_id': 'docker_image_id', 'timestamp': 'timestamp', 'interface_ips': - ['interface_ips', 'interface_ips'], 'is_deepfence_system': True, 'availability_zone': 'availability_zone', - 'is_console_vm': True, 'os': 'os', 'local_cidr': ['local_cidr', 'local_cidr'], 'node_name': 'node_name', - 'threads': 3, 'cloud_provider': 'cloud_provider', 'docker_container_command': 'docker_container_command', - 'agent_running': True, 'uptime': 2, 'memory_max': 5, 'docker_image_created_at': 'docker_image_created_at', - 'kernel_version': 'kernel_version', 'docker_container_state_human': 'docker_container_state_human', - 'docker_image_virtual_size': 'docker_image_virtual_size', 'kubernetes_ingress_ip': ['kubernetes_ingress_ip', - 'kubernetes_ingress_ip'], 'host_name': 'host_name', 'node_id': 'node_id'}, 'adjacency': ['adjacency', - 'adjacency'], 'ids': ['ids', 'ids'], 'id': 'id', 'label': 'label', 'type': 'type'}}, 'edges': {'key': {'source': - 'source', 'target': 'target'}}} - Attributes: - edges (ModelGraphResultEdges): - nodes (ModelGraphResultNodes): + edges (DetailedTopologyConnectionSummaries): + nodes (DetailedNodeSummaries): """ - edges: "ModelGraphResultEdges" - nodes: "ModelGraphResultNodes" + edges: "DetailedTopologyConnectionSummaries" + nodes: "DetailedNodeSummaries" additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> Dict[str, Any]: @@ -73,13 +41,13 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - from ..models.model_graph_result_edges import ModelGraphResultEdges - from ..models.model_graph_result_nodes import ModelGraphResultNodes + from ..models.detailed_node_summaries import DetailedNodeSummaries + from ..models.detailed_topology_connection_summaries import DetailedTopologyConnectionSummaries d = src_dict.copy() - edges = ModelGraphResultEdges.from_dict(d.pop("edges")) + edges = DetailedTopologyConnectionSummaries.from_dict(d.pop("edges")) - nodes = ModelGraphResultNodes.from_dict(d.pop("nodes")) + nodes = DetailedNodeSummaries.from_dict(d.pop("nodes")) model_graph_result = cls( edges=edges, diff --git a/threatmapper/models/model_graph_result_edges.py b/threatmapper/models/model_graph_result_edges.py deleted file mode 100644 index d42d835..0000000 --- a/threatmapper/models/model_graph_result_edges.py +++ /dev/null @@ -1,56 +0,0 @@ -from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar - -from attrs import define as _attrs_define -from attrs import field as _attrs_field - -if TYPE_CHECKING: - from ..models.detailed_connection_summary import DetailedConnectionSummary - - -T = TypeVar("T", bound="ModelGraphResultEdges") - - -@_attrs_define -class ModelGraphResultEdges: - """ """ - - additional_properties: Dict[str, "DetailedConnectionSummary"] = _attrs_field(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - field_dict: Dict[str, Any] = {} - for prop_name, prop in self.additional_properties.items(): - field_dict[prop_name] = prop.to_dict() - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - from ..models.detailed_connection_summary import DetailedConnectionSummary - - d = src_dict.copy() - model_graph_result_edges = cls() - - additional_properties = {} - for prop_name, prop_dict in d.items(): - additional_property = DetailedConnectionSummary.from_dict(prop_dict) - - additional_properties[prop_name] = additional_property - - model_graph_result_edges.additional_properties = additional_properties - return model_graph_result_edges - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> "DetailedConnectionSummary": - return self.additional_properties[key] - - def __setitem__(self, key: str, value: "DetailedConnectionSummary") -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/threatmapper/models/model_graph_result_nodes.py b/threatmapper/models/model_graph_result_nodes.py deleted file mode 100644 index db61609..0000000 --- a/threatmapper/models/model_graph_result_nodes.py +++ /dev/null @@ -1,56 +0,0 @@ -from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar - -from attrs import define as _attrs_define -from attrs import field as _attrs_field - -if TYPE_CHECKING: - from ..models.detailed_node_summary import DetailedNodeSummary - - -T = TypeVar("T", bound="ModelGraphResultNodes") - - -@_attrs_define -class ModelGraphResultNodes: - """ """ - - additional_properties: Dict[str, "DetailedNodeSummary"] = _attrs_field(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - field_dict: Dict[str, Any] = {} - for prop_name, prop in self.additional_properties.items(): - field_dict[prop_name] = prop.to_dict() - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - from ..models.detailed_node_summary import DetailedNodeSummary - - d = src_dict.copy() - model_graph_result_nodes = cls() - - additional_properties = {} - for prop_name, prop_dict in d.items(): - additional_property = DetailedNodeSummary.from_dict(prop_dict) - - additional_properties[prop_name] = additional_property - - model_graph_result_nodes.additional_properties = additional_properties - return model_graph_result_nodes - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> "DetailedNodeSummary": - return self.additional_properties[key] - - def __setitem__(self, key: str, value: "DetailedNodeSummary") -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/threatmapper/models/model_host.py b/threatmapper/models/model_host.py index c479500..0c73edb 100644 --- a/threatmapper/models/model_host.py +++ b/threatmapper/models/model_host.py @@ -17,250 +17,6 @@ @_attrs_define class ModelHost: """ - Example: - {'vulnerabilities_count': 1, 'public_ip': ['', ''], 'secrets_count': 7, 'cloud_region': 'cloud_region', - 'container_images': [{'is_deepfence_system': True, 'metadata': {'key': ''}, 'secret_scan_status': - 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, 'malware_latest_scan_id': - 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', 'secret_latest_scan_id': - 'secret_latest_scan_id', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': 'docker_image_tag', - 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', 'image_node_id': - 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}, {'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}], 'cpu_max': 1.4658129805029452, 'memory_usage': 4, - 'private_ip': ['', ''], 'secret_latest_scan_id': 'secret_latest_scan_id', 'exploitable_vulnerabilities_count': - 7, 'cloud_account_id': 'cloud_account_id', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'resource_group': 'resource_group', 'malware_scan_status': 'malware_scan_status', 'exploitable_malwares_count': - 5, 'inbound_connections': [{'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}, - {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}], 'availability_zone': - 'availability_zone', 'is_console_vm': True, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, - 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, - 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'compliance_scan_status': - 'compliance_scan_status', 'outbound_connections': [{'count': 9, 'node_name': 'node_name', 'ips': ['', ''], - 'node_id': 'node_id'}, {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}], 'os': - 'os', 'local_cidr': ['', ''], 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 3, - 'node_name': 'node_name', 'cloud_provider': 'cloud_provider', 'agent_running': True, 'cloud_warn_alarm_count': - 0, 'exploitable_secrets_count': 2, 'version': 'version', 'uptime': 1, 'memory_max': 2, 'instance_id': - 'instance_id', 'kernel_id': 'kernel_id', 'compliances_count': 6, 'kernel_version': 'kernel_version', - 'compliance_latest_scan_id': 'compliance_latest_scan_id', 'warn_alarm_count': 1, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'pods': [{'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, - 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, - 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': - 'secret_scan_status', 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', - 'kubernetes_created': 'kubernetes_created', 'pod_name': 'pod_name', 'kubernetes_namespace': - 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, 'malware_scan_status': 'malware_scan_status', - 'kubernetes_labels': {'key': ''}, 'containers': [{'vulnerabilities_count': 6, 'secrets_count': 1, - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', - 'cpu_max': 0.8008281904610115, 'memory_usage': 5, 'secret_latest_scan_id': 'secret_latest_scan_id', - 'docker_container_network_mode': 'docker_container_network_mode', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': - 'malware_scan_status', 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': - True, 'image': None, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', 'kubernetes_created': 'kubernetes_created', - 'pod_name': 'pod_name', 'kubernetes_namespace': 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, - 'malware_scan_status': 'malware_scan_status', 'kubernetes_labels': {'key': ''}, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'cpu_usage': 5.962133916683182, 'instance_type': 'instance_type', 'vulnerability_scan_status': - 'vulnerability_scan_status', 'host_name': 'host_name', 'local_networks': ['', ''], 'node_id': 'node_id'} - Attributes: agent_running (bool): availability_zone (str): diff --git a/threatmapper/models/model_image_stub.py b/threatmapper/models/model_image_stub.py index 63c60af..ad4f853 100644 --- a/threatmapper/models/model_image_stub.py +++ b/threatmapper/models/model_image_stub.py @@ -11,9 +11,6 @@ @_attrs_define class ModelImageStub: """ - Example: - {'images': 0, 'name': 'name', 'id': 'id', 'tags': ['tags', 'tags']} - Attributes: id (Union[Unset, str]): images (Union[Unset, int]): diff --git a/threatmapper/models/model_init_agent_req.py b/threatmapper/models/model_init_agent_req.py index 4a9fa94..9d58b45 100644 --- a/threatmapper/models/model_init_agent_req.py +++ b/threatmapper/models/model_init_agent_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelInitAgentReq: """ - Example: - {'node_type': 'node_type', 'available_workload': 0, 'version': 'version', 'node_id': 'node_id'} - Attributes: available_workload (int): node_id (str): diff --git a/threatmapper/models/model_integration_add_req.py b/threatmapper/models/model_integration_add_req.py index 40f0a4c..f398fe0 100644 --- a/threatmapper/models/model_integration_add_req.py +++ b/threatmapper/models/model_integration_add_req.py @@ -16,29 +16,11 @@ @_attrs_define class ModelIntegrationAddReq: """ - Example: - {'notification_type': 'notification_type', 'send_summary': True, 'filters': {'fields_filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, - 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, - 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'container_names': ['container_names', - 'container_names'], 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'integration_type': 'integration_type', 'config': {'key': ''}} - Attributes: integration_type (str): notification_type (str): config (Union['ModelIntegrationAddReqConfigType0', None, Unset]): - filters (Union[Unset, ModelIntegrationFilters]): Example: {'fields_filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': - {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': - {'filter_in': {'key': ['', '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + filters (Union[Unset, ModelIntegrationFilters]): send_summary (Union[Unset, bool]): """ diff --git a/threatmapper/models/model_integration_filters.py b/threatmapper/models/model_integration_filters.py index 8dc6e6b..246aaca 100644 --- a/threatmapper/models/model_integration_filters.py +++ b/threatmapper/models/model_integration_filters.py @@ -16,26 +16,10 @@ @_attrs_define class ModelIntegrationFilters: """ - Example: - {'fields_filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'container_names': - ['container_names', 'container_names'], 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': - 'image', 'node_id': 'node_id'}]} - Attributes: node_ids (Union[List['ModelNodeIdentifier'], None]): container_names (Union[List[str], None, Unset]): - fields_filters (Union[Unset, ReportersFieldsFilters]): Example: {'compare_filter': [{'greater_than': True, - 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}. + fields_filters (Union[Unset, ReportersFieldsFilters]): """ node_ids: Union[List["ModelNodeIdentifier"], None] diff --git a/threatmapper/models/model_integration_list_resp.py b/threatmapper/models/model_integration_list_resp.py index 6d2e86c..768ab8f 100644 --- a/threatmapper/models/model_integration_list_resp.py +++ b/threatmapper/models/model_integration_list_resp.py @@ -16,27 +16,9 @@ @_attrs_define class ModelIntegrationListResp: """ - Example: - {'notification_type': 'notification_type', 'filters': {'fields_filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': [{'node_type': - 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}, 'id': 0, 'integration_type': - 'integration_type', 'config': {'key': ''}, 'last_error_msg': 'last_error_msg'} - Attributes: config (Union['ModelIntegrationListRespConfigType0', None, Unset]): - filters (Union[Unset, ModelIntegrationFilters]): Example: {'fields_filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': - {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': - {'filter_in': {'key': ['', '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + filters (Union[Unset, ModelIntegrationFilters]): id (Union[Unset, int]): integration_type (Union[Unset, str]): last_error_msg (Union[Unset, str]): diff --git a/threatmapper/models/model_integration_update_req.py b/threatmapper/models/model_integration_update_req.py index b9fd5bd..1f8bece 100644 --- a/threatmapper/models/model_integration_update_req.py +++ b/threatmapper/models/model_integration_update_req.py @@ -16,27 +16,9 @@ @_attrs_define class ModelIntegrationUpdateReq: """ - Example: - {'notification_type': 'notification_type', 'send_summary': True, 'filters': {'fields_filters': - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, - 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, - 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'container_names': ['container_names', - 'container_names'], 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]}, 'id': 0, 'integration_type': 'integration_type', 'config': {'key': ''}} - Attributes: config (Union['ModelIntegrationUpdateReqConfigType0', None, Unset]): - filters (Union[Unset, ModelIntegrationFilters]): Example: {'fields_filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': - {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': - {'filter_in': {'key': ['', '']}}}, 'container_names': ['container_names', 'container_names'], 'node_ids': - [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}]}. + filters (Union[Unset, ModelIntegrationFilters]): id (Union[Unset, int]): integration_type (Union[Unset, str]): notification_type (Union[Unset, str]): diff --git a/threatmapper/models/model_invite_user_request.py b/threatmapper/models/model_invite_user_request.py index 871807f..788611c 100644 --- a/threatmapper/models/model_invite_user_request.py +++ b/threatmapper/models/model_invite_user_request.py @@ -12,9 +12,6 @@ @_attrs_define class ModelInviteUserRequest: """ - Example: - {'role': 'admin', 'action': 'send-invite-email', 'email': 'email'} - Attributes: action (ModelInviteUserRequestAction): email (str): diff --git a/threatmapper/models/model_invite_user_response.py b/threatmapper/models/model_invite_user_response.py index 765e869..e661f5a 100644 --- a/threatmapper/models/model_invite_user_response.py +++ b/threatmapper/models/model_invite_user_response.py @@ -11,9 +11,6 @@ @_attrs_define class ModelInviteUserResponse: """ - Example: - {'invite_expiry_hours': 0, 'invite_url': 'invite_url', 'message': 'message'} - Attributes: invite_expiry_hours (Union[Unset, int]): invite_url (Union[Unset, str]): diff --git a/threatmapper/models/model_kubernetes_cluster.py b/threatmapper/models/model_kubernetes_cluster.py index 7cb4aa0..5e9afbb 100644 --- a/threatmapper/models/model_kubernetes_cluster.py +++ b/threatmapper/models/model_kubernetes_cluster.py @@ -13,493 +13,6 @@ @_attrs_define class ModelKubernetesCluster: """ - Example: - {'hosts': [{'vulnerabilities_count': 1, 'public_ip': ['', ''], 'secrets_count': 7, 'cloud_region': - 'cloud_region', 'container_images': [{'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}, {'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}], 'cpu_max': 1.4658129805029452, 'memory_usage': 4, - 'private_ip': ['', ''], 'secret_latest_scan_id': 'secret_latest_scan_id', 'exploitable_vulnerabilities_count': - 7, 'cloud_account_id': 'cloud_account_id', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'resource_group': 'resource_group', 'malware_scan_status': 'malware_scan_status', 'exploitable_malwares_count': - 5, 'inbound_connections': [{'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}, - {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}], 'availability_zone': - 'availability_zone', 'is_console_vm': True, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, - 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, - 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'compliance_scan_status': - 'compliance_scan_status', 'outbound_connections': [{'count': 9, 'node_name': 'node_name', 'ips': ['', ''], - 'node_id': 'node_id'}, {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}], 'os': - 'os', 'local_cidr': ['', ''], 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 3, - 'node_name': 'node_name', 'cloud_provider': 'cloud_provider', 'agent_running': True, 'cloud_warn_alarm_count': - 0, 'exploitable_secrets_count': 2, 'version': 'version', 'uptime': 1, 'memory_max': 2, 'instance_id': - 'instance_id', 'kernel_id': 'kernel_id', 'compliances_count': 6, 'kernel_version': 'kernel_version', - 'compliance_latest_scan_id': 'compliance_latest_scan_id', 'warn_alarm_count': 1, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'pods': [{'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, - 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, - 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': - 'secret_scan_status', 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', - 'kubernetes_created': 'kubernetes_created', 'pod_name': 'pod_name', 'kubernetes_namespace': - 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, 'malware_scan_status': 'malware_scan_status', - 'kubernetes_labels': {'key': ''}, 'containers': [{'vulnerabilities_count': 6, 'secrets_count': 1, - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', - 'cpu_max': 0.8008281904610115, 'memory_usage': 5, 'secret_latest_scan_id': 'secret_latest_scan_id', - 'docker_container_network_mode': 'docker_container_network_mode', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': - 'malware_scan_status', 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': - True, 'image': None, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', 'kubernetes_created': 'kubernetes_created', - 'pod_name': 'pod_name', 'kubernetes_namespace': 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, - 'malware_scan_status': 'malware_scan_status', 'kubernetes_labels': {'key': ''}, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'cpu_usage': 5.962133916683182, 'instance_type': 'instance_type', 'vulnerability_scan_status': - 'vulnerability_scan_status', 'host_name': 'host_name', 'local_networks': ['', ''], 'node_id': 'node_id'}, - {'vulnerabilities_count': 1, 'public_ip': ['', ''], 'secrets_count': 7, 'cloud_region': 'cloud_region', - 'container_images': [{'is_deepfence_system': True, 'metadata': {'key': ''}, 'secret_scan_status': - 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, 'malware_latest_scan_id': - 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', 'secret_latest_scan_id': - 'secret_latest_scan_id', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': 'docker_image_tag', - 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', 'image_node_id': - 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}, {'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}], 'cpu_max': 1.4658129805029452, 'memory_usage': 4, - 'private_ip': ['', ''], 'secret_latest_scan_id': 'secret_latest_scan_id', 'exploitable_vulnerabilities_count': - 7, 'cloud_account_id': 'cloud_account_id', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'resource_group': 'resource_group', 'malware_scan_status': 'malware_scan_status', 'exploitable_malwares_count': - 5, 'inbound_connections': [{'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}, - {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}], 'availability_zone': - 'availability_zone', 'is_console_vm': True, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, - 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, - 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'compliance_scan_status': - 'compliance_scan_status', 'outbound_connections': [{'count': 9, 'node_name': 'node_name', 'ips': ['', ''], - 'node_id': 'node_id'}, {'count': 9, 'node_name': 'node_name', 'ips': ['', ''], 'node_id': 'node_id'}], 'os': - 'os', 'local_cidr': ['', ''], 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 3, - 'node_name': 'node_name', 'cloud_provider': 'cloud_provider', 'agent_running': True, 'cloud_warn_alarm_count': - 0, 'exploitable_secrets_count': 2, 'version': 'version', 'uptime': 1, 'memory_max': 2, 'instance_id': - 'instance_id', 'kernel_id': 'kernel_id', 'compliances_count': 6, 'kernel_version': 'kernel_version', - 'compliance_latest_scan_id': 'compliance_latest_scan_id', 'warn_alarm_count': 1, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'pods': [{'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, - 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, - 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': - 'secret_scan_status', 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', - 'kubernetes_created': 'kubernetes_created', 'pod_name': 'pod_name', 'kubernetes_namespace': - 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, 'malware_scan_status': 'malware_scan_status', - 'kubernetes_labels': {'key': ''}, 'containers': [{'vulnerabilities_count': 6, 'secrets_count': 1, - 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': 'docker_container_state', - 'cpu_max': 0.8008281904610115, 'memory_usage': 5, 'secret_latest_scan_id': 'secret_latest_scan_id', - 'docker_container_network_mode': 'docker_container_network_mode', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': - 'malware_scan_status', 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': - True, 'image': None, 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, - 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': - 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', 'kubernetes_created': 'kubernetes_created', - 'pod_name': 'pod_name', 'kubernetes_namespace': 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, - 'malware_scan_status': 'malware_scan_status', 'kubernetes_labels': {'key': ''}, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'cpu_usage': 5.962133916683182, 'instance_type': 'instance_type', 'vulnerability_scan_status': - 'vulnerability_scan_status', 'host_name': 'host_name', 'local_networks': ['', ''], 'node_id': 'node_id'}], - 'node_name': 'node_name', 'agent_running': True, 'node_id': 'node_id'} - Attributes: agent_running (bool): hosts (Union[List['ModelHost'], None]): diff --git a/threatmapper/models/model_license.py b/threatmapper/models/model_license.py index 54ec9c1..4ab4909 100644 --- a/threatmapper/models/model_license.py +++ b/threatmapper/models/model_license.py @@ -15,14 +15,6 @@ @_attrs_define class ModelLicense: """ - Example: - {'end_date': 'end_date', 'no_of_registries': 5, 'notification_threshold_percentage': 2, 'current_hosts': 0, - 'is_active': True, 'license_type': 'license_type', 'notification_threshold_updated_at': 7, - 'registry_credentials': {'registry_url': 'registry_url', 'password': 'password', 'username': 'username'}, - 'description': 'description', 'no_of_hosts': 1, 'no_of_images_in_registry': 5, 'message': 'message', - 'deepfence_support_email': 'deepfence_support_email', 'license_email': 'license_email', 'no_of_cloud_accounts': - 6, 'license_email_domain': 'license_email_domain', 'key': 'key', 'start_date': 'start_date'} - Attributes: current_hosts (Union[Unset, int]): deepfence_support_email (Union[Unset, str]): @@ -40,8 +32,7 @@ class ModelLicense: no_of_registries (Union[Unset, int]): notification_threshold_percentage (Union[Unset, int]): notification_threshold_updated_at (Union[Unset, int]): - registry_credentials (Union[Unset, ModelRegistryCredentials]): Example: {'registry_url': 'registry_url', - 'password': 'password', 'username': 'username'}. + registry_credentials (Union[Unset, ModelRegistryCredentials]): start_date (Union[Unset, str]): """ diff --git a/threatmapper/models/model_list_agent_version_resp.py b/threatmapper/models/model_list_agent_version_resp.py index fbc013a..ab3a6cb 100644 --- a/threatmapper/models/model_list_agent_version_resp.py +++ b/threatmapper/models/model_list_agent_version_resp.py @@ -9,9 +9,6 @@ @_attrs_define class ModelListAgentVersionResp: """ - Example: - {'versions': ['versions', 'versions']} - Attributes: versions (Union[List[str], None]): """ diff --git a/threatmapper/models/model_login_request.py b/threatmapper/models/model_login_request.py index d758a91..09463a8 100644 --- a/threatmapper/models/model_login_request.py +++ b/threatmapper/models/model_login_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelLoginRequest: """ - Example: - {'password': 'password', 'email': 'email'} - Attributes: email (str): password (str): diff --git a/threatmapper/models/model_login_response.py b/threatmapper/models/model_login_response.py index 9e1e85d..d4667e2 100644 --- a/threatmapper/models/model_login_response.py +++ b/threatmapper/models/model_login_response.py @@ -9,11 +9,6 @@ @_attrs_define class ModelLoginResponse: """ - Example: - {'access_token': 'access_token', 'refresh_token': 'refresh_token', 'email_domain': 'email_domain', - 'license_registered': True, 'onboarding_required': True, 'password_invalidated': True, 'license_key': - 'license_key'} - Attributes: access_token (str): email_domain (str): diff --git a/threatmapper/models/model_malware.py b/threatmapper/models/model_malware.py index af9b896..5889257 100644 --- a/threatmapper/models/model_malware.py +++ b/threatmapper/models/model_malware.py @@ -16,14 +16,6 @@ @_attrs_define class ModelMalware: """ - Example: - {'date': 'date', 'summary': 'summary', 'filetype': 'filetype', 'image_layer_id': 'image_layer_id', 'rule_name': - 'rule_name', 'author': 'author', 'masked': True, 'file_sev_score': 0, 'file_severity': 'critical', - 'strings_to_match': ['', ''], 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}], 'version': 'version', 'rule_id': 'rule_id', 'complete_filename': - 'complete_filename', 'class': 'class', 'info': 'info', 'node_id': 'node_id', 'severity_score': 6} - Attributes: class_ (str): complete_filename (str): diff --git a/threatmapper/models/model_malware_rule.py b/threatmapper/models/model_malware_rule.py index f4426ac..6d08029 100644 --- a/threatmapper/models/model_malware_rule.py +++ b/threatmapper/models/model_malware_rule.py @@ -11,11 +11,6 @@ @_attrs_define class ModelMalwareRule: """ - Example: - {'date': 'date', 'reference': 'reference', 'rule_id': 'rule_id', 'filetype': 'filetype', 'updated_at': 0, - 'rule_name': 'rule_name', 'author': 'author', 'masked': True, 'file_severity': 'file_severity', 'description': - 'description', 'version': 'version', 'info': 'info'} - Attributes: masked (bool): updated_at (int): diff --git a/threatmapper/models/model_malware_scan_result.py b/threatmapper/models/model_malware_scan_result.py index 795dd46..3f16761 100644 --- a/threatmapper/models/model_malware_scan_result.py +++ b/threatmapper/models/model_malware_scan_result.py @@ -14,24 +14,6 @@ @_attrs_define class ModelMalwareScanResult: """ - Example: - {'severity_counts': {'key': 6}, 'docker_container_name': 'docker_container_name', 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 0, 'cloud_account_id': 'cloud_account_id', - 'node_type': 'node_type', 'updated_at': 1, 'scan_id': 'scan_id', 'malwares': [{'date': 'date', 'summary': - 'summary', 'filetype': 'filetype', 'image_layer_id': 'image_layer_id', 'rule_name': 'rule_name', 'author': - 'author', 'masked': True, 'file_sev_score': 0, 'file_severity': 'critical', 'strings_to_match': ['', ''], - 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', - 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': - 'node_id'}], 'version': 'version', 'rule_id': 'rule_id', 'complete_filename': 'complete_filename', 'class': - 'class', 'info': 'info', 'node_id': 'node_id', 'severity_score': 6}, {'date': 'date', 'summary': 'summary', - 'filetype': 'filetype', 'image_layer_id': 'image_layer_id', 'rule_name': 'rule_name', 'author': 'author', - 'masked': True, 'file_sev_score': 0, 'file_severity': 'critical', 'strings_to_match': ['', ''], 'description': - 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': - 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'version': 'version', 'rule_id': 'rule_id', 'complete_filename': 'complete_filename', 'class': 'class', 'info': - 'info', 'node_id': 'node_id', 'severity_score': 6}], 'docker_image_name': 'docker_image_name', 'host_name': - 'host_name', 'node_id': 'node_id'} - Attributes: cloud_account_id (str): created_at (int): diff --git a/threatmapper/models/model_malware_scan_result_class.py b/threatmapper/models/model_malware_scan_result_class.py index 6c29b94..2dd13ba 100644 --- a/threatmapper/models/model_malware_scan_result_class.py +++ b/threatmapper/models/model_malware_scan_result_class.py @@ -9,9 +9,6 @@ @_attrs_define class ModelMalwareScanResultClass: """ - Example: - {'class': ['class', 'class']} - Attributes: class_ (Union[List[str], None]): """ diff --git a/threatmapper/models/model_malware_scan_result_rules.py b/threatmapper/models/model_malware_scan_result_rules.py index fe7c195..f3c70b2 100644 --- a/threatmapper/models/model_malware_scan_result_rules.py +++ b/threatmapper/models/model_malware_scan_result_rules.py @@ -9,9 +9,6 @@ @_attrs_define class ModelMalwareScanResultRules: """ - Example: - {'rules': ['rules', 'rules']} - Attributes: rules (Union[List[str], None]): """ diff --git a/threatmapper/models/model_malware_scan_trigger_req.py b/threatmapper/models/model_malware_scan_trigger_req.py index 95b96b6..5054e69 100644 --- a/threatmapper/models/model_malware_scan_trigger_req.py +++ b/threatmapper/models/model_malware_scan_trigger_req.py @@ -16,18 +16,8 @@ @_attrs_define class ModelMalwareScanTriggerReq: """ - Example: - {'is_priority': True, 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': - {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': - 'image', 'node_id': 'node_id'}]} - Attributes: - filters (ModelScanFilter): Example: {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', - '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': - {'key': ['', '']}}}. + filters (ModelScanFilter): node_ids (Union[List['ModelNodeIdentifier'], None]): deepfence_system_scan (Union[Unset, bool]): is_priority (Union[Unset, bool]): diff --git a/threatmapper/models/model_message_response.py b/threatmapper/models/model_message_response.py index be57e24..9773b00 100644 --- a/threatmapper/models/model_message_response.py +++ b/threatmapper/models/model_message_response.py @@ -9,9 +9,6 @@ @_attrs_define class ModelMessageResponse: """ - Example: - {'message': 'message'} - Attributes: message (str): """ diff --git a/threatmapper/models/model_node_identifier.py b/threatmapper/models/model_node_identifier.py index 63d068a..aa0ff6a 100644 --- a/threatmapper/models/model_node_identifier.py +++ b/threatmapper/models/model_node_identifier.py @@ -11,9 +11,6 @@ @_attrs_define class ModelNodeIdentifier: """ - Example: - {'node_type': 'image', 'node_id': 'node_id'} - Attributes: node_id (str): node_type (ModelNodeIdentifierNodeType): diff --git a/threatmapper/models/model_nodes_in_scan_result_request.py b/threatmapper/models/model_nodes_in_scan_result_request.py index 222da07..9ccfeed 100644 --- a/threatmapper/models/model_nodes_in_scan_result_request.py +++ b/threatmapper/models/model_nodes_in_scan_result_request.py @@ -11,9 +11,6 @@ @_attrs_define class ModelNodesInScanResultRequest: """ - Example: - {'result_ids': ['result_ids', 'result_ids'], 'scan_type': 'SecretScan'} - Attributes: result_ids (Union[List[str], None]): scan_type (ModelNodesInScanResultRequestScanType): diff --git a/threatmapper/models/model_password_reset_request.py b/threatmapper/models/model_password_reset_request.py index 3e8b434..916c9d9 100644 --- a/threatmapper/models/model_password_reset_request.py +++ b/threatmapper/models/model_password_reset_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelPasswordResetRequest: """ - Example: - {'email': 'email'} - Attributes: email (str): """ diff --git a/threatmapper/models/model_password_reset_verify_request.py b/threatmapper/models/model_password_reset_verify_request.py index 02fb370..34fac9a 100644 --- a/threatmapper/models/model_password_reset_verify_request.py +++ b/threatmapper/models/model_password_reset_verify_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelPasswordResetVerifyRequest: """ - Example: - {'password': 'password', 'code': 'code', 'namespace': 'namespace'} - Attributes: code (str): namespace (str): diff --git a/threatmapper/models/model_pod.py b/threatmapper/models/model_pod.py index 6bb1814..53d2fa6 100644 --- a/threatmapper/models/model_pod.py +++ b/threatmapper/models/model_pod.py @@ -15,55 +15,6 @@ @_attrs_define class ModelPod: """ - Example: - {'is_deepfence_system': True, 'kubernetes_ip': 'kubernetes_ip', 'processes': [{'memory_max': 9, 'cmdline': - 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, - 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', - 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], 'secret_scan_status': 'secret_scan_status', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'kubernetes_state': 'kubernetes_state', 'node_name': 'node_name', 'kubernetes_created': 'kubernetes_created', - 'pod_name': 'pod_name', 'kubernetes_namespace': 'kubernetes_namespace', 'kubernetes_is_in_host_network': True, - 'malware_scan_status': 'malware_scan_status', 'kubernetes_labels': {'key': ''}, 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: containers (Union[List['ModelContainer'], None]): host_name (str): diff --git a/threatmapper/models/model_posture_provider.py b/threatmapper/models/model_posture_provider.py index 3d225aa..c1996e2 100644 --- a/threatmapper/models/model_posture_provider.py +++ b/threatmapper/models/model_posture_provider.py @@ -11,10 +11,6 @@ @_attrs_define class ModelPostureProvider: """ - Example: - {'node_count_inactive': 1, 'compliance_percentage': 0.8008281904610115, 'node_label': 'node_label', 'name': - 'name', 'scan_count': 5, 'node_count': 6, 'resource_count': 5} - Attributes: compliance_percentage (Union[Unset, float]): name (Union[Unset, str]): diff --git a/threatmapper/models/model_process.py b/threatmapper/models/model_process.py index 9161a6e..2e668b9 100644 --- a/threatmapper/models/model_process.py +++ b/threatmapper/models/model_process.py @@ -9,11 +9,6 @@ @_attrs_define class ModelProcess: """ - Example: - {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': - 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, - 'node_id': 'node_id', 'ppid': 7} - Attributes: cmdline (str): cpu_max (float): diff --git a/threatmapper/models/model_register_invited_user_request.py b/threatmapper/models/model_register_invited_user_request.py index 57c5cb9..06da5f7 100644 --- a/threatmapper/models/model_register_invited_user_request.py +++ b/threatmapper/models/model_register_invited_user_request.py @@ -11,10 +11,6 @@ @_attrs_define class ModelRegisterInvitedUserRequest: """ - Example: - {'password': 'password', 'code': 'code', 'namespace': 'namespace', 'last_name': 'last_name', 'first_name': - 'first_name', 'is_temporary_password': True} - Attributes: code (str): first_name (str): diff --git a/threatmapper/models/model_register_license_request.py b/threatmapper/models/model_register_license_request.py index ab68c5b..67a78ca 100644 --- a/threatmapper/models/model_register_license_request.py +++ b/threatmapper/models/model_register_license_request.py @@ -11,9 +11,6 @@ @_attrs_define class ModelRegisterLicenseRequest: """ - Example: - {'email': 'email', 'license_key': 'license_key'} - Attributes: license_key (str): email (Union[Unset, str]): diff --git a/threatmapper/models/model_register_license_response.py b/threatmapper/models/model_register_license_response.py index 9f0158d..5f68ccf 100644 --- a/threatmapper/models/model_register_license_response.py +++ b/threatmapper/models/model_register_license_response.py @@ -9,9 +9,6 @@ @_attrs_define class ModelRegisterLicenseResponse: """ - Example: - {'email_domain': 'email_domain', 'license_key': 'license_key'} - Attributes: email_domain (str): license_key (str): diff --git a/threatmapper/models/model_registry_account.py b/threatmapper/models/model_registry_account.py index 3a520b8..d3e2958 100644 --- a/threatmapper/models/model_registry_account.py +++ b/threatmapper/models/model_registry_account.py @@ -13,100 +13,6 @@ @_attrs_define class ModelRegistryAccount: """ - Example: - {'syncing': True, 'container_images': [{'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}, {'is_deepfence_system': True, 'metadata': {'key': ''}, - 'secret_scan_status': 'secret_scan_status', 'vulnerabilities_count': 4, 'secrets_count': 1, - 'malware_latest_scan_id': 'malware_latest_scan_id', 'malwares_count': 7, 'node_name': 'node_name', - 'secret_latest_scan_id': 'secret_latest_scan_id', 'vulnerability_latest_scan_id': - 'vulnerability_latest_scan_id', 'docker_image_created_at': 'docker_image_created_at', 'docker_image_tag': - 'docker_image_tag', 'malware_scan_status': 'malware_scan_status', 'docker_image_size': 'docker_image_size', - 'image_node_id': 'image_node_id', 'docker_image_virtual_size': 'docker_image_virtual_size', 'containers': - [{'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'vulnerabilities_count': 6, 'secrets_count': 1, 'kubernetes_cluster_name': 'kubernetes_cluster_name', - 'docker_container_state': 'docker_container_state', 'cpu_max': 0.8008281904610115, 'memory_usage': 5, - 'secret_latest_scan_id': 'secret_latest_scan_id', 'docker_container_network_mode': - 'docker_container_network_mode', 'vulnerability_latest_scan_id': 'vulnerability_latest_scan_id', - 'kubernetes_namespace': 'kubernetes_namespace', 'malware_scan_status': 'malware_scan_status', - 'docker_container_ips': ['', ''], 'docker_labels': {'key': ''}, 'is_deepfence_system': True, 'image': None, - 'processes': [{'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': 2.3021358869347655, 'node_name': 'node_name', - 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, 'short_name': 'short_name', 'cpu_usage': - 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}, {'memory_max': 9, 'cmdline': 'cmdline', 'cpu_max': - 2.3021358869347655, 'node_name': 'node_name', 'memory_usage': 3, 'open_files_count': 2, 'threads': 1, 'pid': 4, - 'short_name': 'short_name', 'cpu_usage': 7.061401241503109, 'node_id': 'node_id', 'ppid': 7}], - 'secret_scan_status': 'secret_scan_status', 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'malware_latest_scan_id': 'malware_latest_scan_id', - 'kubernetes_cluster_id': 'kubernetes_cluster_id', 'malwares_count': 1, 'node_name': 'node_name', - 'docker_container_networks': 'docker_container_networks', 'docker_container_command': - 'docker_container_command', 'uptime': 1, 'memory_max': 5, 'docker_container_ports': 'docker_container_ports', - 'docker_container_state_human': 'docker_container_state_human', 'cpu_usage': 6.027456183070403, - 'vulnerability_scan_status': 'vulnerability_scan_status', 'host_name': 'host_name', 'node_id': 'node_id'}], - 'docker_image_id': 'docker_image_id', 'vulnerability_scan_status': 'vulnerability_scan_status', - 'docker_image_name': 'docker_image_name', 'docker_image_tag_list': ['docker_image_tag_list', - 'docker_image_tag_list'], 'node_id': 'node_id'}], 'registry_type': 'registry_type', 'name': 'name', 'node_id': - 'node_id'} - Attributes: container_images (Union[List['ModelContainerImage'], None]): name (str): diff --git a/threatmapper/models/model_registry_add_req.py b/threatmapper/models/model_registry_add_req.py index 21b8b2f..183b98a 100644 --- a/threatmapper/models/model_registry_add_req.py +++ b/threatmapper/models/model_registry_add_req.py @@ -17,10 +17,6 @@ @_attrs_define class ModelRegistryAddReq: """ - Example: - {'non_secret': {'key': ''}, 'registry_type': 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': - {'key': ''}} - Attributes: name (str): registry_type (str): diff --git a/threatmapper/models/model_registry_count_resp.py b/threatmapper/models/model_registry_count_resp.py index e612fb4..9230266 100644 --- a/threatmapper/models/model_registry_count_resp.py +++ b/threatmapper/models/model_registry_count_resp.py @@ -11,9 +11,6 @@ @_attrs_define class ModelRegistryCountResp: """ - Example: - {'count': 0} - Attributes: count (Union[Unset, int]): """ diff --git a/threatmapper/models/model_registry_credentials.py b/threatmapper/models/model_registry_credentials.py index 6aa54b9..f75a4c0 100644 --- a/threatmapper/models/model_registry_credentials.py +++ b/threatmapper/models/model_registry_credentials.py @@ -11,9 +11,6 @@ @_attrs_define class ModelRegistryCredentials: """ - Example: - {'registry_url': 'registry_url', 'password': 'password', 'username': 'username'} - Attributes: password (Union[Unset, str]): registry_url (Union[Unset, str]): diff --git a/threatmapper/models/model_registry_image_stubs_req.py b/threatmapper/models/model_registry_image_stubs_req.py index 75dd5c2..76b8322 100644 --- a/threatmapper/models/model_registry_image_stubs_req.py +++ b/threatmapper/models/model_registry_image_stubs_req.py @@ -14,25 +14,10 @@ @_attrs_define class ModelRegistryImageStubsReq: """ - Example: - {'image_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': - 6}, 'registry_id': 'registry_id'} - Attributes: - image_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + image_filter (ReportersFieldsFilters): registry_id (str): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ image_filter: "ReportersFieldsFilters" diff --git a/threatmapper/models/model_registry_images_req.py b/threatmapper/models/model_registry_images_req.py index c674842..33b8e50 100644 --- a/threatmapper/models/model_registry_images_req.py +++ b/threatmapper/models/model_registry_images_req.py @@ -14,38 +14,11 @@ @_attrs_define class ModelRegistryImagesReq: """ - Example: - {'image_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': - 6}, 'image_stub_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': - {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'registry_id': - 'registry_id'} - Attributes: - image_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. - image_stub_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + image_filter (ReportersFieldsFilters): + image_stub_filter (ReportersFieldsFilters): registry_id (str): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ image_filter: "ReportersFieldsFilters" diff --git a/threatmapper/models/model_registry_list_resp.py b/threatmapper/models/model_registry_list_resp.py index b248cb2..701cda2 100644 --- a/threatmapper/models/model_registry_list_resp.py +++ b/threatmapper/models/model_registry_list_resp.py @@ -11,10 +11,6 @@ @_attrs_define class ModelRegistryListResp: """ - Example: - {'is_syncing': True, 'updated_at': 1, 'non_secret': '', 'registry_type': 'registry_type', 'name': 'name', - 'created_at': 0, 'id': 6, 'node_id': 'node_id'} - Attributes: created_at (Union[Unset, int]): id (Union[Unset, int]): diff --git a/threatmapper/models/model_registry_update_req.py b/threatmapper/models/model_registry_update_req.py index e598f75..b03f915 100644 --- a/threatmapper/models/model_registry_update_req.py +++ b/threatmapper/models/model_registry_update_req.py @@ -17,10 +17,6 @@ @_attrs_define class ModelRegistryUpdateReq: """ - Example: - {'non_secret': {'key': ''}, 'registry_type': 'registry_type', 'name': 'name', 'extras': {'key': ''}, 'secret': - {'key': ''}} - Attributes: name (str): registry_type (str): diff --git a/threatmapper/models/model_response_access_token.py b/threatmapper/models/model_response_access_token.py index e94d0ad..c83aefc 100644 --- a/threatmapper/models/model_response_access_token.py +++ b/threatmapper/models/model_response_access_token.py @@ -9,9 +9,6 @@ @_attrs_define class ModelResponseAccessToken: """ - Example: - {'access_token': 'access_token', 'refresh_token': 'refresh_token'} - Attributes: access_token (str): refresh_token (str): diff --git a/threatmapper/models/model_sbom_request.py b/threatmapper/models/model_sbom_request.py index cf53a1b..5dd59e2 100644 --- a/threatmapper/models/model_sbom_request.py +++ b/threatmapper/models/model_sbom_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelSbomRequest: """ - Example: - {'scan_id': 'scan_id'} - Attributes: scan_id (str): """ diff --git a/threatmapper/models/model_sbom_response.py b/threatmapper/models/model_sbom_response.py index 73c4a47..63722a1 100644 --- a/threatmapper/models/model_sbom_response.py +++ b/threatmapper/models/model_sbom_response.py @@ -11,10 +11,6 @@ @_attrs_define class ModelSbomResponse: """ - Example: - {'severity': 'severity', 'licenses': ['licenses', 'licenses'], 'cve_id': 'cve_id', 'package_name': - 'package_name', 'cve_node_id': 'cve_node_id', 'locations': ['locations', 'locations'], 'version': 'version'} - Attributes: cve_id (Union[Unset, str]): cve_node_id (Union[Unset, str]): diff --git a/threatmapper/models/model_scan_compare_req.py b/threatmapper/models/model_scan_compare_req.py index 9497c8c..c87ff1c 100644 --- a/threatmapper/models/model_scan_compare_req.py +++ b/threatmapper/models/model_scan_compare_req.py @@ -14,26 +14,11 @@ @_attrs_define class ModelScanCompareReq: """ - Example: - {'to_scan_id': 'to_scan_id', 'base_scan_id': 'base_scan_id', 'window': {'offset': 0, 'size': 6}, - 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}} - Attributes: base_scan_id (str): - fields_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + fields_filter (ReportersFieldsFilters): to_scan_id (str): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ base_scan_id: str diff --git a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_cloud_compliance.py b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_cloud_compliance.py index eef89d8..92df36c 100644 --- a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_cloud_compliance.py +++ b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_cloud_compliance.py @@ -13,20 +13,6 @@ @_attrs_define class ModelScanCompareResGithubComDeepfenceThreatMapperDeepfenceServerModelCloudCompliance: """ - Example: - {'new': [{'severity': 'severity', 'reason': 'reason', 'control_id': 'control_id', 'resource': 'resource', - 'masked': True, 'count': 0, 'node_name': 'node_name', 'description': 'description', 'resources': [{'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'cloud_provider': 'cloud_provider', 'title': 'title', - 'type': 'type', 'compliance_check_type': 'hipaa', 'account_id': 'account_id', 'updated_at': 6, 'service': - 'service', 'region': 'region', 'group': 'group', 'node_id': 'node_id', 'status': 'alarm'}, {'severity': - 'severity', 'reason': 'reason', 'control_id': 'control_id', 'resource': 'resource', 'masked': True, 'count': 0, - 'node_name': 'node_name', 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', - 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}], 'cloud_provider': 'cloud_provider', 'title': 'title', 'type': 'type', - 'compliance_check_type': 'hipaa', 'account_id': 'account_id', 'updated_at': 6, 'service': 'service', 'region': - 'region', 'group': 'group', 'node_id': 'node_id', 'status': 'alarm'}]} - Attributes: new (Union[List['ModelCloudCompliance'], None]): """ diff --git a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_compliance.py b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_compliance.py index 409c789..0d36ab5 100644 --- a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_compliance.py +++ b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_compliance.py @@ -13,22 +13,6 @@ @_attrs_define class ModelScanCompareResGithubComDeepfenceThreatMapperDeepfenceServerModelCompliance: """ - Example: - {'new': [{'resource': 'resource', 'masked': True, 'description': 'description', 'resources': [{'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'test_category': 'test_category', - 'remediation_ansible': 'remediation_ansible', 'compliance_check_type': 'hipaa', 'rule_id': 'rule_id', - 'test_rationale': 'test_rationale', 'test_severity': 'test_severity', 'node_type': 'node_type', 'updated_at': 0, - 'remediation_puppet': 'remediation_puppet', 'remediation_script': 'remediation_script', 'node_id': 'node_id', - 'status': 'pass', 'test_desc': 'test_desc', 'test_number': 'test_number'}, {'resource': 'resource', 'masked': - True, 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', - 'node_id': 'node_id'}], 'test_category': 'test_category', 'remediation_ansible': 'remediation_ansible', - 'compliance_check_type': 'hipaa', 'rule_id': 'rule_id', 'test_rationale': 'test_rationale', 'test_severity': - 'test_severity', 'node_type': 'node_type', 'updated_at': 0, 'remediation_puppet': 'remediation_puppet', - 'remediation_script': 'remediation_script', 'node_id': 'node_id', 'status': 'pass', 'test_desc': 'test_desc', - 'test_number': 'test_number'}]} - Attributes: new (Union[List['ModelCompliance'], None]): """ diff --git a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_malware.py b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_malware.py index 5f7ac39..2950911 100644 --- a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_malware.py +++ b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_malware.py @@ -13,20 +13,6 @@ @_attrs_define class ModelScanCompareResGithubComDeepfenceThreatMapperDeepfenceServerModelMalware: """ - Example: - {'new': [{'date': 'date', 'summary': 'summary', 'filetype': 'filetype', 'image_layer_id': 'image_layer_id', - 'rule_name': 'rule_name', 'author': 'author', 'masked': True, 'file_sev_score': 0, 'file_severity': 'critical', - 'strings_to_match': ['', ''], 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}], 'version': 'version', 'rule_id': 'rule_id', 'complete_filename': - 'complete_filename', 'class': 'class', 'info': 'info', 'node_id': 'node_id', 'severity_score': 6}, {'date': - 'date', 'summary': 'summary', 'filetype': 'filetype', 'image_layer_id': 'image_layer_id', 'rule_name': - 'rule_name', 'author': 'author', 'masked': True, 'file_sev_score': 0, 'file_severity': 'critical', - 'strings_to_match': ['', ''], 'description': 'description', 'resources': [{'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}], 'version': 'version', 'rule_id': 'rule_id', 'complete_filename': - 'complete_filename', 'class': 'class', 'info': 'info', 'node_id': 'node_id', 'severity_score': 6}]} - Attributes: new (Union[List['ModelMalware'], None]): """ diff --git a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_secret.py b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_secret.py index a043884..d7fced3 100644 --- a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_secret.py +++ b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_secret.py @@ -13,16 +13,6 @@ @_attrs_define class ModelScanCompareResGithubComDeepfenceThreatMapperDeepfenceServerModelSecret: """ - Example: - {'new': [{'score': 0.8008281904610115, 'full_filename': 'full_filename', 'matched_content': 'matched_content', - 'updated_at': 1, 'level': 'critical', 'masked': True, 'name': 'name', 'starting_index': 6, 'resources': - [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'node_id': 'node_id'}, {'score': - 0.8008281904610115, 'full_filename': 'full_filename', 'matched_content': 'matched_content', 'updated_at': 1, - 'level': 'critical', 'masked': True, 'name': 'name', 'starting_index': 6, 'resources': [{'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'node_id': 'node_id'}]} - Attributes: new (Union[List['ModelSecret'], None]): """ diff --git a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_vulnerability.py b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_vulnerability.py index 35c4a4f..d0476d5 100644 --- a/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_vulnerability.py +++ b/threatmapper/models/model_scan_compare_res_github_com_deepfence_threat_mapper_deepfence_server_model_vulnerability.py @@ -13,25 +13,6 @@ @_attrs_define class ModelScanCompareResGithubComDeepfenceThreatMapperDeepfenceServerModelVulnerability: """ - Example: - {'new': [{'parsed_attack_vector': 'parsed_attack_vector', 'cve_container_layer': 'cve_container_layer', - 'masked': True, 'cve_description': 'cve_description', 'cve_overall_score': 6.027456183070403, 'resources': - [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'cve_caused_by_package': - 'cve_caused_by_package', 'cve_attack_vector': 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, - 'rule_id': 'rule_id', 'urls': ['', ''], 'cve_severity': 'critical', 'cve_caused_by_package_path': - 'cve_caused_by_package_path', 'updated_at': 1, 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', 'cve_type': - 'cve_type', 'has_live_connection': True, 'cve_fixed_in': 'cve_fixed_in', 'cve_link': 'cve_link', 'node_id': - 'node_id'}, {'parsed_attack_vector': 'parsed_attack_vector', 'cve_container_layer': 'cve_container_layer', - 'masked': True, 'cve_description': 'cve_description', 'cve_overall_score': 6.027456183070403, 'resources': - [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'cve_caused_by_package': - 'cve_caused_by_package', 'cve_attack_vector': 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, - 'rule_id': 'rule_id', 'urls': ['', ''], 'cve_severity': 'critical', 'cve_caused_by_package_path': - 'cve_caused_by_package_path', 'updated_at': 1, 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', 'cve_type': - 'cve_type', 'has_live_connection': True, 'cve_fixed_in': 'cve_fixed_in', 'cve_link': 'cve_link', 'node_id': - 'node_id'}]} - Attributes: new (Union[List['ModelVulnerability'], None]): """ diff --git a/threatmapper/models/model_scan_filter.py b/threatmapper/models/model_scan_filter.py index e0dd7f7..30debeb 100644 --- a/threatmapper/models/model_scan_filter.py +++ b/threatmapper/models/model_scan_filter.py @@ -13,17 +13,12 @@ @_attrs_define class ModelScanFilter: """ - Example: - {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': - ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': - {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': ['', '']}}} - Attributes: - cloud_account_scan_filter (ReportersContainsFilter): Example: {'filter_in': {'key': ['', '']}}. - container_scan_filter (ReportersContainsFilter): Example: {'filter_in': {'key': ['', '']}}. - host_scan_filter (ReportersContainsFilter): Example: {'filter_in': {'key': ['', '']}}. - image_scan_filter (ReportersContainsFilter): Example: {'filter_in': {'key': ['', '']}}. - kubernetes_cluster_scan_filter (ReportersContainsFilter): Example: {'filter_in': {'key': ['', '']}}. + cloud_account_scan_filter (ReportersContainsFilter): + container_scan_filter (ReportersContainsFilter): + host_scan_filter (ReportersContainsFilter): + image_scan_filter (ReportersContainsFilter): + kubernetes_cluster_scan_filter (ReportersContainsFilter): """ cloud_account_scan_filter: "ReportersContainsFilter" diff --git a/threatmapper/models/model_scan_info.py b/threatmapper/models/model_scan_info.py index 9312d45..d831a23 100644 --- a/threatmapper/models/model_scan_info.py +++ b/threatmapper/models/model_scan_info.py @@ -15,10 +15,6 @@ @_attrs_define class ModelScanInfo: """ - Example: - {'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': 'node_type', 'updated_at': 1, - 'node_name': 'node_name', 'created_at': 0, 'scan_id': 'scan_id', 'node_id': 'node_id', 'status': 'COMPLETE'} - Attributes: created_at (int): node_id (str): diff --git a/threatmapper/models/model_scan_list_req.py b/threatmapper/models/model_scan_list_req.py index d2012ab..3ef5711 100644 --- a/threatmapper/models/model_scan_list_req.py +++ b/threatmapper/models/model_scan_list_req.py @@ -15,26 +15,10 @@ @_attrs_define class ModelScanListReq: """ - Example: - {'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]} - Attributes: - fields_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + fields_filter (ReportersFieldsFilters): node_ids (Union[List['ModelNodeIdentifier'], None]): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ fields_filter: "ReportersFieldsFilters" diff --git a/threatmapper/models/model_scan_list_resp.py b/threatmapper/models/model_scan_list_resp.py index 43ce0ad..1a7f4aa 100644 --- a/threatmapper/models/model_scan_list_resp.py +++ b/threatmapper/models/model_scan_list_resp.py @@ -13,13 +13,6 @@ @_attrs_define class ModelScanListResp: """ - Example: - {'scans_info': [{'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': 'node_type', - 'updated_at': 1, 'node_name': 'node_name', 'created_at': 0, 'scan_id': 'scan_id', 'node_id': 'node_id', - 'status': 'COMPLETE'}, {'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': - 'node_type', 'updated_at': 1, 'node_name': 'node_name', 'created_at': 0, 'scan_id': 'scan_id', 'node_id': - 'node_id', 'status': 'COMPLETE'}]} - Attributes: scans_info (Union[List['ModelScanInfo'], None]): """ diff --git a/threatmapper/models/model_scan_report_fields_response.py b/threatmapper/models/model_scan_report_fields_response.py index f8bd79a..d79731e 100644 --- a/threatmapper/models/model_scan_report_fields_response.py +++ b/threatmapper/models/model_scan_report_fields_response.py @@ -11,10 +11,6 @@ @_attrs_define class ModelScanReportFieldsResponse: """ - Example: - {'malware': ['malware', 'malware'], 'compliance': ['compliance', 'compliance'], 'secret': ['secret', 'secret'], - 'vulnerability': ['vulnerability', 'vulnerability']} - Attributes: compliance (Union[List[str], None, Unset]): malware (Union[List[str], None, Unset]): diff --git a/threatmapper/models/model_scan_result_basic_node.py b/threatmapper/models/model_scan_result_basic_node.py index ba82c14..ed2876f 100644 --- a/threatmapper/models/model_scan_result_basic_node.py +++ b/threatmapper/models/model_scan_result_basic_node.py @@ -13,11 +13,6 @@ @_attrs_define class ModelScanResultBasicNode: """ - Example: - {'basic_nodes': [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, - {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'result_id': - 'result_id'} - Attributes: basic_nodes (Union[List['ModelBasicNode'], None]): result_id (str): diff --git a/threatmapper/models/model_scan_results_action_request.py b/threatmapper/models/model_scan_results_action_request.py index 3cb2525..542e4a5 100644 --- a/threatmapper/models/model_scan_results_action_request.py +++ b/threatmapper/models/model_scan_results_action_request.py @@ -12,10 +12,6 @@ @_attrs_define class ModelScanResultsActionRequest: """ - Example: - {'notify_individual': True, 'result_ids': ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': - 'scan_id', 'integration_ids': [0, 0]} - Attributes: result_ids (Union[List[str], None]): scan_id (str): diff --git a/threatmapper/models/model_scan_results_common.py b/threatmapper/models/model_scan_results_common.py index 681acd8..c28e93e 100644 --- a/threatmapper/models/model_scan_results_common.py +++ b/threatmapper/models/model_scan_results_common.py @@ -9,12 +9,6 @@ @_attrs_define class ModelScanResultsCommon: """ - Example: - {'cloud_account_id': 'cloud_account_id', 'node_type': 'node_type', 'docker_container_name': - 'docker_container_name', 'updated_at': 6, 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'node_name': - 'node_name', 'created_at': 0, 'scan_id': 'scan_id', 'docker_image_name': 'docker_image_name', 'host_name': - 'host_name', 'node_id': 'node_id'} - Attributes: cloud_account_id (str): created_at (int): diff --git a/threatmapper/models/model_scan_results_mask_request.py b/threatmapper/models/model_scan_results_mask_request.py index 7532bc0..c917063 100644 --- a/threatmapper/models/model_scan_results_mask_request.py +++ b/threatmapper/models/model_scan_results_mask_request.py @@ -12,10 +12,6 @@ @_attrs_define class ModelScanResultsMaskRequest: """ - Example: - {'mask_action': 'mask_global', 'result_ids': ['result_ids', 'result_ids'], 'scan_type': 'SecretScan', 'scan_id': - 'scan_id'} - Attributes: mask_action (ModelScanResultsMaskRequestMaskAction): result_ids (Union[List[str], None]): diff --git a/threatmapper/models/model_scan_results_req.py b/threatmapper/models/model_scan_results_req.py index 8cfa461..91d6ee0 100644 --- a/threatmapper/models/model_scan_results_req.py +++ b/threatmapper/models/model_scan_results_req.py @@ -14,25 +14,10 @@ @_attrs_define class ModelScanResultsReq: """ - Example: - {'scan_id': 'scan_id', 'window': {'offset': 0, 'size': 6}, 'fields_filter': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}} - Attributes: - fields_filter (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + fields_filter (ReportersFieldsFilters): scan_id (str): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ fields_filter: "ReportersFieldsFilters" diff --git a/threatmapper/models/model_scan_status_req.py b/threatmapper/models/model_scan_status_req.py index 1e05cb2..fabab65 100644 --- a/threatmapper/models/model_scan_status_req.py +++ b/threatmapper/models/model_scan_status_req.py @@ -9,9 +9,6 @@ @_attrs_define class ModelScanStatusReq: """ - Example: - {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': ['scan_ids', 'scan_ids']} - Attributes: bulk_scan_id (str): scan_ids (Union[List[str], None]): diff --git a/threatmapper/models/model_scan_status_resp.py b/threatmapper/models/model_scan_status_resp.py index 75242e9..91c9c3b 100644 --- a/threatmapper/models/model_scan_status_resp.py +++ b/threatmapper/models/model_scan_status_resp.py @@ -13,11 +13,6 @@ @_attrs_define class ModelScanStatusResp: """ - Example: - {'statuses': {'key': {'severity_counts': {'key': 6}, 'status_message': 'status_message', 'node_type': - 'node_type', 'updated_at': 1, 'node_name': 'node_name', 'created_at': 0, 'scan_id': 'scan_id', 'node_id': - 'node_id', 'status': 'COMPLETE'}}} - Attributes: statuses (Union['ModelScanStatusRespStatusesType0', None]): """ diff --git a/threatmapper/models/model_scan_trigger_resp.py b/threatmapper/models/model_scan_trigger_resp.py index 6d06f25..9a05ad7 100644 --- a/threatmapper/models/model_scan_trigger_resp.py +++ b/threatmapper/models/model_scan_trigger_resp.py @@ -9,9 +9,6 @@ @_attrs_define class ModelScanTriggerResp: """ - Example: - {'bulk_scan_id': 'bulk_scan_id', 'scan_ids': ['scan_ids', 'scan_ids']} - Attributes: bulk_scan_id (str): scan_ids (Union[List[str], None]): diff --git a/threatmapper/models/model_secret.py b/threatmapper/models/model_secret.py index 4d6363b..b00ea03 100644 --- a/threatmapper/models/model_secret.py +++ b/threatmapper/models/model_secret.py @@ -16,12 +16,6 @@ @_attrs_define class ModelSecret: """ - Example: - {'score': 0.8008281904610115, 'full_filename': 'full_filename', 'matched_content': 'matched_content', - 'updated_at': 1, 'level': 'critical', 'masked': True, 'name': 'name', 'starting_index': 6, 'resources': - [{'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'node_id': 'node_id'} - Attributes: full_filename (str): level (ModelSecretLevel): diff --git a/threatmapper/models/model_secret_rule.py b/threatmapper/models/model_secret_rule.py index 0a164c0..b00fa11 100644 --- a/threatmapper/models/model_secret_rule.py +++ b/threatmapper/models/model_secret_rule.py @@ -11,10 +11,6 @@ @_attrs_define class ModelSecretRule: """ - Example: - {'updated_at': 6, 'level': 'level', 'masked': True, 'part': 'part', 'name': 'name', 'signature_to_match': - 'signature_to_match', 'id': 0} - Attributes: level (str): masked (bool): diff --git a/threatmapper/models/model_secret_scan_result.py b/threatmapper/models/model_secret_scan_result.py index cd377be..ab57e3e 100644 --- a/threatmapper/models/model_secret_scan_result.py +++ b/threatmapper/models/model_secret_scan_result.py @@ -14,20 +14,6 @@ @_attrs_define class ModelSecretScanResult: """ - Example: - {'severity_counts': {'key': 6}, 'docker_container_name': 'docker_container_name', 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 0, 'secrets': [{'score': 0.8008281904610115, - 'full_filename': 'full_filename', 'matched_content': 'matched_content', 'updated_at': 1, 'level': 'critical', - 'masked': True, 'name': 'name', 'starting_index': 6, 'resources': [{'node_type': 'node_type', 'name': 'name', - 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}], 'node_id': 'node_id'}, {'score': 0.8008281904610115, 'full_filename': - 'full_filename', 'matched_content': 'matched_content', 'updated_at': 1, 'level': 'critical', 'masked': True, - 'name': 'name', 'starting_index': 6, 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', - 'node_id': 'node_id'}], 'node_id': 'node_id'}], 'cloud_account_id': 'cloud_account_id', 'node_type': - 'node_type', 'updated_at': 1, 'scan_id': 'scan_id', 'docker_image_name': 'docker_image_name', 'host_name': - 'host_name', 'node_id': 'node_id'} - Attributes: cloud_account_id (str): created_at (int): diff --git a/threatmapper/models/model_secret_scan_result_rules.py b/threatmapper/models/model_secret_scan_result_rules.py index 9d1a489..7383870 100644 --- a/threatmapper/models/model_secret_scan_result_rules.py +++ b/threatmapper/models/model_secret_scan_result_rules.py @@ -9,9 +9,6 @@ @_attrs_define class ModelSecretScanResultRules: """ - Example: - {'rules': ['rules', 'rules']} - Attributes: rules (Union[List[str], None]): """ diff --git a/threatmapper/models/model_secret_scan_trigger_req.py b/threatmapper/models/model_secret_scan_trigger_req.py index 20b9646..17eb00a 100644 --- a/threatmapper/models/model_secret_scan_trigger_req.py +++ b/threatmapper/models/model_secret_scan_trigger_req.py @@ -16,18 +16,8 @@ @_attrs_define class ModelSecretScanTriggerReq: """ - Example: - {'is_priority': True, 'deepfence_system_scan': True, 'filters': {'container_scan_filter': {'filter_in': {'key': - ['', '']}}, 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': - {'key': ['', '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': - {'filter_in': {'key': ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': - 'image', 'node_id': 'node_id'}]} - Attributes: - filters (ModelScanFilter): Example: {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', - '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': - {'key': ['', '']}}}. + filters (ModelScanFilter): node_ids (Union[List['ModelNodeIdentifier'], None]): deepfence_system_scan (Union[Unset, bool]): is_priority (Union[Unset, bool]): diff --git a/threatmapper/models/model_stop_scan_request.py b/threatmapper/models/model_stop_scan_request.py index a62e9fc..7dcfcdf 100644 --- a/threatmapper/models/model_stop_scan_request.py +++ b/threatmapper/models/model_stop_scan_request.py @@ -11,9 +11,6 @@ @_attrs_define class ModelStopScanRequest: """ - Example: - {'scan_ids': ['scan_ids', 'scan_ids'], 'scan_type': 'SecretScan'} - Attributes: scan_ids (Union[List[str], None]): scan_type (ModelStopScanRequestScanType): diff --git a/threatmapper/models/model_summary.py b/threatmapper/models/model_summary.py index 825060d..6cd6b43 100644 --- a/threatmapper/models/model_summary.py +++ b/threatmapper/models/model_summary.py @@ -11,9 +11,6 @@ @_attrs_define class ModelSummary: """ - Example: - {'images': 0, 'repositories': 1, 'scans_total': 2, 'registries': 6, 'scans_complete': 5, 'scans_in_progress': 5} - Attributes: images (Union[Unset, int]): registries (Union[Unset, int]): diff --git a/threatmapper/models/model_topology_delta_req.py b/threatmapper/models/model_topology_delta_req.py index ed71064..231f95c 100644 --- a/threatmapper/models/model_topology_delta_req.py +++ b/threatmapper/models/model_topology_delta_req.py @@ -9,10 +9,6 @@ @_attrs_define class ModelTopologyDeltaReq: """ - Example: - {'deletion': True, 'entity_types': ['entity_types', 'entity_types'], 'deletion_timestamp': 6, - 'addition_timestamp': 0, 'addition': True} - Attributes: addition (bool): addition_timestamp (int): diff --git a/threatmapper/models/model_topology_delta_response.py b/threatmapper/models/model_topology_delta_response.py index a548e14..4e96cf5 100644 --- a/threatmapper/models/model_topology_delta_response.py +++ b/threatmapper/models/model_topology_delta_response.py @@ -15,11 +15,6 @@ @_attrs_define class ModelTopologyDeltaResponse: """ - Example: - {'deletions': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}], - 'additons': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': 'node_id'}], - 'deletion_timestamp': 6, 'addition_timestamp': 0} - Attributes: addition_timestamp (Union[Unset, int]): additons (Union[List['ModelNodeIdentifier'], None, Unset]): diff --git a/threatmapper/models/model_update_scheduled_task_request.py b/threatmapper/models/model_update_scheduled_task_request.py index cb0c51a..9744e7f 100644 --- a/threatmapper/models/model_update_scheduled_task_request.py +++ b/threatmapper/models/model_update_scheduled_task_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelUpdateScheduledTaskRequest: """ - Example: - {'is_enabled': True} - Attributes: is_enabled (bool): """ diff --git a/threatmapper/models/model_update_user_id_request.py b/threatmapper/models/model_update_user_id_request.py index 3d5b45e..90f3b27 100644 --- a/threatmapper/models/model_update_user_id_request.py +++ b/threatmapper/models/model_update_user_id_request.py @@ -12,9 +12,6 @@ @_attrs_define class ModelUpdateUserIDRequest: """ - Example: - {'is_active': True, 'role': 'admin', 'last_name': 'last_name', 'first_name': 'first_name'} - Attributes: first_name (Union[Unset, str]): is_active (Union[Unset, bool]): diff --git a/threatmapper/models/model_update_user_password_request.py b/threatmapper/models/model_update_user_password_request.py index e74b5ce..00cb2bc 100644 --- a/threatmapper/models/model_update_user_password_request.py +++ b/threatmapper/models/model_update_user_password_request.py @@ -9,9 +9,6 @@ @_attrs_define class ModelUpdateUserPasswordRequest: """ - Example: - {'old_password': 'old_password', 'new_password': 'new_password'} - Attributes: new_password (str): old_password (str): diff --git a/threatmapper/models/model_update_user_request.py b/threatmapper/models/model_update_user_request.py index 3599f0e..4366bec 100644 --- a/threatmapper/models/model_update_user_request.py +++ b/threatmapper/models/model_update_user_request.py @@ -12,9 +12,6 @@ @_attrs_define class ModelUpdateUserRequest: """ - Example: - {'is_active': True, 'role': 'admin', 'last_name': 'last_name', 'first_name': 'first_name'} - Attributes: first_name (Union[Unset, str]): is_active (Union[Unset, bool]): diff --git a/threatmapper/models/model_user.py b/threatmapper/models/model_user.py index 324bbba..ca5bb52 100644 --- a/threatmapper/models/model_user.py +++ b/threatmapper/models/model_user.py @@ -16,11 +16,6 @@ @_attrs_define class ModelUser: """ - Example: - {'is_active': True, 'role': 'admin', 'company_id': 0, 'role_id': 1, 'groups': {'key': 'groups'}, 'last_name': - 'last_name', 'company': 'company', 'id': 6, 'password_invalidated': True, 'first_name': 'first_name', 'email': - 'email', 'current_user': True} - Attributes: company (str): email (str): diff --git a/threatmapper/models/model_user_register_request.py b/threatmapper/models/model_user_register_request.py index 405d144..bb4b8b0 100644 --- a/threatmapper/models/model_user_register_request.py +++ b/threatmapper/models/model_user_register_request.py @@ -11,10 +11,6 @@ @_attrs_define class ModelUserRegisterRequest: """ - Example: - {'password': 'password', 'console_url': 'console_url', 'last_name': 'last_name', 'company': 'company', - 'first_name': 'first_name', 'is_temporary_password': True, 'email': 'email'} - Attributes: company (str): console_url (str): diff --git a/threatmapper/models/model_vulnerability.py b/threatmapper/models/model_vulnerability.py index e5b2bb5..0988a60 100644 --- a/threatmapper/models/model_vulnerability.py +++ b/threatmapper/models/model_vulnerability.py @@ -16,16 +16,6 @@ @_attrs_define class ModelVulnerability: """ - Example: - {'parsed_attack_vector': 'parsed_attack_vector', 'cve_container_layer': 'cve_container_layer', 'masked': True, - 'cve_description': 'cve_description', 'cve_overall_score': 6.027456183070403, 'resources': [{'node_type': - 'node_type', 'name': 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}], 'cve_caused_by_package': 'cve_caused_by_package', - 'cve_attack_vector': 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, 'rule_id': 'rule_id', 'urls': - ['', ''], 'cve_severity': 'critical', 'cve_caused_by_package_path': 'cve_caused_by_package_path', 'updated_at': - 1, 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', 'cve_type': 'cve_type', 'has_live_connection': True, - 'cve_fixed_in': 'cve_fixed_in', 'cve_link': 'cve_link', 'node_id': 'node_id'} - Attributes: cve_attack_vector (str): cve_caused_by_package (str): diff --git a/threatmapper/models/model_vulnerability_rule.py b/threatmapper/models/model_vulnerability_rule.py index bc0e129..1524638 100644 --- a/threatmapper/models/model_vulnerability_rule.py +++ b/threatmapper/models/model_vulnerability_rule.py @@ -15,14 +15,6 @@ @_attrs_define class ModelVulnerabilityRule: """ - Example: - {'parsed_attack_vector': 'parsed_attack_vector', 'masked': True, 'cve_description': 'cve_description', - 'cve_overall_score': 6.027456183070403, 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', - 'node_id': 'node_id'}], 'cve_attack_vector': 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, 'urls': - ['', ''], 'cve_severity': 'cve_severity', 'updated_at': 1, 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', - 'cve_type': 'cve_type', 'cve_fixed_in': 'cve_fixed_in', 'cve_link': 'cve_link', 'node_id': 'node_id'} - Attributes: cve_attack_vector (str): cve_cvss_score (float): diff --git a/threatmapper/models/model_vulnerability_scan_config_language.py b/threatmapper/models/model_vulnerability_scan_config_language.py index 826735b..57ada3d 100644 --- a/threatmapper/models/model_vulnerability_scan_config_language.py +++ b/threatmapper/models/model_vulnerability_scan_config_language.py @@ -11,9 +11,6 @@ @_attrs_define class ModelVulnerabilityScanConfigLanguage: """ - Example: - {'language': 'base'} - Attributes: language (ModelVulnerabilityScanConfigLanguageLanguage): """ diff --git a/threatmapper/models/model_vulnerability_scan_result.py b/threatmapper/models/model_vulnerability_scan_result.py index d8d97ce..1ef8e8d 100644 --- a/threatmapper/models/model_vulnerability_scan_result.py +++ b/threatmapper/models/model_vulnerability_scan_result.py @@ -16,28 +16,6 @@ @_attrs_define class ModelVulnerabilityScanResult: """ - Example: - {'severity_counts': {'key': 6}, 'docker_container_name': 'docker_container_name', 'kubernetes_cluster_name': - 'kubernetes_cluster_name', 'node_name': 'node_name', 'created_at': 0, 'cloud_account_id': 'cloud_account_id', - 'node_type': 'node_type', 'updated_at': 1, 'vulnerabilities': [{'parsed_attack_vector': 'parsed_attack_vector', - 'cve_container_layer': 'cve_container_layer', 'masked': True, 'cve_description': 'cve_description', - 'cve_overall_score': 6.027456183070403, 'resources': [{'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': 'host_name', - 'node_id': 'node_id'}], 'cve_caused_by_package': 'cve_caused_by_package', 'cve_attack_vector': - 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, 'rule_id': 'rule_id', 'urls': ['', ''], - 'cve_severity': 'critical', 'cve_caused_by_package_path': 'cve_caused_by_package_path', 'updated_at': 1, - 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', 'cve_type': 'cve_type', 'has_live_connection': True, - 'cve_fixed_in': 'cve_fixed_in', 'cve_link': 'cve_link', 'node_id': 'node_id'}, {'parsed_attack_vector': - 'parsed_attack_vector', 'cve_container_layer': 'cve_container_layer', 'masked': True, 'cve_description': - 'cve_description', 'cve_overall_score': 6.027456183070403, 'resources': [{'node_type': 'node_type', 'name': - 'name', 'host_name': 'host_name', 'node_id': 'node_id'}, {'node_type': 'node_type', 'name': 'name', 'host_name': - 'host_name', 'node_id': 'node_id'}], 'cve_caused_by_package': 'cve_caused_by_package', 'cve_attack_vector': - 'cve_attack_vector', 'cve_cvss_score': 0.8008281904610115, 'rule_id': 'rule_id', 'urls': ['', ''], - 'cve_severity': 'critical', 'cve_caused_by_package_path': 'cve_caused_by_package_path', 'updated_at': 1, - 'cve_id': 'cve_id', 'exploit_poc': 'exploit_poc', 'cve_type': 'cve_type', 'has_live_connection': True, - 'cve_fixed_in': 'cve_fixed_in', 'cve_link': 'cve_link', 'node_id': 'node_id'}], 'scan_id': 'scan_id', - 'docker_image_name': 'docker_image_name', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: cloud_account_id (str): created_at (int): diff --git a/threatmapper/models/model_vulnerability_scan_trigger_req.py b/threatmapper/models/model_vulnerability_scan_trigger_req.py index a26595f..9807a76 100644 --- a/threatmapper/models/model_vulnerability_scan_trigger_req.py +++ b/threatmapper/models/model_vulnerability_scan_trigger_req.py @@ -17,19 +17,8 @@ @_attrs_define class ModelVulnerabilityScanTriggerReq: """ - Example: - {'is_priority': True, 'scan_config': [{'language': 'base'}, {'language': 'base'}], 'deepfence_system_scan': - True, 'filters': {'container_scan_filter': {'filter_in': {'key': ['', '']}}, 'cloud_account_scan_filter': - {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', '']}}, - 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': {'key': - ['', '']}}}, 'node_ids': [{'node_type': 'image', 'node_id': 'node_id'}, {'node_type': 'image', 'node_id': - 'node_id'}]} - Attributes: - filters (ModelScanFilter): Example: {'container_scan_filter': {'filter_in': {'key': ['', '']}}, - 'cloud_account_scan_filter': {'filter_in': {'key': ['', '']}}, 'image_scan_filter': {'filter_in': {'key': ['', - '']}}, 'kubernetes_cluster_scan_filter': {'filter_in': {'key': ['', '']}}, 'host_scan_filter': {'filter_in': - {'key': ['', '']}}}. + filters (ModelScanFilter): node_ids (Union[List['ModelNodeIdentifier'], None]): scan_config (Union[List['ModelVulnerabilityScanConfigLanguage'], None]): deepfence_system_scan (Union[Unset, bool]): diff --git a/threatmapper/models/postgresql_db_get_audit_logs_row.py b/threatmapper/models/postgresql_db_get_audit_logs_row.py index f93c0b5..6dcfcec 100644 --- a/threatmapper/models/postgresql_db_get_audit_logs_row.py +++ b/threatmapper/models/postgresql_db_get_audit_logs_row.py @@ -13,11 +13,6 @@ @_attrs_define class PostgresqlDbGetAuditLogsRow: """ - Example: - {'role': 'role', 'success': True, 'action': 'action', 'created_at': datetime.datetime(2000, 1, 23, 4, 56, 7, - tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00')), 'resources': 'resources', 'event': 'event', 'email': - 'email'} - Attributes: action (Union[Unset, str]): created_at (Union[Unset, datetime.datetime]): diff --git a/threatmapper/models/postgresql_db_scheduler.py b/threatmapper/models/postgresql_db_scheduler.py index a62a3fa..76c6c78 100644 --- a/threatmapper/models/postgresql_db_scheduler.py +++ b/threatmapper/models/postgresql_db_scheduler.py @@ -8,7 +8,7 @@ from ..types import UNSET, Unset if TYPE_CHECKING: - from ..models.postgresql_db_scheduler_last_ran_at import PostgresqlDbSchedulerLastRanAt + from ..models.sql_null_time import SqlNullTime T = TypeVar("T", bound="PostgresqlDbScheduler") @@ -17,13 +17,6 @@ @_attrs_define class PostgresqlDbScheduler: """ - Example: - {'is_enabled': True, 'is_system': True, 'last_ran_at': '{}', 'updated_at': datetime.datetime(2000, 1, 23, 4, 56, - 7, tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00')), 'payload': '', 'cron_expr': 'cron_expr', - 'action': 'action', 'created_at': datetime.datetime(2000, 1, 23, 4, 56, 7, - tzinfo=datetime.timezone(datetime.timedelta(0), '+00:00')), 'description': 'description', 'id': 0, 'status': - 'status'} - Attributes: action (Union[Unset, str]): created_at (Union[Unset, datetime.datetime]): @@ -32,7 +25,7 @@ class PostgresqlDbScheduler: id (Union[Unset, int]): is_enabled (Union[Unset, bool]): is_system (Union[Unset, bool]): - last_ran_at (Union[Unset, PostgresqlDbSchedulerLastRanAt]): + last_ran_at (Union[Unset, SqlNullTime]): payload (Union[Unset, Any]): status (Union[Unset, str]): updated_at (Union[Unset, datetime.datetime]): @@ -45,7 +38,7 @@ class PostgresqlDbScheduler: id: Union[Unset, int] = UNSET is_enabled: Union[Unset, bool] = UNSET is_system: Union[Unset, bool] = UNSET - last_ran_at: Union[Unset, "PostgresqlDbSchedulerLastRanAt"] = UNSET + last_ran_at: Union[Unset, "SqlNullTime"] = UNSET payload: Union[Unset, Any] = UNSET status: Union[Unset, str] = UNSET updated_at: Union[Unset, datetime.datetime] = UNSET @@ -110,7 +103,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - from ..models.postgresql_db_scheduler_last_ran_at import PostgresqlDbSchedulerLastRanAt + from ..models.sql_null_time import SqlNullTime d = src_dict.copy() action = d.pop("action", UNSET) @@ -133,11 +126,11 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: is_system = d.pop("is_system", UNSET) _last_ran_at = d.pop("last_ran_at", UNSET) - last_ran_at: Union[Unset, PostgresqlDbSchedulerLastRanAt] + last_ran_at: Union[Unset, SqlNullTime] if isinstance(_last_ran_at, Unset): last_ran_at = UNSET else: - last_ran_at = PostgresqlDbSchedulerLastRanAt.from_dict(_last_ran_at) + last_ran_at = SqlNullTime.from_dict(_last_ran_at) payload = d.pop("payload", UNSET) diff --git a/threatmapper/models/postgresql_db_scheduler_last_ran_at.py b/threatmapper/models/postgresql_db_scheduler_last_ran_at.py deleted file mode 100644 index 1fa7402..0000000 --- a/threatmapper/models/postgresql_db_scheduler_last_ran_at.py +++ /dev/null @@ -1,43 +0,0 @@ -from typing import Any, Dict, List, Type, TypeVar - -from attrs import define as _attrs_define -from attrs import field as _attrs_field - -T = TypeVar("T", bound="PostgresqlDbSchedulerLastRanAt") - - -@_attrs_define -class PostgresqlDbSchedulerLastRanAt: - """ """ - - additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict) - - def to_dict(self) -> Dict[str, Any]: - field_dict: Dict[str, Any] = {} - field_dict.update(self.additional_properties) - - return field_dict - - @classmethod - def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: - d = src_dict.copy() - postgresql_db_scheduler_last_ran_at = cls() - - postgresql_db_scheduler_last_ran_at.additional_properties = d - return postgresql_db_scheduler_last_ran_at - - @property - def additional_keys(self) -> List[str]: - return list(self.additional_properties.keys()) - - def __getitem__(self, key: str) -> Any: - return self.additional_properties[key] - - def __setitem__(self, key: str, value: Any) -> None: - self.additional_properties[key] = value - - def __delitem__(self, key: str) -> None: - del self.additional_properties[key] - - def __contains__(self, key: str) -> bool: - return key in self.additional_properties diff --git a/threatmapper/models/report_metadata.py b/threatmapper/models/report_metadata.py index 4cb5729..6b65118 100644 --- a/threatmapper/models/report_metadata.py +++ b/threatmapper/models/report_metadata.py @@ -11,36 +11,6 @@ @_attrs_define class ReportMetadata: """ - Example: - {'docker_image_name_with_tag': 'docker_image_name_with_tag', 'kubernetes_ip': 'kubernetes_ip', 'public_ip': - ['public_ip', 'public_ip'], 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'docker_container_state': - 'docker_container_state', 'cpu_max': 6.027456183070403, 'pid': 7, 'kubernetes_created': 'kubernetes_created', - 'kubernetes_namespace': 'kubernetes_namespace', 'cmdline': 'cmdline', 'node_type': 'node_type', - 'interface_ip_map': 'interface_ip_map', 'pseudo': True, 'docker_container_name': 'docker_container_name', - 'docker_container_created': 'docker_container_created', 'kubernetes_cluster_id': 'kubernetes_cluster_id', - 'docker_container_networks': 'docker_container_networks', 'kubernetes_ports': ['kubernetes_ports', - 'kubernetes_ports'], 'version': 'version', 'pod_name': 'pod_name', 'ppid': 9, 'tags': ['tags', 'tags'], - 'docker_container_ports': 'docker_container_ports', 'kubernetes_is_in_host_network': True, 'instance_id': - 'instance_id', 'kernel_id': 'kernel_id', 'copy_of': 'copy_of', 'open_files': ['open_files', 'open_files'], - 'docker_env': 'docker_env', 'connection_count': 0, 'docker_image_size': 'docker_image_size', 'short_name': - 'short_name', 'cpu_usage': 1.4658129805029452, 'pod_id': 'pod_id', 'docker_label': 'docker_label', - 'instance_type': 'instance_type', 'docker_image_name': 'docker_image_name', 'user_defined_tags': - ['user_defined_tags', 'user_defined_tags'], 'local_networks': ['local_networks', 'local_networks'], - 'cloud_region': 'cloud_region', 'kubernetes_state': 'kubernetes_state', 'interface_names': ['interface_names', - 'interface_names'], 'memory_usage': 5, 'open_files_count': 2, 'kubernetes_public_ip': 'kubernetes_public_ip', - 'private_ip': ['private_ip', 'private_ip'], 'docker_container_network_mode': 'docker_container_network_mode', - 'cloud_account_id': 'cloud_account_id', 'kubernetes_type': 'kubernetes_type', 'resource_group': - 'resource_group', 'docker_image_tag': 'docker_image_tag', 'kubernetes_labels': 'kubernetes_labels', - 'docker_container_ips': ['docker_container_ips', 'docker_container_ips'], 'docker_image_id': 'docker_image_id', - 'timestamp': 'timestamp', 'interface_ips': ['interface_ips', 'interface_ips'], 'is_deepfence_system': True, - 'availability_zone': 'availability_zone', 'is_console_vm': True, 'os': 'os', 'local_cidr': ['local_cidr', - 'local_cidr'], 'node_name': 'node_name', 'threads': 3, 'cloud_provider': 'cloud_provider', - 'docker_container_command': 'docker_container_command', 'agent_running': True, 'uptime': 2, 'memory_max': 5, - 'docker_image_created_at': 'docker_image_created_at', 'kernel_version': 'kernel_version', - 'docker_container_state_human': 'docker_container_state_human', 'docker_image_virtual_size': - 'docker_image_virtual_size', 'kubernetes_ingress_ip': ['kubernetes_ingress_ip', 'kubernetes_ingress_ip'], - 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: agent_running (Union[Unset, bool]): availability_zone (Union[Unset, str]): diff --git a/threatmapper/models/report_raw_report.py b/threatmapper/models/report_raw_report.py index 0b82b20..a92a01c 100644 --- a/threatmapper/models/report_raw_report.py +++ b/threatmapper/models/report_raw_report.py @@ -9,9 +9,6 @@ @_attrs_define class ReportRawReport: """ - Example: - {'payload': 'payload'} - Attributes: payload (str): """ diff --git a/threatmapper/models/reporters_compare_filter.py b/threatmapper/models/reporters_compare_filter.py index 43e7364..6afd25f 100644 --- a/threatmapper/models/reporters_compare_filter.py +++ b/threatmapper/models/reporters_compare_filter.py @@ -9,9 +9,6 @@ @_attrs_define class ReportersCompareFilter: """ - Example: - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'} - Attributes: field_name (str): field_value (Any): diff --git a/threatmapper/models/reporters_contains_filter.py b/threatmapper/models/reporters_contains_filter.py index ba314e7..656be77 100644 --- a/threatmapper/models/reporters_contains_filter.py +++ b/threatmapper/models/reporters_contains_filter.py @@ -13,9 +13,6 @@ @_attrs_define class ReportersContainsFilter: """ - Example: - {'filter_in': {'key': ['', '']}} - Attributes: filter_in (Union['ReportersContainsFilterFilterInType0', None]): """ diff --git a/threatmapper/models/reporters_fields_filters.py b/threatmapper/models/reporters_fields_filters.py index 0603a22..3642445 100644 --- a/threatmapper/models/reporters_fields_filters.py +++ b/threatmapper/models/reporters_fields_filters.py @@ -18,23 +18,14 @@ @_attrs_define class ReportersFieldsFilters: """ - Example: - {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, - 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, - 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, - 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, - 'match_in_array_filter': {'filter_in': {'key': ['', '']}}} - Attributes: compare_filter (Union[List['ReportersCompareFilter'], None]): - contains_filter (ReportersContainsFilter): Example: {'filter_in': {'key': ['', '']}}. - match_filter (ReportersMatchFilter): Example: {'filter_in': {'key': ['', '']}}. - order_filter (ReportersOrderFilter): Example: {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}. - contains_in_array_filter (Union[Unset, ReportersContainsFilter]): Example: {'filter_in': {'key': ['', '']}}. - match_in_array_filter (Union[Unset, ReportersMatchFilter]): Example: {'filter_in': {'key': ['', '']}}. - not_contains_filter (Union[Unset, ReportersContainsFilter]): Example: {'filter_in': {'key': ['', '']}}. + contains_filter (ReportersContainsFilter): + match_filter (ReportersMatchFilter): + order_filter (ReportersOrderFilter): + contains_in_array_filter (Union[Unset, ReportersContainsFilter]): + match_in_array_filter (Union[Unset, ReportersMatchFilter]): + not_contains_filter (Union[Unset, ReportersContainsFilter]): """ compare_filter: Union[List["ReportersCompareFilter"], None] diff --git a/threatmapper/models/reporters_match_filter.py b/threatmapper/models/reporters_match_filter.py index dcde136..510f898 100644 --- a/threatmapper/models/reporters_match_filter.py +++ b/threatmapper/models/reporters_match_filter.py @@ -13,9 +13,6 @@ @_attrs_define class ReportersMatchFilter: """ - Example: - {'filter_in': {'key': ['', '']}} - Attributes: filter_in (Union['ReportersMatchFilterFilterInType0', None]): """ diff --git a/threatmapper/models/reporters_order_filter.py b/threatmapper/models/reporters_order_filter.py index 8b28324..9e34401 100644 --- a/threatmapper/models/reporters_order_filter.py +++ b/threatmapper/models/reporters_order_filter.py @@ -13,10 +13,6 @@ @_attrs_define class ReportersOrderFilter: """ - Example: - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]} - Attributes: order_fields (Union[List['ReportersOrderSpec'], None]): """ diff --git a/threatmapper/models/reporters_order_spec.py b/threatmapper/models/reporters_order_spec.py index 55237b8..72ab50a 100644 --- a/threatmapper/models/reporters_order_spec.py +++ b/threatmapper/models/reporters_order_spec.py @@ -11,9 +11,6 @@ @_attrs_define class ReportersOrderSpec: """ - Example: - {'size': 0, 'descending': True, 'field_name': 'field_name'} - Attributes: descending (bool): field_name (str): diff --git a/threatmapper/models/search_chained_search_filter.py b/threatmapper/models/search_chained_search_filter.py index 9c5831e..380dff2 100644 --- a/threatmapper/models/search_chained_search_filter.py +++ b/threatmapper/models/search_chained_search_filter.py @@ -15,34 +15,10 @@ @_attrs_define class SearchChainedSearchFilter: """ - Example: - {'node_filter': {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': - {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': - {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'} - Attributes: - node_filter (SearchSearchFilter): Example: {'in_field_filter': ['in_field_filter', 'in_field_filter'], - 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': - 6}}. + node_filter (SearchSearchFilter): relation_ship (str): - next_filter (Union[Unset, SearchChainedSearchFilter]): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': 'relation_ship'}. + next_filter (Union[Unset, SearchChainedSearchFilter]): """ node_filter: "SearchSearchFilter" diff --git a/threatmapper/models/search_node_count_resp.py b/threatmapper/models/search_node_count_resp.py index cbc2738..811c626 100644 --- a/threatmapper/models/search_node_count_resp.py +++ b/threatmapper/models/search_node_count_resp.py @@ -9,10 +9,6 @@ @_attrs_define class SearchNodeCountResp: """ - Example: - {'container': 6, 'pod': 7, 'host': 5, 'namespace': 2, 'cloud_provider': 0, 'kubernetes_cluster': 5, - 'container_image': 1} - Attributes: cloud_provider (int): container (int): diff --git a/threatmapper/models/search_result_group.py b/threatmapper/models/search_result_group.py index 97d321f..d5db34f 100644 --- a/threatmapper/models/search_result_group.py +++ b/threatmapper/models/search_result_group.py @@ -11,9 +11,6 @@ @_attrs_define class SearchResultGroup: """ - Example: - {'severity': 'severity', 'count': 0, 'name': 'name'} - Attributes: count (Union[Unset, int]): name (Union[Unset, str]): diff --git a/threatmapper/models/search_result_group_resp.py b/threatmapper/models/search_result_group_resp.py index b4ce07c..a945096 100644 --- a/threatmapper/models/search_result_group_resp.py +++ b/threatmapper/models/search_result_group_resp.py @@ -15,10 +15,6 @@ @_attrs_define class SearchResultGroupResp: """ - Example: - {'groups': [{'severity': 'severity', 'count': 0, 'name': 'name'}, {'severity': 'severity', 'count': 0, 'name': - 'name'}]} - Attributes: groups (Union[List['SearchResultGroup'], None, Unset]): """ diff --git a/threatmapper/models/search_search_count_resp.py b/threatmapper/models/search_search_count_resp.py index ffa131d..3c957fd 100644 --- a/threatmapper/models/search_search_count_resp.py +++ b/threatmapper/models/search_search_count_resp.py @@ -13,9 +13,6 @@ @_attrs_define class SearchSearchCountResp: """ - Example: - {'count': 6, 'categories': {'key': 0}} - Attributes: categories (Union['SearchSearchCountRespCategoriesType0', None]): count (int): diff --git a/threatmapper/models/search_search_filter.py b/threatmapper/models/search_search_filter.py index 2336148..6e6985a 100644 --- a/threatmapper/models/search_search_filter.py +++ b/threatmapper/models/search_search_filter.py @@ -14,25 +14,10 @@ @_attrs_define class SearchSearchFilter: """ - Example: - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'window': {'offset': 0, 'size': 6}} - Attributes: - filters (ReportersFieldsFilters): Example: {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}. + filters (ReportersFieldsFilters): in_field_filter (Union[List[str], None]): - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. + window (ModelFetchWindow): """ filters: "ReportersFieldsFilters" diff --git a/threatmapper/models/search_search_node_req.py b/threatmapper/models/search_search_node_req.py index 517efca..d955d44 100644 --- a/threatmapper/models/search_search_node_req.py +++ b/threatmapper/models/search_search_node_req.py @@ -17,56 +17,11 @@ @_attrs_define class SearchSearchNodeReq: """ - Example: - {'node_filter': {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': - {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': - {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': 6}}, 'extended_node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': - {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': - True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': - [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': - 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': - {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': - {'key': ['', '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': - 'relation_ship'}, 'window': {'offset': 0, 'size': 6}} - Attributes: - node_filter (SearchSearchFilter): Example: {'in_field_filter': ['in_field_filter', 'in_field_filter'], - 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': - 6}}. - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. - extended_node_filter (Union[Unset, SearchSearchFilter]): Example: {'in_field_filter': ['in_field_filter', - 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': - 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': - {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, - 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': - {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': - {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': - {'offset': 0, 'size': 6}}. - related_node_filter (Union[Unset, SearchChainedSearchFilter]): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': 'relation_ship'}. + node_filter (SearchSearchFilter): + window (ModelFetchWindow): + extended_node_filter (Union[Unset, SearchSearchFilter]): + related_node_filter (Union[Unset, SearchChainedSearchFilter]): """ node_filter: "SearchSearchFilter" diff --git a/threatmapper/models/search_search_scan_req.py b/threatmapper/models/search_search_scan_req.py index 9642db3..12c8c5d 100644 --- a/threatmapper/models/search_search_scan_req.py +++ b/threatmapper/models/search_search_scan_req.py @@ -17,56 +17,11 @@ @_attrs_define class SearchSearchScanReq: """ - Example: - {'node_filters': {'in_field_filter': ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': - [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, {'greater_than': True, 'field_value': - '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': - {'order_fields': [{'size': 0, 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, - 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': - {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': - {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': 6}}, 'scan_filters': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'related_node_filter': {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': 'relation_ship'}, 'window': - {'offset': 0, 'size': 6}} - Attributes: - node_filters (SearchSearchFilter): Example: {'in_field_filter': ['in_field_filter', 'in_field_filter'], - 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': - 6}}. - scan_filters (SearchSearchFilter): Example: {'in_field_filter': ['in_field_filter', 'in_field_filter'], - 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', 'field_name': 'field_name'}, - {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], 'not_contains_filter': {'filter_in': - {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, 'descending': True, 'field_name': - 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, 'contains_filter': {'filter_in': - {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', '']}}, 'match_filter': {'filter_in': - {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', '']}}}, 'window': {'offset': 0, 'size': - 6}}. - window (ModelFetchWindow): Example: {'offset': 0, 'size': 6}. - related_node_filter (Union[Unset, SearchChainedSearchFilter]): Example: {'node_filter': {'in_field_filter': - ['in_field_filter', 'in_field_filter'], 'filters': {'compare_filter': [{'greater_than': True, 'field_value': '', - 'field_name': 'field_name'}, {'greater_than': True, 'field_value': '', 'field_name': 'field_name'}], - 'not_contains_filter': {'filter_in': {'key': ['', '']}}, 'order_filter': {'order_fields': [{'size': 0, - 'descending': True, 'field_name': 'field_name'}, {'size': 0, 'descending': True, 'field_name': 'field_name'}]}, - 'contains_filter': {'filter_in': {'key': ['', '']}}, 'contains_in_array_filter': {'filter_in': {'key': ['', - '']}}, 'match_filter': {'filter_in': {'key': ['', '']}}, 'match_in_array_filter': {'filter_in': {'key': ['', - '']}}}, 'window': {'offset': 0, 'size': 6}}, 'next_filter': None, 'relation_ship': 'relation_ship'}. + node_filters (SearchSearchFilter): + scan_filters (SearchSearchFilter): + window (ModelFetchWindow): + related_node_filter (Union[Unset, SearchChainedSearchFilter]): """ node_filters: "SearchSearchFilter" diff --git a/threatmapper/models/setting_setting_update_request.py b/threatmapper/models/setting_setting_update_request.py index a3dbfb0..410d1cc 100644 --- a/threatmapper/models/setting_setting_update_request.py +++ b/threatmapper/models/setting_setting_update_request.py @@ -11,9 +11,6 @@ @_attrs_define class SettingSettingUpdateRequest: """ - Example: - {'value': 'value', 'key': 'console_url'} - Attributes: key (SettingSettingUpdateRequestKey): value (str): diff --git a/threatmapper/models/setting_settings_response.py b/threatmapper/models/setting_settings_response.py index fa183e1..ccda754 100644 --- a/threatmapper/models/setting_settings_response.py +++ b/threatmapper/models/setting_settings_response.py @@ -9,9 +9,6 @@ @_attrs_define class SettingSettingsResponse: """ - Example: - {'description': 'description', 'id': 0, 'label': 'label', 'value': '', 'key': 'key'} - Attributes: description (str): id (int): diff --git a/threatmapper/models/utils_advanced_report_filters.py b/threatmapper/models/utils_advanced_report_filters.py index 1e49ea0..fd03ce8 100644 --- a/threatmapper/models/utils_advanced_report_filters.py +++ b/threatmapper/models/utils_advanced_report_filters.py @@ -11,12 +11,6 @@ @_attrs_define class UtilsAdvancedReportFilters: """ - Example: - {'image_name': ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': ['kubernetes_cluster_name', - 'kubernetes_cluster_name'], 'masked': [True, True], 'host_name': ['host_name', 'host_name'], 'node_id': - ['node_id', 'node_id'], 'pod_name': ['pod_name', 'pod_name']} - Attributes: container_name (Union[Unset, List[str]]): host_name (Union[Unset, List[str]]): diff --git a/threatmapper/models/utils_report_filters.py b/threatmapper/models/utils_report_filters.py index 2839108..c364716 100644 --- a/threatmapper/models/utils_report_filters.py +++ b/threatmapper/models/utils_report_filters.py @@ -18,22 +18,10 @@ @_attrs_define class UtilsReportFilters: """ - Example: - {'include_dead_nodes': True, 'node_type': 'host', 'most_exploitable_report': True, 'advanced_report_filters': - {'image_name': ['image_name', 'image_name'], 'container_name': ['container_name', 'container_name'], - 'scan_status': ['scan_status', 'scan_status'], 'kubernetes_cluster_name': ['kubernetes_cluster_name', - 'kubernetes_cluster_name'], 'masked': [True, True], 'host_name': ['host_name', 'host_name'], 'node_id': - ['node_id', 'node_id'], 'pod_name': ['pod_name', 'pod_name']}, 'scan_type': 'vulnerability', 'scan_id': - 'scan_id', 'severity_or_check_type': ['severity_or_check_type', 'severity_or_check_type']} - Attributes: node_type (UtilsReportFiltersNodeType): scan_type (UtilsReportFiltersScanType): - advanced_report_filters (Union[Unset, UtilsAdvancedReportFilters]): Example: {'image_name': ['image_name', - 'image_name'], 'container_name': ['container_name', 'container_name'], 'scan_status': ['scan_status', - 'scan_status'], 'kubernetes_cluster_name': ['kubernetes_cluster_name', 'kubernetes_cluster_name'], 'masked': - [True, True], 'host_name': ['host_name', 'host_name'], 'node_id': ['node_id', 'node_id'], 'pod_name': - ['pod_name', 'pod_name']}. + advanced_report_filters (Union[Unset, UtilsAdvancedReportFilters]): include_dead_nodes (Union[Unset, bool]): most_exploitable_report (Union[Unset, bool]): scan_id (Union[Unset, str]): diff --git a/threatmapper/models/utils_report_options.py b/threatmapper/models/utils_report_options.py index d4f7e68..1ffa989 100644 --- a/threatmapper/models/utils_report_options.py +++ b/threatmapper/models/utils_report_options.py @@ -12,9 +12,6 @@ @_attrs_define class UtilsReportOptions: """ - Example: - {'sbom_format': 'syft-json'} - Attributes: sbom_format (Union[Unset, UtilsReportOptionsSbomFormat]): """ diff --git a/threatmapper/models/utils_scan_sbom_request.py b/threatmapper/models/utils_scan_sbom_request.py index 9eec7b8..d56d389 100644 --- a/threatmapper/models/utils_scan_sbom_request.py +++ b/threatmapper/models/utils_scan_sbom_request.py @@ -11,12 +11,6 @@ @_attrs_define class UtilsScanSbomRequest: """ - Example: - {'skip_scan': True, 'kubernetes_cluster_name': 'kubernetes_cluster_name', 'scan_type': 'scan_type', - 'sbom_file_path': 'sbom_file_path', 'registry_id': 'registry_id', 'mode': 'mode', 'image_name': 'image_name', - 'node_type': 'node_type', 'container_name': 'container_name', 'sbom': 'sbom', 'scan_id': 'scan_id', 'image_id': - 'image_id', 'host_name': 'host_name', 'node_id': 'node_id'} - Attributes: sbom (str): scan_id (str):