crimson-falcon 0.4.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3032 -1586
- data/crimson-falcon.gemspec +1 -1
- data/lib/crimson-falcon/api/alerts.rb +669 -0
- data/lib/crimson-falcon/api/api_integrations.rb +239 -0
- data/lib/crimson-falcon/api/aspm.rb +1778 -0
- data/lib/crimson-falcon/api/certificate_based_exclusions.rb +435 -0
- data/lib/crimson-falcon/api/cloud_aws_registration.rb +475 -0
- data/lib/crimson-falcon/api/cloud_azure_registration.rb +105 -0
- data/lib/crimson-falcon/api/cloud_connect_aws.rb +623 -0
- data/lib/crimson-falcon/api/cloud_security_assets.rb +179 -0
- data/lib/crimson-falcon/api/cloud_snapshots.rb +413 -0
- data/lib/crimson-falcon/api/compliance_assessments.rb +683 -0
- data/lib/crimson-falcon/api/configuration_assessment.rb +183 -0
- data/lib/crimson-falcon/api/configuration_assessment_evaluation_logic.rb +101 -0
- data/lib/crimson-falcon/api/container_alerts.rb +222 -0
- data/lib/crimson-falcon/api/container_detections.rb +408 -0
- data/lib/crimson-falcon/api/container_images.rb +903 -0
- data/lib/crimson-falcon/api/container_packages.rb +435 -0
- data/lib/crimson-falcon/api/container_vulnerabilities.rb +693 -0
- data/lib/crimson-falcon/api/content_update_policies.rb +769 -0
- data/lib/crimson-falcon/api/correlation_rules.rb +505 -0
- data/lib/crimson-falcon/api/cspg_iac.rb +94 -0
- data/lib/crimson-falcon/api/cspm_registration.rb +2913 -0
- data/lib/crimson-falcon/api/custom_ioa.rb +1353 -0
- data/lib/crimson-falcon/api/custom_storage.rb +1218 -0
- data/lib/crimson-falcon/api/d4c_registration.rb +1538 -0
- data/lib/crimson-falcon/api/datascanner.rb +225 -0
- data/lib/crimson-falcon/api/delivery_settings.rb +160 -0
- data/lib/crimson-falcon/api/deployments.rb +115 -0
- data/lib/crimson-falcon/api/detects.rb +315 -0
- data/lib/crimson-falcon/api/device_content.rb +176 -0
- data/lib/crimson-falcon/api/device_control_policies.rb +890 -0
- data/lib/crimson-falcon/api/discover.rb +833 -0
- data/lib/crimson-falcon/api/discover_iot.rb +255 -0
- data/lib/crimson-falcon/api/downloads.rb +108 -0
- data/lib/crimson-falcon/api/downloads_api.rb +112 -0
- data/lib/crimson-falcon/api/drift_indicators.rb +350 -0
- data/lib/crimson-falcon/api/event_schema.rb +219 -0
- data/lib/crimson-falcon/api/event_streams.rb +179 -0
- data/lib/crimson-falcon/api/exposure_management.rb +722 -0
- data/lib/crimson-falcon/api/falcon_complete_dashboard.rb +1369 -0
- data/lib/crimson-falcon/api/falcon_container.rb +94 -0
- data/lib/crimson-falcon/api/falcon_container_cli.rb +105 -0
- data/lib/crimson-falcon/api/falcon_container_image.rb +614 -0
- data/lib/crimson-falcon/api/falconx_sandbox.rb +1035 -0
- data/lib/crimson-falcon/api/field_schema.rb +164 -0
- data/lib/crimson-falcon/api/filevantage.rb +2201 -0
- data/lib/crimson-falcon/api/firewall_management.rb +2259 -0
- data/lib/crimson-falcon/api/firewall_policies.rb +780 -0
- data/lib/crimson-falcon/api/foundry_logscale.rb +1150 -0
- data/lib/crimson-falcon/api/handle.rb +94 -0
- data/lib/crimson-falcon/api/host_group.rb +706 -0
- data/lib/crimson-falcon/api/host_migration.rb +759 -0
- data/lib/crimson-falcon/api/hosts.rb +859 -0
- data/lib/crimson-falcon/api/humio_auth_proxy.rb +514 -0
- data/lib/crimson-falcon/api/identity_entities.rb +238 -0
- data/lib/crimson-falcon/api/identity_protection.rb +399 -0
- data/lib/crimson-falcon/api/image_assessment_policies.rb +738 -0
- data/lib/crimson-falcon/api/incidents.rb +456 -0
- data/lib/crimson-falcon/api/installation_tokens.rb +545 -0
- data/lib/crimson-falcon/api/installation_tokens_settings.rb +105 -0
- data/lib/crimson-falcon/api/intel.rb +1628 -0
- data/lib/crimson-falcon/api/intelligence_indicator_graph.rb +118 -0
- data/lib/crimson-falcon/api/ioa_exclusions.rb +375 -0
- data/lib/crimson-falcon/api/ioc.rb +1132 -0
- data/lib/crimson-falcon/api/iocs.rb +327 -0
- data/lib/crimson-falcon/api/kubernetes_protection.rb +3988 -0
- data/lib/crimson-falcon/api/lookup_files.rb +239 -0
- data/lib/crimson-falcon/api/malquery.rb +606 -0
- data/lib/crimson-falcon/api/message_center.rb +729 -0
- data/lib/crimson-falcon/api/ml_exclusions.rb +369 -0
- data/lib/crimson-falcon/api/mobile_enrollment.rb +191 -0
- data/lib/crimson-falcon/api/mssp.rb +2015 -0
- data/lib/crimson-falcon/api/oauth2.rb +186 -0
- data/lib/crimson-falcon/api/ods.rb +1094 -0
- data/lib/crimson-falcon/api/overwatch_dashboard.rb +357 -0
- data/lib/crimson-falcon/api/prevention_policies.rb +769 -0
- data/lib/crimson-falcon/api/quarantine.rb +435 -0
- data/lib/crimson-falcon/api/quick_scan.rb +300 -0
- data/lib/crimson-falcon/api/quick_scan_pro.rb +432 -0
- data/lib/crimson-falcon/api/real_time_response.rb +1617 -0
- data/lib/crimson-falcon/api/real_time_response_admin.rb +1173 -0
- data/lib/crimson-falcon/api/real_time_response_audit.rb +113 -0
- data/lib/crimson-falcon/api/recon.rb +1761 -0
- data/lib/crimson-falcon/api/release_notes.rb +287 -0
- data/lib/crimson-falcon/api/releases.rb +125 -0
- data/lib/crimson-falcon/api/report_executions.rb +299 -0
- data/lib/crimson-falcon/api/response_policies.rb +769 -0
- data/lib/crimson-falcon/api/runtime_detections.rb +106 -0
- data/lib/crimson-falcon/api/sample_uploads.rb +805 -0
- data/lib/crimson-falcon/api/scheduled_reports.rb +237 -0
- data/lib/crimson-falcon/api/sensor_download.rb +610 -0
- data/lib/crimson-falcon/api/sensor_update_policies.rb +1339 -0
- data/lib/crimson-falcon/api/sensor_usage.rb +97 -0
- data/lib/crimson-falcon/api/sensor_visibility_exclusions.rb +369 -0
- data/lib/crimson-falcon/api/spotlight_evaluation_logic.rb +243 -0
- data/lib/crimson-falcon/api/spotlight_vulnerabilities.rb +324 -0
- data/lib/crimson-falcon/api/threatgraph.rb +539 -0
- data/lib/crimson-falcon/api/unidentified_containers.rb +222 -0
- data/lib/crimson-falcon/api/user_management.rb +1505 -0
- data/lib/crimson-falcon/api/vulnerabilities.rb +106 -0
- data/lib/crimson-falcon/api/workflows.rb +1275 -0
- data/lib/crimson-falcon/api/zero_trust_assessment.rb +227 -0
- data/lib/crimson-falcon/api_client.rb +4 -2
- data/lib/crimson-falcon/models/actions_action.rb +348 -0
- data/lib/crimson-falcon/models/actions_action_response.rb +259 -0
- data/lib/crimson-falcon/models/actions_create_action_request.rb +264 -0
- data/lib/crimson-falcon/models/actions_get_action_response.rb +266 -0
- data/lib/crimson-falcon/models/activities_activity.rb +460 -0
- data/lib/crimson-falcon/models/activities_activity_ext_field.rb +315 -0
- data/lib/crimson-falcon/models/activities_activity_external_response.rb +271 -0
- data/lib/crimson-falcon/models/activity.rb +243 -0
- data/lib/crimson-falcon/models/alerts_container_alerts_count_value.rb +21 -21
- data/lib/crimson-falcon/models/alerts_container_alerts_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/api_action_resp_v1.rb +1 -1
- data/lib/crimson-falcon/models/api_audit_event_details_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/api_cert_based_exclusion_create_req_v1.rb +342 -0
- data/lib/crimson-falcon/models/api_cert_based_exclusion_resp_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_cert_based_exclusion_update_req_v1.rb +351 -0
- data/lib/crimson-falcon/models/api_cert_based_exclusion_v1.rb +365 -0
- data/lib/crimson-falcon/models/api_cert_based_exclusions_create_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/api_cert_based_exclusions_update_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/api_certificate_req_v1.rb +309 -0
- data/lib/crimson-falcon/models/api_certificate_v1.rb +309 -0
- data/lib/crimson-falcon/models/api_certificates_response_v1.rb +241 -0
- data/lib/crimson-falcon/models/api_create_migration_request_v1.rb +283 -0
- data/lib/crimson-falcon/models/api_create_migration_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/api_create_rule_operation_v1.rb +257 -0
- data/lib/crimson-falcon/models/api_customer_settings_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/api_device_count_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/api_devices_ran_on_resp_v1.rb +1 -1
- data/lib/crimson-falcon/models/api_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/api_event.rb +277 -0
- data/lib/crimson-falcon/models/api_execution_results_response.rb +2 -2
- data/lib/crimson-falcon/models/api_get_entities_rules_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_get_host_migration_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/api_get_migration_destinations_request_body_v1.rb +255 -0
- data/lib/crimson-falcon/models/api_get_migration_destinations_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_get_migrations_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_host_migration.rb +426 -0
- data/lib/crimson-falcon/models/api_hourly_average_response.rb +266 -0
- data/lib/crimson-falcon/models/api_indicator_create_req_v1.rb +1 -0
- data/lib/crimson-falcon/models/api_indicator_query_resp_v1.rb +1 -1
- data/lib/crimson-falcon/models/api_indicator_resp_v1.rb +1 -1
- data/lib/crimson-falcon/models/api_message_center_activity_response.rb +2 -2
- data/lib/crimson-falcon/models/api_message_center_attachment_upload_response.rb +2 -2
- data/lib/crimson-falcon/models/api_message_center_cases_response.rb +2 -2
- data/lib/crimson-falcon/models/api_mfa_resource_ids_response.rb +275 -0
- data/lib/crimson-falcon/models/api_migrate_hosts_info.rb +267 -0
- data/lib/crimson-falcon/models/api_migration.rb +378 -0
- data/lib/crimson-falcon/models/api_notification_exposed_data_record_entities_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/api_object_metadata.rb +10 -1
- data/lib/crimson-falcon/models/api_patch_rule_operation_v1.rb +257 -0
- data/lib/crimson-falcon/models/api_patch_rule_search_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_patterns_response.rb +2 -2
- data/lib/crimson-falcon/models/api_platforms_response.rb +2 -2
- data/lib/crimson-falcon/models/api_post_enrollment_details_response.rb +2 -2
- data/lib/crimson-falcon/models/api_post_enrollment_details_v4.rb +269 -0
- data/lib/crimson-falcon/models/api_processes_ran_on_resp_v1.rb +1 -1
- data/lib/crimson-falcon/models/api_resource_ids_response.rb +2 -2
- data/lib/crimson-falcon/models/api_resp_certificates_v1.rb +261 -0
- data/lib/crimson-falcon/models/api_response_pagination.rb +2 -1
- data/lib/crimson-falcon/models/api_rule_create_request_v1.rb +354 -0
- data/lib/crimson-falcon/models/api_rule_groups_response.rb +2 -2
- data/lib/crimson-falcon/models/api_rule_operation_v1.rb +266 -0
- data/lib/crimson-falcon/models/api_rule_patch_request_v1.rb +311 -0
- data/lib/crimson-falcon/models/api_rule_schedule_v1.rb +239 -0
- data/lib/crimson-falcon/models/api_rule_schedule_v1_patch.rb +239 -0
- data/lib/crimson-falcon/models/api_rule_search_v1.rb +276 -0
- data/lib/crimson-falcon/models/api_rule_types_response.rb +2 -2
- data/lib/crimson-falcon/models/api_rule_update_v2.rb +339 -0
- data/lib/crimson-falcon/models/api_rule_updates_request_v2.rb +283 -0
- data/lib/crimson-falcon/models/api_rule_v1.rb +132 -203
- data/lib/crimson-falcon/models/api_rules_response.rb +2 -2
- data/lib/crimson-falcon/models/api_sensor_details_response_swagger.rb +2 -2
- data/lib/crimson-falcon/models/api_token_details_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/api_user_metadata_response.rb +2 -2
- data/lib/crimson-falcon/models/api_user_role_ids_response.rb +2 -2
- data/lib/crimson-falcon/models/api_user_role_response.rb +2 -2
- data/lib/crimson-falcon/models/api_validation_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/api_weekly_average_response.rb +266 -0
- data/lib/crimson-falcon/models/apidomain_query_response_v1.rb +15 -1
- data/lib/crimson-falcon/models/apidomain_query_response_wrapper_v1.rb +2 -2
- data/lib/crimson-falcon/models/apidomain_repo_view_list_item_wrapper_v1.rb +2 -2
- data/lib/crimson-falcon/models/apidomain_saved_search_execute_request_v1.rb +1 -10
- data/lib/crimson-falcon/models/assets_get_resource_ids_response.rb +261 -0
- data/lib/crimson-falcon/models/assets_get_resources_response.rb +266 -0
- data/lib/crimson-falcon/models/base_policy_members_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/base_set_content_update_policy_precedence_req_v1.rb +242 -0
- data/lib/crimson-falcon/models/binservapi_msa_put_file_response.rb +2 -2
- data/lib/crimson-falcon/models/changes_change.rb +29 -1
- data/lib/crimson-falcon/models/changes_high_volume_query_response.rb +1 -1
- data/lib/crimson-falcon/models/changes_host.rb +15 -4
- data/lib/crimson-falcon/models/changes_permissions_mac.rb +283 -0
- data/lib/crimson-falcon/models/client_archive_create_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/client_archive_list_files_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/client_data_ingest_response_wrapper_v1.rb +2 -2
- data/lib/crimson-falcon/models/client_extraction_create_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/client_extraction_list_files_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/client_job_status.rb +10 -1
- data/lib/crimson-falcon/models/client_sample_metadata_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/client_system_definition_create_response.rb +2 -2
- data/lib/crimson-falcon/models/common_count_as_resource.rb +4 -18
- data/lib/crimson-falcon/models/common_count_response.rb +21 -21
- data/lib/crimson-falcon/models/common_credentials.rb +239 -0
- data/lib/crimson-falcon/models/common_entities_response.rb +269 -0
- data/lib/crimson-falcon/models/common_generic_entity_response_string.rb +2 -2
- data/lib/crimson-falcon/models/common_registry_credentials_response.rb +269 -0
- data/lib/crimson-falcon/models/content_update_create_policies_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_create_policy_req_v1.rb +259 -0
- data/lib/crimson-falcon/models/content_update_ring_assignment_settings_v1.rb +253 -0
- data/lib/crimson-falcon/models/content_update_settings_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_update_policies_req_v1.rb +241 -0
- data/lib/crimson-falcon/models/content_update_update_policy_req_v1.rb +269 -0
- data/lib/crimson-falcon/models/contentchanges_change_contents_response.rb +264 -0
- data/lib/crimson-falcon/models/contentchanges_content.rb +253 -0
- data/lib/crimson-falcon/models/contentchanges_content_diff.rb +271 -0
- data/lib/crimson-falcon/models/core_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/custom_storage_object_keys.rb +271 -0
- data/lib/crimson-falcon/models/custom_storage_response.rb +271 -0
- data/lib/crimson-falcon/models/dataclassifications_label.rb +267 -0
- data/lib/crimson-falcon/models/dataclassifications_response.rb +284 -0
- data/lib/crimson-falcon/models/dataclassifications_tag.rb +283 -0
- data/lib/crimson-falcon/models/definitions_definition_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/definitions_definition_ext.rb +203 -12
- data/lib/crimson-falcon/models/definitions_definition_external_response.rb +2 -2
- data/lib/crimson-falcon/models/definitions_definition_import_response.rb +2 -2
- data/lib/crimson-falcon/models/deployments_api_deployment_ring_view.rb +302 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_view.rb +309 -0
- data/lib/crimson-falcon/models/deployments_api_deployment_view_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/deployments_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/destination.rb +243 -0
- data/lib/crimson-falcon/models/destinations_migration_destination.rb +253 -0
- data/lib/crimson-falcon/models/detections_api_assessment_detections.rb +21 -21
- data/lib/crimson-falcon/models/detections_api_combined_detections.rb +21 -21
- data/lib/crimson-falcon/models/detections_api_detections_by_severity.rb +2 -2
- data/lib/crimson-falcon/models/detections_api_detections_by_type.rb +2 -2
- data/lib/crimson-falcon/models/detections_api_detections_count.rb +21 -21
- data/lib/crimson-falcon/models/detects_external_alert.rb +803 -0
- data/lib/crimson-falcon/models/detectsapi_aggregates_response.rb +2 -2
- data/lib/crimson-falcon/models/detectsapi_alert_query_response.rb +2 -2
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_meta.rb +271 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_paging.rb +262 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_request_swagger.rb +261 -0
- data/lib/crimson-falcon/models/detectsapi_post_combined_alerts_v1_response_swagger.rb +272 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response_swagger.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response_swagger.rb +267 -0
- data/lib/crimson-falcon/models/detectsapi_response_fields.rb +2 -2
- data/lib/crimson-falcon/models/device_control_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/device_control_resp_v2.rb +2 -2
- data/lib/crimson-falcon/models/device_control_usb_class_exceptions_req_v1.rb +3 -3
- data/lib/crimson-falcon/models/device_control_usb_class_exceptions_response.rb +3 -3
- data/lib/crimson-falcon/models/device_device.rb +55 -1
- data/lib/crimson-falcon/models/device_mapped_device_policies.rb +37 -1
- data/lib/crimson-falcon/models/deviceapi_device_details_response_swagger.rb +2 -2
- data/lib/crimson-falcon/models/deviceapi_device_response.rb +1 -1
- data/lib/crimson-falcon/models/deviceapi_device_swagger.rb +37 -1
- data/lib/crimson-falcon/models/deviceapi_groups_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/deviceapi_login_history_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/deviceapi_network_address_history_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/deviceapi_update_device_tags_swagger_v1.rb +2 -2
- data/lib/crimson-falcon/models/devicecontent_content_category.rb +234 -0
- data/lib/crimson-falcon/models/devicecontent_state.rb +345 -0
- data/lib/crimson-falcon/models/devicecontentapi_entities_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/devicecontentapi_query_response_v1.rb +271 -0
- data/lib/crimson-falcon/models/domain_action_entities_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_actor_document.rb +11 -11
- data/lib/crimson-falcon/models/domain_actors_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_aggregate_cluster_assessments_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_failed_asset_count_by_severity_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_failed_assets_by_rules_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_failed_rules_by_clusters_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_failed_rules_by_images_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_failed_rules_count_by_severity_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_image_assessments_response.rb +264 -0
- data/lib/crimson-falcon/models/domain_aggregate_rules_assessments_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregate_rules_by_status_response.rb +266 -0
- data/lib/crimson-falcon/models/domain_aggregates_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_api_combined_findings_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_api_compliance_control_v1.rb +253 -0
- data/lib/crimson-falcon/models/domain_api_compliance_mapping_v1.rb +264 -0
- data/lib/crimson-falcon/models/domain_api_error.rb +25 -27
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_entities_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_item_v1.rb +15 -10
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_v1.rb +10 -36
- data/lib/crimson-falcon/models/domain_api_finding_rule_v1.rb +12 -1
- data/lib/crimson-falcon/models/domain_api_host_info_facet_v1.rb +10 -1
- data/lib/crimson-falcon/models/domain_api_remediation_info.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_remediation_v2.rb +21 -1
- data/lib/crimson-falcon/models/domain_api_rule_details_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_api_rule_details_v1.rb +12 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_app_v2.rb +19 -4
- data/lib/crimson-falcon/models/domain_api_vulnerability_cve_details_facet_v2.rb +13 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_extended_app_v2.rb +38 -4
- data/lib/crimson-falcon/models/domain_api_vulnerability_host_facet_v2.rb +33 -1
- data/lib/crimson-falcon/models/domain_api_vulnerability_service_v2.rb +255 -0
- data/lib/crimson-falcon/models/domain_api_vulnerability_v2.rb +23 -1
- data/lib/crimson-falcon/models/domain_assessment_paging.rb +271 -0
- data/lib/crimson-falcon/models/domain_assessments_by_score_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_assessments_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_audit_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_aws_account_resource_metadata.rb +358 -0
- data/lib/crimson-falcon/models/domain_aws_account_v2.rb +57 -1
- data/lib/crimson-falcon/models/domain_aws_inventory_filter_setting.rb +269 -0
- data/lib/crimson-falcon/models/domain_base_api_vulnerability_v2.rb +23 -1
- data/lib/crimson-falcon/models/domain_batch_get_cmd_status_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_batch_get_command_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_batch_init_session_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_batch_refresh_session_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_behavior.rb +12 -1
- data/lib/crimson-falcon/models/domain_benchmark.rb +12 -1
- data/lib/crimson-falcon/models/domain_case_creation_request_v2.rb +29 -1
- data/lib/crimson-falcon/models/domain_cid_group_members_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_cid_groups_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_cipher.rb +252 -0
- data/lib/crimson-falcon/models/domain_cisa_known_exploited_vulnerabilities_info.rb +253 -0
- data/lib/crimson-falcon/models/domain_cloud_aws_account_v1.rb +507 -0
- data/lib/crimson-falcon/models/domain_cloud_condition.rb +322 -0
- data/lib/crimson-falcon/models/domain_command_execute_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_compliance.rb +280 -0
- data/lib/crimson-falcon/models/domain_compliance_findings_grouped_by_images_with_scroll.rb +255 -0
- data/lib/crimson-falcon/models/domain_condition.rb +29 -1
- data/lib/crimson-falcon/models/domain_config_v1.rb +299 -0
- data/lib/crimson-falcon/models/domain_configs_v1.rb +271 -0
- data/lib/crimson-falcon/models/domain_content_package.rb +239 -0
- data/lib/crimson-falcon/models/domain_content_update_policy_resp_v1.rb +474 -0
- data/lib/crimson-falcon/models/domain_content_update_settings_v1.rb +241 -0
- data/lib/crimson-falcon/models/domain_control.rb +281 -0
- data/lib/crimson-falcon/models/domain_control_benchmark.rb +243 -0
- data/lib/crimson-falcon/models/domain_cps_rating.rb +301 -0
- data/lib/crimson-falcon/models/domain_cps_rating_history_entry.rb +253 -0
- data/lib/crimson-falcon/models/domain_cps_rating_indicator.rb +267 -0
- data/lib/crimson-falcon/models/domain_create_submission_v1_error_response.rb +315 -0
- data/lib/crimson-falcon/models/domain_credentials.rb +12 -31
- data/lib/crimson-falcon/models/domain_cve.rb +543 -0
- data/lib/crimson-falcon/models/domain_cve_exploit.rb +283 -0
- data/lib/crimson-falcon/models/domain_cve_exploit_reference.rb +267 -0
- data/lib/crimson-falcon/models/domain_cve_exploit_source.rb +283 -0
- data/lib/crimson-falcon/models/domain_cvssv2.rb +280 -0
- data/lib/crimson-falcon/models/domain_cvssv3.rb +352 -0
- data/lib/crimson-falcon/models/domain_denormalized_adversary_reference.rb +257 -0
- data/lib/crimson-falcon/models/domain_denormalized_country.rb +253 -0
- data/lib/crimson-falcon/models/domain_denormalized_customer_target.rb +239 -0
- data/lib/crimson-falcon/models/domain_denormalized_report_reference.rb +257 -0
- data/lib/crimson-falcon/models/domain_denormalized_sector.rb +253 -0
- data/lib/crimson-falcon/models/domain_denormalized_threat_reference.rb +248 -0
- data/lib/crimson-falcon/models/domain_denormalized_threat_used_mitre.rb +292 -0
- data/lib/crimson-falcon/models/domain_device.rb +10 -10
- data/lib/crimson-falcon/models/domain_discover_api_account.rb +2 -2
- data/lib/crimson-falcon/models/domain_discover_api_account_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_discover_api_active_discovery_host.rb +21 -1
- data/lib/crimson-falcon/models/domain_discover_api_application.rb +20 -1
- data/lib/crimson-falcon/models/domain_discover_api_application_browser_extension.rb +320 -0
- data/lib/crimson-falcon/models/domain_discover_api_application_browser_extension_installation.rb +320 -0
- data/lib/crimson-falcon/models/domain_discover_api_application_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_discover_api_application_host.rb +13 -1
- data/lib/crimson-falcon/models/domain_discover_api_combined_applications_response.rb +271 -0
- data/lib/crimson-falcon/models/domain_discover_api_combined_hosts_response.rb +271 -0
- data/lib/crimson-falcon/models/domain_discover_api_host.rb +302 -5
- data/lib/crimson-falcon/models/domain_discover_api_host_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_discover_api_login.rb +1 -1
- data/lib/crimson-falcon/models/domain_discover_api_login_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_discover_api_meta_info.rb +280 -0
- data/lib/crimson-falcon/models/domain_discover_api_paging.rb +267 -0
- data/lib/crimson-falcon/models/domain_discover_api_response.rb +271 -0
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host.rb +619 -126
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_discover_apiio_t_host_triage.rb +285 -0
- data/lib/crimson-falcon/models/domain_discover_params.rb +15 -1
- data/lib/crimson-falcon/models/domain_errors_only.rb +1 -1
- data/lib/crimson-falcon/models/domain_execute_command_request_v1.rb +242 -0
- data/lib/crimson-falcon/models/domain_execute_command_result_v1.rb +286 -0
- data/lib/crimson-falcon/models/domain_execute_command_results_v1.rb +271 -0
- data/lib/crimson-falcon/models/domain_execute_command_v1.rb +329 -0
- data/lib/crimson-falcon/models/domain_execution_metadata_summary.rb +15 -1
- data/lib/crimson-falcon/models/domain_execution_metadata_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_export_job_entities_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_export_job_id_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_external_asset_api_delete_request_v1.rb +235 -0
- data/lib/crimson-falcon/models/domain_external_asset_api_patch_request_v1.rb +243 -0
- data/lib/crimson-falcon/models/domain_external_asset_application.rb +270 -0
- data/lib/crimson-falcon/models/domain_external_asset_certificate.rb +317 -0
- data/lib/crimson-falcon/models/domain_external_asset_certificate_entity_identifiers.rb +369 -0
- data/lib/crimson-falcon/models/domain_external_asset_cloud_vm.rb +347 -0
- data/lib/crimson-falcon/models/domain_external_asset_discovery_attributes.rb +251 -0
- data/lib/crimson-falcon/models/domain_external_asset_discovery_path_attributes.rb +237 -0
- data/lib/crimson-falcon/models/domain_external_asset_discovery_step_attributes.rb +292 -0
- data/lib/crimson-falcon/models/domain_external_asset_geographical_location.rb +306 -0
- data/lib/crimson-falcon/models/domain_external_asset_http_attributes.rb +281 -0
- data/lib/crimson-falcon/models/domain_external_asset_redirect_step_attributes.rb +280 -0
- data/lib/crimson-falcon/models/domain_external_asset_service.rb +443 -0
- data/lib/crimson-falcon/models/domain_external_asset_service_blobs_links.rb +261 -0
- data/lib/crimson-falcon/models/domain_external_asset_ssl_record.rb +301 -0
- data/lib/crimson-falcon/models/domain_external_asset_subsidiary.rb +255 -0
- data/lib/crimson-falcon/models/domain_external_assets_api_patch.rb +280 -0
- data/lib/crimson-falcon/models/domain_external_assets_api_triage.rb +285 -0
- data/lib/crimson-falcon/models/domain_external_assets_api_triage_patch.rb +265 -0
- data/lib/crimson-falcon/models/domain_external_assets_api_type_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_external_assets_blob_api_type_v1.rb +266 -0
- data/lib/crimson-falcon/models/domain_external_export_job.rb +312 -0
- data/lib/crimson-falcon/models/domain_external_query_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_external_registry_list_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_external_registry_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_feature_permission.rb +255 -0
- data/lib/crimson-falcon/models/domain_feature_status.rb +253 -0
- data/lib/crimson-falcon/models/domain_fem_dns_domain.rb +301 -0
- data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_entities_response.rb +256 -0
- data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_meta.rb +254 -0
- data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_query_response.rb +256 -0
- data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiaries_response_fields.rb +251 -0
- data/lib/crimson-falcon/models/domain_fem_ecosystem_subsidiary.rb +344 -0
- data/lib/crimson-falcon/models/domain_fem_external_asset.rb +497 -0
- data/lib/crimson-falcon/models/domain_fem_external_ip.rb +327 -0
- data/lib/crimson-falcon/models/domain_gcp_account_v1.rb +23 -1
- data/lib/crimson-falcon/models/domain_geo_point.rb +243 -0
- data/lib/crimson-falcon/models/domain_incident.rb +12 -1
- data/lib/crimson-falcon/models/domain_init_response.rb +19 -1
- data/lib/crimson-falcon/models/domain_init_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_item_details_v1.rb +30 -20
- data/lib/crimson-falcon/models/domain_kestrel_params.rb +239 -0
- data/lib/crimson-falcon/models/domain_launch_export_job_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_list_files_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_list_files_v2_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_list_sessions_response_msa.rb +2 -2
- data/lib/crimson-falcon/models/domain_lookup_file.rb +453 -0
- data/lib/crimson-falcon/models/domain_lookup_file_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/domain_malware_document.rb +783 -0
- data/lib/crimson-falcon/models/domain_malware_environment_aggregates.rb +267 -0
- data/lib/crimson-falcon/models/domain_malware_response.rb +272 -0
- data/lib/crimson-falcon/models/domain_marketplace_credentials.rb +258 -0
- data/lib/crimson-falcon/models/domain_marketplace_product.rb +1 -1
- data/lib/crimson-falcon/models/domain_meta_info.rb +5 -23
- data/lib/crimson-falcon/models/domain_msa_detect_summaries_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_msa_environment_score_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_msa_external_behavior_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_msa_external_incident_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_msa_incident_perform_action_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_msa_incident_query_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_msa_meta_info.rb +248 -0
- data/lib/crimson-falcon/models/domain_msa_qf_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_mssp_role_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_multi_command_execute_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_multi_pulse_sensor_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_multi_status_sensor_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_news_document.rb +19 -9
- data/lib/crimson-falcon/models/domain_news_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_notification_details_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_notification_entities_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_notification_id_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_notification_v1.rb +31 -1
- data/lib/crimson-falcon/models/domain_platform.rb +11 -11
- data/lib/crimson-falcon/models/domain_policy_info.rb +57 -1
- data/lib/crimson-falcon/models/domain_product_features.rb +255 -0
- data/lib/crimson-falcon/models/domain_product_features_status.rb +255 -0
- data/lib/crimson-falcon/models/domain_product_permission.rb +255 -0
- data/lib/crimson-falcon/models/domain_public_indicators_v3_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_query_mitre_attacks_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_query_response.rb +2 -7
- data/lib/crimson-falcon/models/domain_queued_session_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_reference.rb +255 -0
- data/lib/crimson-falcon/models/domain_registry_credentials_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_report_execution_summary_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_report_execution_v1.rb +15 -1
- data/lib/crimson-falcon/models/domain_report_executions_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_report_metadata.rb +10 -1
- data/lib/crimson-falcon/models/domain_report_params.rb +29 -4
- data/lib/crimson-falcon/models/domain_request.rb +239 -0
- data/lib/crimson-falcon/models/domain_ring_assignment_settings_v1.rb +267 -0
- data/lib/crimson-falcon/models/domain_rule_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/domain_rules_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_scan.rb +10 -10
- data/lib/crimson-falcon/models/domain_scan_metadata.rb +10 -1
- data/lib/crimson-falcon/models/domain_scan_v2.rb +1 -10
- data/lib/crimson-falcon/models/domain_schedule.rb +34 -19
- data/lib/crimson-falcon/models/domain_scheduled_report_v1.rb +24 -1
- data/lib/crimson-falcon/models/domain_scheduled_reports_result_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_sensor_installer_v2.rb +405 -0
- data/lib/crimson-falcon/models/domain_sensor_installers_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_sensor_installers_v2.rb +271 -0
- data/lib/crimson-falcon/models/domain_session_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_simple_actor.rb +1 -1
- data/lib/crimson-falcon/models/domain_spapi_combined_vulnerabilities_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_combined_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_spapi_evaluation_logic_entities_response_v1.rb +1 -1
- data/lib/crimson-falcon/models/domain_spapi_query_response.rb +1 -1
- data/lib/crimson-falcon/models/domain_spapi_remediation_entities_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/domain_spapi_vulnerabilities_entities_response_v2.rb +1 -1
- data/lib/crimson-falcon/models/domain_spotlight_params.rb +269 -0
- data/lib/crimson-falcon/models/domain_status_response_wrapper.rb +2 -2
- data/lib/crimson-falcon/models/domain_update_rule_request_v1.rb +33 -1
- data/lib/crimson-falcon/models/domain_user.rb +45 -9
- data/lib/crimson-falcon/models/domain_user_group_members_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_user_groups_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/domain_user_metadata.rb +10 -1
- data/lib/crimson-falcon/models/domain_vuln.rb +240 -0
- data/lib/crimson-falcon/models/domain_vulnerability.rb +38 -137
- data/lib/crimson-falcon/models/domain_vulnerability_response.rb +2 -2
- data/lib/crimson-falcon/models/domain_xdr_params.rb +57 -1
- data/lib/crimson-falcon/models/driftindicators_drift_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_count_value.rb +21 -21
- data/lib/crimson-falcon/models/driftindicators_drift_indicators_field_value.rb +21 -21
- data/lib/crimson-falcon/models/empowerapi_msa_falcon_script_response.rb +2 -2
- data/lib/crimson-falcon/models/empowerapi_msa_id_list_response.rb +2 -2
- data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/empowerapi_msa_pf_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/entities_ods_scan_host_response.rb +2 -2
- data/lib/crimson-falcon/models/entities_ods_scan_malicious_file_response.rb +2 -2
- data/lib/crimson-falcon/models/entities_ods_scan_request.rb +1 -15
- data/lib/crimson-falcon/models/entities_ods_scan_response.rb +2 -2
- data/lib/crimson-falcon/models/entities_ods_scan_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/entities_ods_schedule_scan_response.rb +2 -2
- data/lib/crimson-falcon/models/entities_rolling_average.rb +365 -0
- data/lib/crimson-falcon/models/exclusions_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/executions_execution_result.rb +21 -1
- data/lib/crimson-falcon/models/executions_loop_result.rb +13 -1
- data/lib/crimson-falcon/models/executions_trigger_result.rb +1 -1
- data/lib/crimson-falcon/models/exports_exports_response.rb +266 -0
- data/lib/crimson-falcon/models/exports_launch_export_request.rb +280 -0
- data/lib/crimson-falcon/models/exports_launch_export_response.rb +267 -0
- data/lib/crimson-falcon/models/falconx_errors_only.rb +2 -2
- data/lib/crimson-falcon/models/falconx_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/falconx_query_response.rb +1 -1
- data/lib/crimson-falcon/models/falconx_report_v1.rb +19 -1
- data/lib/crimson-falcon/models/falconx_report_v1_response.rb +1 -1
- data/lib/crimson-falcon/models/falconx_sandbox_parameters_v1.rb +10 -1
- data/lib/crimson-falcon/models/falconx_sandbox_report_v1.rb +10 -1
- data/lib/crimson-falcon/models/falconx_submission_v1_response.rb +1 -1
- data/lib/crimson-falcon/models/falconx_summary_report_v1.rb +10 -1
- data/lib/crimson-falcon/models/falconx_summary_report_v1_response.rb +1 -1
- data/lib/crimson-falcon/models/fielddata_field_source.rb +278 -0
- data/lib/crimson-falcon/models/fielddata_field_source_option.rb +248 -0
- data/lib/crimson-falcon/models/figapi_adversary.rb +235 -0
- data/lib/crimson-falcon/models/figapi_country.rb +245 -0
- data/lib/crimson-falcon/models/figapi_domain.rb +345 -0
- data/lib/crimson-falcon/models/figapi_email_address.rb +252 -0
- data/lib/crimson-falcon/models/figapi_file.rb +299 -0
- data/lib/crimson-falcon/models/figapi_indicator.rb +458 -0
- data/lib/crimson-falcon/models/figapi_ipv4.rb +269 -0
- data/lib/crimson-falcon/models/figapi_ipv6.rb +269 -0
- data/lib/crimson-falcon/models/figapi_mx_record.rb +284 -0
- data/lib/crimson-falcon/models/figapi_name_server.rb +254 -0
- data/lib/crimson-falcon/models/figapi_report.rb +235 -0
- data/lib/crimson-falcon/models/figapi_sector.rb +245 -0
- data/lib/crimson-falcon/models/figapi_threat.rb +235 -0
- data/lib/crimson-falcon/models/figapi_url.rb +247 -0
- data/lib/crimson-falcon/models/figapi_vulnerability.rb +374 -0
- data/lib/crimson-falcon/models/figapi_who_is.rb +261 -0
- data/lib/crimson-falcon/models/figapi_whois_record.rb +306 -0
- data/lib/crimson-falcon/models/figapi_x509_certificate.rb +297 -0
- data/lib/crimson-falcon/models/firewall_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/flightcontrolapi_get_roles_response.rb +2 -2
- data/lib/crimson-falcon/models/flightcontrolapi_user_grant_response.rb +2 -2
- data/lib/crimson-falcon/models/flightcontrolapi_user_response.rb +2 -2
- data/lib/crimson-falcon/models/fwmgr_msa_aggregate_query_request.rb +10 -1
- data/lib/crimson-falcon/models/fwmgr_msa_extended_bounds_spec.rb +253 -0
- data/lib/crimson-falcon/models/graph_condition.rb +12 -12
- data/lib/crimson-falcon/models/graph_configured_activity.rb +11 -1
- data/lib/crimson-falcon/models/graph_end.rb +26 -4
- data/lib/crimson-falcon/models/graph_multi.rb +38 -4
- data/lib/crimson-falcon/models/graph_sub_model.rb +5 -15
- data/lib/crimson-falcon/models/graph_validation_error.rb +24 -4
- data/lib/crimson-falcon/models/help.rb +239 -0
- data/lib/crimson-falcon/models/host_groups_members_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/host_groups_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/host_groups_update_group_req_v1.rb +1 -0
- data/lib/crimson-falcon/models/images_api_combined_image_export.rb +2 -2
- data/lib/crimson-falcon/models/images_api_customer_and_image.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_assessment_history.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_by_vulnerability_count.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_count.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_count_by_base_os.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_count_by_state.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_issues_summary.rb +2 -2
- data/lib/crimson-falcon/models/images_api_image_vulnerabilities_summary.rb +2 -2
- data/lib/crimson-falcon/models/images_ext_combined_images_response.rb +2 -2
- data/lib/crimson-falcon/models/ingestion_cve_exploit_reference.rb +267 -0
- data/lib/crimson-falcon/models/ingestion_cve_exploit_source.rb +283 -0
- data/lib/crimson-falcon/models/ingestion_ex_prt_rating_factors.rb +281 -0
- data/lib/crimson-falcon/models/ingestion_reference.rb +255 -0
- data/lib/crimson-falcon/models/internal_sensor_status.rb +10 -1
- data/lib/crimson-falcon/models/inventoryapi_surface_error.rb +260 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset.rb +255 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create.rb +257 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_request_v1.rb +242 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_create_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/inventoryapi_user_external_asset_result.rb +322 -0
- data/lib/crimson-falcon/models/inventoryapidomain_subsidiary.rb +245 -0
- data/lib/crimson-falcon/models/ioa_exclusions_ioa_exclusions_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/iocapi_msa_reply_devices_ran_on.rb +1 -1
- data/lib/crimson-falcon/models/iocapi_msa_reply_ioc_devices_count.rb +1 -1
- data/lib/crimson-falcon/models/iocapi_msa_reply_processes_ran_on.rb +1 -1
- data/lib/crimson-falcon/models/jsonschema_condition_group_fields.rb +10 -1
- data/lib/crimson-falcon/models/jsonschema_duration_option.rb +253 -0
- data/lib/crimson-falcon/models/jsonschema_pivot.rb +19 -1
- data/lib/crimson-falcon/models/jsonschema_signals_extensions.rb +22 -4
- data/lib/crimson-falcon/models/jsonschema_sub_schema.rb +19 -1
- data/lib/crimson-falcon/models/jsonschema_ui_extensions.rb +315 -0
- data/lib/crimson-falcon/models/jsonschema_workflow_extensions.rb +11 -1
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_data.rb +15 -1
- data/lib/crimson-falcon/models/k8sassets_cluster_enrichment_response.rb +2 -2
- data/lib/crimson-falcon/models/k8sassets_container_enrichment_response.rb +2 -2
- data/lib/crimson-falcon/models/k8sassets_deployment_enrichment_response.rb +2 -2
- data/lib/crimson-falcon/models/k8sassets_node_enrichment_response.rb +2 -2
- data/lib/crimson-falcon/models/k8sassets_pod_enrichment_response.rb +2 -2
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_count_value.rb +21 -21
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/k8sioms_kubernetes_iom_field_value.rb +21 -21
- data/lib/crimson-falcon/models/k8sreg_create_aws_acc_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_aws_accounts_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_azure_bash_script_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_azure_subscriptions_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_config_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_azure_tenant_info_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_clusters_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_locations_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_get_scripts_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_list_cluster_cloud_resp.rb +2 -2
- data/lib/crimson-falcon/models/k8sreg_regen_api_key_resp.rb +2 -2
- data/lib/crimson-falcon/models/main_discovery_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/malquery_fuzzy_search_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/malquery_query_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/malquery_rate_limits_response.rb +1 -1
- data/lib/crimson-falcon/models/malquery_request_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/malquery_samples_metadata_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/messages_case.rb +43 -1
- data/lib/crimson-falcon/models/mlscannerapi_meta_info.rb +1 -1
- data/lib/crimson-falcon/models/mlscannerapi_query_response.rb +1 -1
- data/lib/crimson-falcon/models/mlscannerapi_scan_v1_response.rb +1 -1
- data/lib/crimson-falcon/models/model_user_input_read_response.rb +2 -2
- data/lib/crimson-falcon/models/models_account_status_response.rb +2 -2
- data/lib/crimson-falcon/models/models_aggregate_values_by_field_response.rb +2 -2
- data/lib/crimson-falcon/models/models_api_customer_and_image.rb +83 -4
- data/lib/crimson-falcon/models/models_api_image_combined_export.rb +68 -1
- data/lib/crimson-falcon/models/models_api_package_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_api_package_combined_v2.rb +381 -0
- data/lib/crimson-falcon/models/models_api_vulnerability_combined.rb +15 -1
- data/lib/crimson-falcon/models/models_application_library.rb +13 -4
- data/lib/crimson-falcon/models/models_application_package_info_type.rb +1 -1
- data/lib/crimson-falcon/models/models_aws_accounts_v1.rb +2 -2
- data/lib/crimson-falcon/models/models_base_image_request.rb +270 -0
- data/lib/crimson-falcon/models/models_base_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/models_cluster.rb +43 -1
- data/lib/crimson-falcon/models/models_cluster_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/models_cluster_info.rb +279 -0
- data/lib/crimson-falcon/models/models_cluster_with_failed_rules.rb +309 -0
- data/lib/crimson-falcon/models/models_compliance_by_rules.rb +269 -0
- data/lib/crimson-falcon/models/models_compliance_export_grouped_by_clusters_report.rb +435 -0
- data/lib/crimson-falcon/models/models_compliance_export_grouped_by_images_report.rb +379 -0
- data/lib/crimson-falcon/models/models_compliance_export_grouped_by_rules_report.rb +407 -0
- data/lib/crimson-falcon/models/models_container.rb +309 -221
- data/lib/crimson-falcon/models/models_container_coverage_response_entity.rb +2 -2
- data/lib/crimson-falcon/models/models_container_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/models_container_image.rb +17 -1
- data/lib/crimson-falcon/models/models_container_runtime_pivot_response.rb +2 -2
- data/lib/crimson-falcon/models/models_create_base_images_request.rb +241 -0
- data/lib/crimson-falcon/models/models_create_deployment_input.rb +241 -0
- data/lib/crimson-falcon/models/models_customer_configurations_v1.rb +2 -2
- data/lib/crimson-falcon/models/models_delivery_settings.rb +372 -0
- data/lib/crimson-falcon/models/models_delivery_settings_entity_response.rb +266 -0
- data/lib/crimson-falcon/models/models_delivery_settings_input.rb +253 -0
- data/lib/crimson-falcon/models/models_delivery_settings_request.rb +241 -0
- data/lib/crimson-falcon/models/models_deployment.rb +361 -81
- data/lib/crimson-falcon/models/models_deployment_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/models_deployment_resource.rb +281 -0
- data/lib/crimson-falcon/models/models_detection.rb +365 -0
- data/lib/crimson-falcon/models/models_detection_engine_info_type.rb +267 -0
- data/lib/crimson-falcon/models/models_detection_info_type.rb +239 -0
- data/lib/crimson-falcon/models/models_elf_binary.rb +281 -0
- data/lib/crimson-falcon/models/models_ext_api_image_combined.rb +29 -1
- data/lib/crimson-falcon/models/models_image_details.rb +281 -0
- data/lib/crimson-falcon/models/models_image_with_rules_failed.rb +337 -0
- data/lib/crimson-falcon/models/models_images_with_rules_failed.rb +255 -0
- data/lib/crimson-falcon/models/models_job_meta_data.rb +337 -0
- data/lib/crimson-falcon/models/models_message.rb +239 -0
- data/lib/crimson-falcon/models/models_mock_execution_create_request_v1.rb +259 -0
- data/lib/crimson-falcon/models/models_node.rb +52 -1
- data/lib/crimson-falcon/models/models_node_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/models_non_compliant_assets_by_severity.rb +295 -0
- data/lib/crimson-falcon/models/models_os_info_type.rb +253 -0
- data/lib/crimson-falcon/models/models_package_vulnerability_type.rb +239 -0
- data/lib/crimson-falcon/models/models_partial_fingerprints.rb +239 -0
- data/lib/crimson-falcon/models/models_pod.rb +52 -1
- data/lib/crimson-falcon/models/models_pod_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/models_policy_entity_response.rb +21 -21
- data/lib/crimson-falcon/models/models_policy_exclusion_entity_response.rb +21 -21
- data/lib/crimson-falcon/models/models_policy_group_entity_response.rb +21 -21
- data/lib/crimson-falcon/models/models_registry_credentials_response.rb +2 -2
- data/lib/crimson-falcon/models/models_result.rb +339 -0
- data/lib/crimson-falcon/models/models_result_location.rb +253 -0
- data/lib/crimson-falcon/models/models_result_location_properties.rb +253 -0
- data/lib/crimson-falcon/models/models_result_physical_location.rb +253 -0
- data/lib/crimson-falcon/models/models_result_physical_location_artifact_location.rb +239 -0
- data/lib/crimson-falcon/models/models_result_physical_location_region.rb +239 -0
- data/lib/crimson-falcon/models/models_result_properties.rb +365 -0
- data/lib/crimson-falcon/models/models_rule.rb +337 -0
- data/lib/crimson-falcon/models/models_rule_default_configuration.rb +239 -0
- data/lib/crimson-falcon/models/models_rule_properties.rb +669 -0
- data/lib/crimson-falcon/models/models_rule_status.rb +267 -0
- data/lib/crimson-falcon/models/models_rule_with_non_compliant_assets.rb +281 -0
- data/lib/crimson-falcon/models/models_rules_failed_by_severity.rb +281 -0
- data/lib/crimson-falcon/models/models_rules_with_non_compliant_assets.rb +255 -0
- data/lib/crimson-falcon/models/models_run.rb +255 -0
- data/lib/crimson-falcon/models/models_run_tool.rb +239 -0
- data/lib/crimson-falcon/models/models_run_tool_driver.rb +283 -0
- data/lib/crimson-falcon/models/models_scan_report_type.rb +333 -0
- data/lib/crimson-falcon/models/models_scan_results.rb +287 -0
- data/lib/crimson-falcon/models/models_snapshot_inventory_application.rb +351 -0
- data/lib/crimson-falcon/models/models_verify_access_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/models_vulnerabilities_type.rb +241 -0
- data/lib/crimson-falcon/models/models_vulnerability_product.rb +344 -0
- data/lib/crimson-falcon/models/models_vulnerability_sarif.rb +269 -0
- data/lib/crimson-falcon/models/models_vulnerability_type.rb +317 -0
- data/lib/crimson-falcon/models/msa_aggregate_query_request.rb +10 -1
- data/lib/crimson-falcon/models/msa_aggregates_response.rb +2 -2
- data/lib/crimson-falcon/models/msa_base_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/msa_entities_response.rb +2 -2
- data/lib/crimson-falcon/models/msa_entity_action_request_v3.rb +266 -0
- data/lib/crimson-falcon/models/msa_errors_only.rb +2 -2
- data/lib/crimson-falcon/models/msa_extended_bounds_spec.rb +253 -0
- data/lib/crimson-falcon/models/msa_facets_response.rb +2 -2
- data/lib/crimson-falcon/models/msa_query_response.rb +2 -2
- data/lib/crimson-falcon/models/msa_reply_affected_entities.rb +2 -2
- data/lib/crimson-falcon/models/msaspec_query_response.rb +2 -2
- data/lib/crimson-falcon/models/msaspec_response_fields.rb +2 -2
- data/lib/crimson-falcon/models/packages_api_combined_package.rb +2 -2
- data/lib/crimson-falcon/models/packages_api_combined_package_export.rb +2 -2
- data/lib/crimson-falcon/models/packages_api_combined_package_v2.rb +266 -0
- data/lib/crimson-falcon/models/packages_api_packages_by_vuln_count.rb +2 -2
- data/lib/crimson-falcon/models/parameter_activity_config_parameter_value.rb +11 -1
- data/lib/crimson-falcon/models/parameter_condition_field_parameter.rb +11 -1
- data/lib/crimson-falcon/models/parameter_condition_field_provision_parameter.rb +16 -1
- data/lib/crimson-falcon/models/patterndisposition_pattern_disposition.rb +85 -1
- data/lib/crimson-falcon/models/policies_delete_response.rb +2 -2
- data/lib/crimson-falcon/models/policies_policy.rb +15 -1
- data/lib/crimson-falcon/models/policies_precedence_response.rb +2 -2
- data/lib/crimson-falcon/models/policies_response.rb +2 -2
- data/lib/crimson-falcon/models/policyframework_benchmark.rb +253 -0
- data/lib/crimson-falcon/models/policyframework_control.rb +290 -0
- data/lib/crimson-falcon/models/prevention_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/processesapi_msa_process_detail_response.rb +2 -2
- data/lib/crimson-falcon/models/public_get_changes_response.rb +266 -0
- data/lib/crimson-falcon/models/quickscanpro_delete_file_response.rb +266 -0
- data/lib/crimson-falcon/models/quickscanpro_file_result.rb +305 -0
- data/lib/crimson-falcon/models/quickscanpro_file_upload_resource.rb +248 -0
- data/lib/crimson-falcon/models/quickscanpro_file_upload_response.rb +275 -0
- data/lib/crimson-falcon/models/quickscanpro_get_scan_result_resource.rb +267 -0
- data/lib/crimson-falcon/models/quickscanpro_get_scan_result_response.rb +266 -0
- data/lib/crimson-falcon/models/quickscanpro_launch_scan_request.rb +241 -0
- data/lib/crimson-falcon/models/quickscanpro_launch_scan_request_resource.rb +239 -0
- data/lib/crimson-falcon/models/quickscanpro_launch_scan_resource.rb +267 -0
- data/lib/crimson-falcon/models/quickscanpro_launch_scan_response.rb +275 -0
- data/lib/crimson-falcon/models/quickscanpro_mitre_attack.rb +288 -0
- data/lib/crimson-falcon/models/quickscanpro_mitre_attack_parent.rb +252 -0
- data/lib/crimson-falcon/models/quickscanpro_query_scan_results_response.rb +276 -0
- data/lib/crimson-falcon/models/quickscanpro_quota_resource.rb +262 -0
- data/lib/crimson-falcon/models/quickscanpro_scan_metadata.rb +281 -0
- data/lib/crimson-falcon/models/quickscanpro_scan_result.rb +345 -0
- data/lib/crimson-falcon/models/quickscanpro_url_result.rb +296 -0
- data/lib/crimson-falcon/models/registration_aws_account_ext_v2.rb +48 -1
- data/lib/crimson-falcon/models/registration_aws_account_patch.rb +51 -4
- data/lib/crimson-falcon/models/registration_aws_account_response_v2.rb +2 -7
- data/lib/crimson-falcon/models/registration_aws_console_url_response_v2.rb +266 -0
- data/lib/crimson-falcon/models/registration_aws_provision_get_account_script_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/registration_azure_account_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_azure_download_certificate_response_v1.rb +2 -7
- data/lib/crimson-falcon/models/registration_azure_management_group_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_azure_provision_get_user_script_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_azure_tenant_configuration_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_azure_tenant_default_subscription_id_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_azure_tenant_ids_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_external_ioa_event_response.rb +1 -1
- data/lib/crimson-falcon/models/registration_external_iom_event_response.rb +1 -1
- data/lib/crimson-falcon/models/registration_external_iom_event_response_v2.rb +2 -2
- data/lib/crimson-falcon/models/registration_gcp_account_patch_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_patch_v1.rb +262 -0
- data/lib/crimson-falcon/models/registration_gcp_account_req_obj_v2.rb +12 -1
- data/lib/crimson-falcon/models/registration_gcp_account_response_ext_v2.rb +2 -2
- data/lib/crimson-falcon/models/registration_gcp_account_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_gcp_account_rsp_obj_v2.rb +12 -1
- data/lib/crimson-falcon/models/registration_gcp_account_validated_v1.rb +299 -0
- data/lib/crimson-falcon/models/registration_gcp_account_validation_req_obj_v1.rb +239 -0
- data/lib/crimson-falcon/models/registration_gcp_account_validation_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_account_validation_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/registration_gcp_provision_get_user_script_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_gcp_service_account_ext_v1.rb +12 -1
- data/lib/crimson-falcon/models/registration_gcp_service_account_patch_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_patch_v1.rb +290 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_response_ext_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_obj_v1.rb +290 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_validation_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/registration_gcp_service_account_validation_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/registration_iom_event_ids_response_v2.rb +1 -1
- data/lib/crimson-falcon/models/registration_iom_event_v2.rb +12 -1
- data/lib/crimson-falcon/models/registration_msa_meta_info_extension.rb +1 -1
- data/lib/crimson-falcon/models/registration_msa_paging_extension.rb +1 -1
- data/lib/crimson-falcon/models/registration_policy_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_policy_settings_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_scan_schedule_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/registration_static_scripts_response.rb +2 -7
- data/lib/crimson-falcon/models/releasecontents_release_content.rb +327 -0
- data/lib/crimson-falcon/models/releasecontents_release_content_version.rb +267 -0
- data/lib/crimson-falcon/models/releasenotes_entities_get_request.rb +241 -0
- data/lib/crimson-falcon/models/releasenotes_entities_get_response_wrapper.rb +269 -0
- data/lib/crimson-falcon/models/releasenotes_note_detail.rb +270 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_v1.rb +303 -0
- data/lib/crimson-falcon/models/releasenotes_release_note_wrapper_v1.rb +271 -0
- data/lib/crimson-falcon/models/releases_release.rb +328 -0
- data/lib/crimson-falcon/models/releases_release_wrapper.rb +271 -0
- data/lib/crimson-falcon/models/remote_response_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/resources_app.rb +243 -0
- data/lib/crimson-falcon/models/resources_asset_graph.rb +243 -0
- data/lib/crimson-falcon/models/resources_cloud_context.rb +378 -0
- data/lib/crimson-falcon/models/resources_cloud_resource.rb +604 -0
- data/lib/crimson-falcon/models/resources_compliance.rb +307 -0
- data/lib/crimson-falcon/models/resources_detections.rb +291 -0
- data/lib/crimson-falcon/models/resources_host.rb +390 -0
- data/lib/crimson-falcon/models/resources_relationship.rb +261 -0
- data/lib/crimson-falcon/models/resources_vulnerability.rb +262 -0
- data/lib/crimson-falcon/models/rest_account_product_upsert_request_ext_v1.rb +255 -0
- data/lib/crimson-falcon/models/rest_aws_account_create_request_extv1.rb +241 -0
- data/lib/crimson-falcon/models/rest_aws_account_create_response_ext_v1.rb +266 -0
- data/lib/crimson-falcon/models/rest_aws_account_validated.rb +284 -0
- data/lib/crimson-falcon/models/rest_aws_account_validation_response.rb +266 -0
- data/lib/crimson-falcon/models/rest_azure_download_script_request_data.rb +239 -0
- data/lib/crimson-falcon/models/rest_azure_download_script_request_v1.rb +241 -0
- data/lib/crimson-falcon/models/rest_azure_provision_get_account_script_response_v1.rb +266 -0
- data/lib/crimson-falcon/models/rest_azure_script.rb +276 -0
- data/lib/crimson-falcon/models/rest_cloud_aws_account_create_ext_v1.rb +286 -0
- data/lib/crimson-falcon/models/rest_cursor_and_limit_meta_info.rb +289 -0
- data/lib/crimson-falcon/models/rest_cursor_meta_info.rb +280 -0
- data/lib/crimson-falcon/models/rest_cursor_response_fields.rb +250 -0
- data/lib/crimson-falcon/models/rest_paging.rb +262 -0
- data/lib/crimson-falcon/models/restapi_indicator_response.rb +271 -0
- data/lib/crimson-falcon/models/restapi_indicators_query_request.rb +255 -0
- data/lib/crimson-falcon/models/restapi_indicators_query_sort_request.rb +267 -0
- data/lib/crimson-falcon/models/rulegroups_delete_response.rb +2 -2
- data/lib/crimson-falcon/models/rulegroups_response.rb +2 -2
- data/lib/crimson-falcon/models/rulegroups_rule.rb +19 -1
- data/lib/crimson-falcon/models/rulegroups_rules_response.rb +2 -2
- data/lib/crimson-falcon/models/runtimedetections_detections_entity_response.rb +2 -2
- data/lib/crimson-falcon/models/sadomain_create_rule_request_v1.rb +49 -2
- data/lib/crimson-falcon/models/sadomain_rule.rb +62 -1
- data/lib/crimson-falcon/models/sadomain_typosquatting_base_domain.rb +19 -1
- data/lib/crimson-falcon/models/sadomain_typosquatting_component.rb +10 -1
- data/lib/crimson-falcon/models/sadomain_typosquatting_subdomain.rb +285 -0
- data/lib/crimson-falcon/models/scanreports_entities_response.rb +266 -0
- data/lib/crimson-falcon/models/scheduledexclusions_response.rb +2 -2
- data/lib/crimson-falcon/models/schema_sensor_event_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/schema_sensor_field_response_v1.rb +2 -2
- data/lib/crimson-falcon/models/sensor_update_builds_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/sensor_update_kernels_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/sensor_update_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/sensor_update_resp_v2.rb +2 -2
- data/lib/crimson-falcon/models/source_endpoint.rb +243 -0
- data/lib/crimson-falcon/models/source_user.rb +243 -0
- data/lib/crimson-falcon/models/state_online_state_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/string_wrapper.rb +266 -0
- data/lib/crimson-falcon/models/sv_exclusions_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/threatgraph_meta.rb +271 -0
- data/lib/crimson-falcon/models/threatgraph_paging.rb +257 -0
- data/lib/crimson-falcon/models/threatgraph_vertex_details.rb +327 -0
- data/lib/crimson-falcon/models/threatgraph_vertex_details_response.rb +271 -0
- data/lib/crimson-falcon/models/triggers_trigger_ext.rb +322 -0
- data/lib/crimson-falcon/models/triggers_trigger_ext_field.rb +305 -0
- data/lib/crimson-falcon/models/triggers_trigger_external_response.rb +271 -0
- data/lib/crimson-falcon/models/types_action_run.rb +299 -0
- data/lib/crimson-falcon/models/types_action_run_event.rb +324 -0
- data/lib/crimson-falcon/models/types_action_run_event_data.rb +360 -0
- data/lib/crimson-falcon/models/types_action_run_metadata.rb +288 -0
- data/lib/crimson-falcon/models/types_artifact.rb +261 -0
- data/lib/crimson-falcon/models/types_aws_api_gateway_reason_tag.rb +261 -0
- data/lib/crimson-falcon/models/types_aws_elastic_ip_reason_tag.rb +252 -0
- data/lib/crimson-falcon/models/types_aws_lambda_api_gateway_reason_tag.rb +261 -0
- data/lib/crimson-falcon/models/types_aws_load_balancer_reason_tag.rb +243 -0
- data/lib/crimson-falcon/models/types_aws_metadata.rb +243 -0
- data/lib/crimson-falcon/models/types_azure_application_gateway_reason_tag.rb +272 -0
- data/lib/crimson-falcon/models/types_azure_load_balancer_reason_tag.rb +261 -0
- data/lib/crimson-falcon/models/types_azure_site_metadata.rb +279 -0
- data/lib/crimson-falcon/models/types_azure_vm_metadata.rb +270 -0
- data/lib/crimson-falcon/models/types_business_application.rb +243 -0
- data/lib/crimson-falcon/models/types_cloud_function_metadata.rb +234 -0
- data/lib/crimson-falcon/models/types_composed_schedule.rb +299 -0
- data/lib/crimson-falcon/models/types_configuration.rb +279 -0
- data/lib/crimson-falcon/models/types_create_integration_request.rb +234 -0
- data/lib/crimson-falcon/models/types_create_integration_task_request.rb +234 -0
- data/lib/crimson-falcon/models/types_crowd_strike_cloud_security_metadata.rb +288 -0
- data/lib/crimson-falcon/models/types_data_type_db_reason_tag.rb +256 -0
- data/lib/crimson-falcon/models/types_data_type_mq_reason_tag.rb +245 -0
- data/lib/crimson-falcon/models/types_dependency.rb +306 -0
- data/lib/crimson-falcon/models/types_deployment_unit_descriptor.rb +263 -0
- data/lib/crimson-falcon/models/types_deployment_unit_service.rb +252 -0
- data/lib/crimson-falcon/models/types_deployment_units_tuple_filters.rb +247 -0
- data/lib/crimson-falcon/models/types_ec2_metadata.rb +243 -0
- data/lib/crimson-falcon/models/types_ecs_metadata.rb +270 -0
- data/lib/crimson-falcon/models/types_edit_tag_request.rb +255 -0
- data/lib/crimson-falcon/models/types_edit_unique_tag_request.rb +241 -0
- data/lib/crimson-falcon/models/types_error_message.rb +253 -0
- data/lib/crimson-falcon/models/types_executor_node.rb +342 -0
- data/lib/crimson-falcon/models/types_framework.rb +272 -0
- data/lib/crimson-falcon/models/types_gcp_metadata.rb +243 -0
- data/lib/crimson-falcon/models/types_generic_user_facing_request.rb +252 -0
- data/lib/crimson-falcon/models/types_get_executor_nodes_metadata_response.rb +278 -0
- data/lib/crimson-falcon/models/types_get_integration_tasks_metadata_response.rb +267 -0
- data/lib/crimson-falcon/models/types_get_services_related_entity.rb +261 -0
- data/lib/crimson-falcon/models/types_get_services_related_entity_filters.rb +252 -0
- data/lib/crimson-falcon/models/types_get_services_related_entity_group_by_fields.rb +236 -0
- data/lib/crimson-falcon/models/types_get_services_request.rb +321 -0
- data/lib/crimson-falcon/models/types_get_violation_types_response.rb +247 -0
- data/lib/crimson-falcon/models/types_host_metadata.rb +234 -0
- data/lib/crimson-falcon/models/types_integration.rb +297 -0
- data/lib/crimson-falcon/models/types_integration_response.rb +243 -0
- data/lib/crimson-falcon/models/types_integration_task.rb +369 -0
- data/lib/crimson-falcon/models/types_integration_task_response.rb +243 -0
- data/lib/crimson-falcon/models/types_integration_task_test_connection_response.rb +234 -0
- data/lib/crimson-falcon/models/types_integration_task_type.rb +281 -0
- data/lib/crimson-falcon/models/types_integration_type.rb +270 -0
- data/lib/crimson-falcon/models/types_interface.rb +548 -0
- data/lib/crimson-falcon/models/types_interface_service.rb +263 -0
- data/lib/crimson-falcon/models/types_k8_s_load_balancer_reason_tag.rb +263 -0
- data/lib/crimson-falcon/models/types_k8_s_metadata.rb +252 -0
- data/lib/crimson-falcon/models/types_k8_s_pod_settings.rb +256 -0
- data/lib/crimson-falcon/models/types_key_value.rb +243 -0
- data/lib/crimson-falcon/models/types_lambda_metadata.rb +243 -0
- data/lib/crimson-falcon/models/types_library.rb +290 -0
- data/lib/crimson-falcon/models/types_list_executor_nodes_response.rb +236 -0
- data/lib/crimson-falcon/models/types_list_integration_tasks_response.rb +236 -0
- data/lib/crimson-falcon/models/types_list_integration_types_response.rb +236 -0
- data/lib/crimson-falcon/models/types_list_integrations_response.rb +236 -0
- data/lib/crimson-falcon/models/types_order_by.rb +243 -0
- data/lib/crimson-falcon/models/types_paginate.rb +263 -0
- data/lib/crimson-falcon/models/types_pagination.rb +263 -0
- data/lib/crimson-falcon/models/types_policy_rules_condition.rb +247 -0
- data/lib/crimson-falcon/models/types_policy_rules_create_body.rb +331 -0
- data/lib/crimson-falcon/models/types_query_request.rb +266 -0
- data/lib/crimson-falcon/models/types_query_request_select_fields.rb +256 -0
- data/lib/crimson-falcon/models/types_query_result.rb +243 -0
- data/lib/crimson-falcon/models/types_reason_tag.rb +315 -0
- data/lib/crimson-falcon/models/types_remediation.rb +243 -0
- data/lib/crimson-falcon/models/types_results_filter.rb +243 -0
- data/lib/crimson-falcon/models/types_run_integration_task_request.rb +279 -0
- data/lib/crimson-falcon/models/types_service_now_deployment.rb +253 -0
- data/lib/crimson-falcon/models/types_service_now_deployments_response.rb +269 -0
- data/lib/crimson-falcon/models/types_service_now_service.rb +549 -0
- data/lib/crimson-falcon/models/types_service_now_service_data.rb +355 -0
- data/lib/crimson-falcon/models/types_service_now_service_deployments.rb +255 -0
- data/lib/crimson-falcon/models/types_service_now_services_response.rb +269 -0
- data/lib/crimson-falcon/models/types_service_service_artifact.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_business_application.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_configuration.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_dependency.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_framework.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_interface.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_library.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_tag.rb +245 -0
- data/lib/crimson-falcon/models/types_service_service_traits.rb +245 -0
- data/lib/crimson-falcon/models/types_snyk_metadata.rb +252 -0
- data/lib/crimson-falcon/models/types_sonatype_metadata.rb +261 -0
- data/lib/crimson-falcon/models/types_struct.rb +241 -0
- data/lib/crimson-falcon/models/types_tag.rb +310 -0
- data/lib/crimson-falcon/models/types_tag_data.rb +274 -0
- data/lib/crimson-falcon/models/types_tag_entry.rb +257 -0
- data/lib/crimson-falcon/models/types_tags_data_response.rb +245 -0
- data/lib/crimson-falcon/models/types_timestamp.rb +253 -0
- data/lib/crimson-falcon/models/types_trait.rb +252 -0
- data/lib/crimson-falcon/models/types_tuple_to_string.rb +243 -0
- data/lib/crimson-falcon/models/types_unique_tag_entry.rb +261 -0
- data/lib/crimson-falcon/models/types_update_integration_request.rb +245 -0
- data/lib/crimson-falcon/models/types_update_integration_task_request.rb +234 -0
- data/lib/crimson-falcon/models/types_upsert_business_application_request.rb +255 -0
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_container_api_response.rb +2 -2
- data/lib/crimson-falcon/models/unidentifiedcontainers_unidentified_containers_count_value.rb +2 -2
- data/lib/crimson-falcon/models/uninstall_token_resp_v1.rb +2 -2
- data/lib/crimson-falcon/models/v2_activity.rb +10 -1
- data/lib/crimson-falcon/models/v2_condition.rb +10 -6
- data/lib/crimson-falcon/models/v2_condition_groups.rb +257 -0
- data/lib/crimson-falcon/models/v2_definition.rb +60 -4
- data/lib/crimson-falcon/models/v2_for_loop.rb +60 -4
- data/lib/crimson-falcon/models/v2_loop.rb +10 -1
- data/lib/crimson-falcon/models/v2_model.rb +338 -0
- data/lib/crimson-falcon/models/v2_parameters.rb +1 -1
- data/lib/crimson-falcon/models/vulncheck_epss.rb +253 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_botnets.rb +269 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_counts.rb +267 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_cve_reference.rb +269 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_details.rb +404 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_ransomware.rb +257 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_ransomware_data.rb +253 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_record.rb +297 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_threat_actor.rb +305 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_timeline.rb +342 -0
- data/lib/crimson-falcon/models/vulncheck_exploit_trending.rb +239 -0
- data/lib/crimson-falcon/models/vulncheck_threat_actor_vendor_name.rb +252 -0
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_details.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_combined_vulnerability_info.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_image_count.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_by_publication.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_actively_exploited.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_csp_rating.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_cvss_score.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_api_vuln_count_by_severity.rb +2 -2
- data/lib/crimson-falcon/models/vulnerabilities_vulnerability_entity_sarif_response.rb +266 -0
- data/lib/crimson-falcon/models/workflow_request.rb +241 -0
- data/lib/crimson-falcon/models/workflow_response.rb +261 -0
- data/lib/crimson-falcon/version.rb +2 -2
- data/lib/crimson-falcon.rb +587 -105
- data/spec/api/alerts_spec.rb +163 -0
- data/spec/api/api_integrations_spec.rb +88 -0
- data/spec/api/aspm_spec.rb +364 -0
- data/spec/api/certificate_based_exclusions_spec.rb +122 -0
- data/spec/api/cloud_aws_registration_spec.rb +128 -0
- data/spec/api/cloud_azure_registration_spec.rb +63 -0
- data/spec/api/cloud_connect_aws_spec.rb +157 -0
- data/spec/api/cloud_security_assets_spec.rb +78 -0
- data/spec/api/cloud_snapshots_spec.rb +120 -0
- data/spec/api/compliance_assessments_spec.rb +175 -0
- data/spec/api/configuration_assessment_evaluation_logic_spec.rb +63 -0
- data/spec/api/configuration_assessment_spec.rb +78 -0
- data/spec/api/container_alerts_spec.rb +88 -0
- data/spec/api/container_detections_spec.rb +125 -0
- data/spec/api/container_images_spec.rb +217 -0
- data/spec/api/container_packages_spec.rb +134 -0
- data/spec/api/container_vulnerabilities_spec.rb +184 -0
- data/spec/api/content_update_policies_spec.rb +177 -0
- data/spec/api/correlation_rules_spec.rb +137 -0
- data/spec/api/cspg_iac_spec.rb +62 -0
- data/spec/api/cspm_registration_spec.rb +547 -0
- data/spec/api/custom_ioa_spec.rb +290 -0
- data/spec/api/custom_storage_spec.rb +219 -0
- data/spec/api/d4c_registration_spec.rb +309 -0
- data/spec/api/datascanner_spec.rb +85 -0
- data/spec/api/delivery_settings_spec.rb +73 -0
- data/spec/api/deployments_spec.rb +65 -0
- data/spec/api/detects_spec.rb +100 -0
- data/spec/api/device_content_spec.rb +77 -0
- data/spec/api/device_control_policies_spec.rb +198 -0
- data/spec/api/discover_iot_spec.rb +91 -0
- data/spec/api/discover_spec.rb +193 -0
- data/spec/api/downloads_spec.rb +68 -0
- data/spec/api/drift_indicators_spec.rb +114 -0
- data/spec/api/event_schema_spec.rb +87 -0
- data/spec/api/event_streams_spec.rb +77 -0
- data/spec/api/exposure_management_spec.rb +180 -0
- data/spec/api/falcon_complete_dashboard_spec.rb +297 -0
- data/spec/api/falcon_container_cli_spec.rb +63 -0
- data/spec/api/falcon_container_image_spec.rb +154 -0
- data/spec/api/falcon_container_spec.rb +62 -0
- data/spec/api/falconx_sandbox_spec.rb +236 -0
- data/spec/api/field_schema_spec.rb +77 -0
- data/spec/api/filevantage_spec.rb +450 -0
- data/spec/api/firewall_management_spec.rb +462 -0
- data/spec/api/firewall_policies_spec.rb +178 -0
- data/spec/api/foundry_logscale_spec.rb +265 -0
- data/spec/api/handle_spec.rb +62 -0
- data/spec/api/host_group_spec.rb +167 -0
- data/spec/api/host_migration_spec.rb +180 -0
- data/spec/api/hosts_spec.rb +197 -0
- data/spec/api/humio_auth_proxy_spec.rb +137 -0
- data/spec/api/identity_entities_spec.rb +88 -0
- data/spec/api/identity_protection_spec.rb +113 -0
- data/spec/api/image_assessment_policies_spec.rb +172 -0
- data/spec/api/incidents_spec.rb +129 -0
- data/spec/api/installation_tokens_settings_spec.rb +63 -0
- data/spec/api/installation_tokens_spec.rb +146 -0
- data/spec/api/intel_spec.rb +366 -0
- data/spec/api/intelligence_indicator_graph_spec.rb +66 -0
- data/spec/api/ioa_exclusions_spec.rb +113 -0
- data/spec/api/ioc_spec.rb +259 -0
- data/spec/api/iocs_spec.rb +104 -0
- data/spec/api/kubernetes_protection_spec.rb +778 -0
- data/spec/api/lookup_files_spec.rb +80 -0
- data/spec/api/malquery_spec.rb +150 -0
- data/spec/api/message_center_spec.rb +172 -0
- data/spec/api/ml_exclusions_spec.rb +111 -0
- data/spec/api/mobile_enrollment_spec.rb +78 -0
- data/spec/api/mssp_spec.rb +402 -0
- data/spec/api/oauth2_spec.rb +77 -0
- data/spec/api/ods_spec.rb +241 -0
- data/spec/api/overwatch_dashboard_spec.rb +107 -0
- data/spec/api/prevention_policies_spec.rb +177 -0
- data/spec/api/quarantine_spec.rb +122 -0
- data/spec/api/quick_scan_pro_spec.rb +122 -0
- data/spec/api/quick_scan_spec.rb +99 -0
- data/spec/api/real_time_response_admin_spec.rb +257 -0
- data/spec/api/real_time_response_audit_spec.rb +67 -0
- data/spec/api/real_time_response_spec.rb +333 -0
- data/spec/api/recon_spec.rb +358 -0
- data/spec/api/release_notes_spec.rb +97 -0
- data/spec/api/releases_spec.rb +68 -0
- data/spec/api/report_executions_spec.rb +100 -0
- data/spec/api/response_policies_spec.rb +177 -0
- data/spec/api/runtime_detections_spec.rb +66 -0
- data/spec/api/sample_uploads_spec.rb +191 -0
- data/spec/api/scheduled_reports_spec.rb +89 -0
- data/spec/api/sensor_download_spec.rb +162 -0
- data/spec/api/sensor_update_policies_spec.rb +274 -0
- data/spec/api/sensor_usage_spec.rb +63 -0
- data/spec/api/sensor_visibility_exclusions_spec.rb +111 -0
- data/spec/api/spotlight_evaluation_logic_spec.rb +91 -0
- data/spec/api/spotlight_vulnerabilities_spec.rb +103 -0
- data/spec/api/threatgraph_spec.rb +136 -0
- data/spec/api/unidentified_containers_spec.rb +88 -0
- data/spec/api/user_management_spec.rb +308 -0
- data/spec/api/vulnerabilities_spec.rb +66 -0
- data/spec/api/workflows_spec.rb +274 -0
- data/spec/api/zero_trust_assessment_spec.rb +87 -0
- data/spec/models/actions_action_response_spec.rb +63 -0
- data/spec/models/actions_action_spec.rb +99 -0
- data/spec/models/actions_create_action_request_spec.rb +63 -0
- data/spec/models/actions_get_action_response_spec.rb +63 -0
- data/spec/models/activities_activity_ext_field_spec.rb +93 -0
- data/spec/models/activities_activity_external_response_spec.rb +63 -0
- data/spec/models/activities_activity_spec.rb +165 -0
- data/spec/models/activity_spec.rb +57 -0
- data/spec/models/alerts_container_alerts_count_value_spec.rb +3 -3
- data/spec/models/api_cert_based_exclusion_create_req_v1_spec.rb +117 -0
- data/spec/models/api_cert_based_exclusion_resp_v1_spec.rb +63 -0
- data/spec/models/api_cert_based_exclusion_update_req_v1_spec.rb +123 -0
- data/spec/models/api_cert_based_exclusion_v1_spec.rb +129 -0
- data/spec/models/api_cert_based_exclusions_create_req_v1_spec.rb +51 -0
- data/spec/models/api_cert_based_exclusions_update_req_v1_spec.rb +51 -0
- data/spec/models/api_certificate_req_v1_spec.rb +81 -0
- data/spec/models/api_certificate_v1_spec.rb +81 -0
- data/spec/models/api_certificates_response_v1_spec.rb +51 -0
- data/spec/models/api_create_migration_request_v1_spec.rb +69 -0
- data/spec/models/api_create_migration_response_v1_spec.rb +63 -0
- data/spec/models/api_create_rule_operation_v1_spec.rb +63 -0
- data/spec/models/api_event_spec.rb +75 -0
- data/spec/models/api_get_entities_rules_response_v1_spec.rb +63 -0
- data/spec/models/api_get_host_migration_response_v1_spec.rb +63 -0
- data/spec/models/api_get_migration_destinations_request_body_v1_spec.rb +57 -0
- data/spec/models/api_get_migration_destinations_response_v1_spec.rb +63 -0
- data/spec/models/api_get_migrations_response_v1_spec.rb +63 -0
- data/spec/models/api_host_migration_spec.rb +129 -0
- data/spec/models/api_hourly_average_response_spec.rb +63 -0
- data/spec/models/api_mfa_resource_ids_response_spec.rb +69 -0
- data/spec/models/api_migrate_hosts_info_spec.rb +63 -0
- data/spec/models/api_migration_spec.rb +117 -0
- data/spec/models/api_object_metadata_spec.rb +6 -0
- data/spec/models/api_patch_rule_operation_v1_spec.rb +63 -0
- data/spec/models/api_patch_rule_search_v1_spec.rb +69 -0
- data/spec/models/api_post_enrollment_details_v4_spec.rb +63 -0
- data/spec/models/api_resp_certificates_v1_spec.rb +63 -0
- data/spec/models/api_rule_create_request_v1_spec.rb +111 -0
- data/spec/models/api_rule_operation_v1_spec.rb +69 -0
- data/spec/models/api_rule_patch_request_v1_spec.rb +99 -0
- data/spec/models/api_rule_schedule_v1_patch_spec.rb +51 -0
- data/spec/models/api_rule_schedule_v1_spec.rb +51 -0
- data/spec/models/api_rule_search_v1_spec.rb +69 -0
- data/spec/models/api_rule_update_v2_spec.rb +93 -0
- data/spec/models/api_rule_updates_request_v2_spec.rb +69 -0
- data/spec/models/api_rule_v1_spec.rb +16 -34
- data/spec/models/api_weekly_average_response_spec.rb +63 -0
- data/spec/models/apidomain_query_response_v1_spec.rb +6 -0
- data/spec/models/apidomain_saved_search_execute_request_v1_spec.rb +0 -6
- data/spec/models/assets_get_resource_ids_response_spec.rb +63 -0
- data/spec/models/assets_get_resources_response_spec.rb +63 -0
- data/spec/models/base_set_content_update_policy_precedence_req_v1_spec.rb +51 -0
- data/spec/models/changes_change_spec.rb +12 -0
- data/spec/models/changes_host_spec.rb +6 -0
- data/spec/models/changes_permissions_mac_spec.rb +81 -0
- data/spec/models/client_job_status_spec.rb +6 -0
- data/spec/models/common_count_as_resource_spec.rb +0 -6
- data/spec/models/common_count_response_spec.rb +3 -3
- data/spec/models/common_credentials_spec.rb +51 -0
- data/spec/models/common_entities_response_spec.rb +63 -0
- data/spec/models/common_registry_credentials_response_spec.rb +63 -0
- data/spec/models/content_update_create_policies_req_v1_spec.rb +51 -0
- data/spec/models/content_update_create_policy_req_v1_spec.rb +63 -0
- data/spec/models/content_update_ring_assignment_settings_v1_spec.rb +57 -0
- data/spec/models/content_update_settings_v1_spec.rb +51 -0
- data/spec/models/content_update_update_policies_req_v1_spec.rb +51 -0
- data/spec/models/content_update_update_policy_req_v1_spec.rb +69 -0
- data/spec/models/contentchanges_change_contents_response_spec.rb +63 -0
- data/spec/models/contentchanges_content_diff_spec.rb +69 -0
- data/spec/models/contentchanges_content_spec.rb +57 -0
- data/spec/models/custom_storage_object_keys_spec.rb +63 -0
- data/spec/models/custom_storage_response_spec.rb +63 -0
- data/spec/models/dataclassifications_label_spec.rb +63 -0
- data/spec/models/dataclassifications_response_spec.rb +75 -0
- data/spec/models/dataclassifications_tag_spec.rb +69 -0
- data/spec/models/definitions_definition_ext_spec.rb +103 -1
- data/spec/models/deployments_api_deployment_ring_view_spec.rb +87 -0
- data/spec/models/deployments_api_deployment_view_spec.rb +93 -0
- data/spec/models/deployments_api_deployment_view_wrapper_spec.rb +63 -0
- data/spec/models/deployments_entity_response_spec.rb +63 -0
- data/spec/models/destination_spec.rb +57 -0
- data/spec/models/destinations_migration_destination_spec.rb +57 -0
- data/spec/models/detections_api_assessment_detections_spec.rb +3 -3
- data/spec/models/detections_api_combined_detections_spec.rb +3 -3
- data/spec/models/detections_api_detections_count_spec.rb +3 -3
- data/spec/models/detects_external_alert_spec.rb +273 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_meta_spec.rb +69 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_paging_spec.rb +63 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_request_swagger_spec.rb +69 -0
- data/spec/models/detectsapi_post_combined_alerts_v1_response_swagger_spec.rb +63 -0
- data/spec/models/detectsapi_post_entities_alerts_v1_response_swagger_spec.rb +63 -0
- data/spec/models/detectsapi_post_entities_alerts_v2_response_swagger_spec.rb +63 -0
- data/spec/models/device_control_usb_class_exceptions_req_v1_spec.rb +1 -1
- data/spec/models/device_control_usb_class_exceptions_response_spec.rb +1 -1
- data/spec/models/device_device_spec.rb +36 -0
- data/spec/models/device_mapped_device_policies_spec.rb +24 -0
- data/spec/models/deviceapi_device_swagger_spec.rb +24 -0
- data/spec/models/devicecontent_content_category_spec.rb +51 -0
- data/spec/models/devicecontent_state_spec.rb +117 -0
- data/spec/models/devicecontentapi_entities_response_v1_spec.rb +63 -0
- data/spec/models/devicecontentapi_query_response_v1_spec.rb +63 -0
- data/spec/models/domain_aggregate_cluster_assessments_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_failed_asset_count_by_severity_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_failed_assets_by_rules_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_failed_rules_by_clusters_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_failed_rules_by_images_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_failed_rules_count_by_severity_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_image_assessments_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_rules_assessments_response_spec.rb +63 -0
- data/spec/models/domain_aggregate_rules_by_status_response_spec.rb +63 -0
- data/spec/models/domain_api_compliance_control_v1_spec.rb +57 -0
- data/spec/models/domain_api_compliance_mapping_v1_spec.rb +63 -0
- data/spec/models/domain_api_error_spec.rb +3 -3
- data/spec/models/domain_api_evaluation_logic_item_v1_spec.rb +6 -6
- data/spec/models/domain_api_evaluation_logic_v1_spec.rb +2 -14
- data/spec/models/domain_api_finding_rule_v1_spec.rb +6 -0
- data/spec/models/domain_api_host_info_facet_v1_spec.rb +6 -0
- data/spec/models/domain_api_remediation_info_spec.rb +63 -0
- data/spec/models/domain_api_remediation_v2_spec.rb +12 -0
- data/spec/models/domain_api_rule_details_v1_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_app_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_cve_details_facet_v2_spec.rb +6 -0
- data/spec/models/domain_api_vulnerability_extended_app_v2_spec.rb +18 -0
- data/spec/models/domain_api_vulnerability_host_facet_v2_spec.rb +18 -0
- data/spec/models/domain_api_vulnerability_service_v2_spec.rb +63 -0
- data/spec/models/domain_api_vulnerability_v2_spec.rb +12 -0
- data/spec/models/domain_assessment_paging_spec.rb +69 -0
- data/spec/models/domain_aws_account_resource_metadata_spec.rb +117 -0
- data/spec/models/domain_aws_account_v2_spec.rb +30 -0
- data/spec/models/domain_aws_inventory_filter_setting_spec.rb +63 -0
- data/spec/models/domain_base_api_vulnerability_v2_spec.rb +12 -0
- data/spec/models/domain_behavior_spec.rb +6 -0
- data/spec/models/domain_benchmark_spec.rb +6 -0
- data/spec/models/domain_case_creation_request_v2_spec.rb +12 -0
- data/spec/models/domain_cipher_spec.rb +63 -0
- data/spec/models/domain_cisa_known_exploited_vulnerabilities_info_spec.rb +57 -0
- data/spec/models/domain_cloud_aws_account_v1_spec.rb +189 -0
- data/spec/models/domain_cloud_condition_spec.rb +93 -0
- data/spec/models/domain_compliance_findings_grouped_by_images_with_scroll_spec.rb +57 -0
- data/spec/models/domain_compliance_spec.rb +75 -0
- data/spec/models/domain_condition_spec.rb +12 -0
- data/spec/models/domain_config_v1_spec.rb +75 -0
- data/spec/models/domain_configs_v1_spec.rb +63 -0
- data/spec/models/domain_content_package_spec.rb +51 -0
- data/spec/models/domain_content_update_policy_resp_v1_spec.rb +153 -0
- data/spec/models/domain_content_update_settings_v1_spec.rb +51 -0
- data/spec/models/domain_control_benchmark_spec.rb +57 -0
- data/spec/models/domain_control_spec.rb +81 -0
- data/spec/models/domain_cps_rating_history_entry_spec.rb +57 -0
- data/spec/models/domain_cps_rating_indicator_spec.rb +63 -0
- data/spec/models/domain_cps_rating_spec.rb +75 -0
- data/spec/models/domain_create_submission_v1_error_response_spec.rb +71 -0
- data/spec/models/domain_credentials_spec.rb +1 -13
- data/spec/models/domain_cve_exploit_reference_spec.rb +63 -0
- data/spec/models/domain_cve_exploit_source_spec.rb +69 -0
- data/spec/models/domain_cve_exploit_spec.rb +69 -0
- data/spec/models/domain_cve_spec.rb +195 -0
- data/spec/models/domain_cvssv2_spec.rb +75 -0
- data/spec/models/domain_cvssv3_spec.rb +123 -0
- data/spec/models/domain_denormalized_adversary_reference_spec.rb +63 -0
- data/spec/models/domain_denormalized_country_spec.rb +57 -0
- data/spec/models/domain_denormalized_customer_target_spec.rb +51 -0
- data/spec/models/domain_denormalized_report_reference_spec.rb +63 -0
- data/spec/models/domain_denormalized_sector_spec.rb +57 -0
- data/spec/models/domain_denormalized_threat_reference_spec.rb +57 -0
- data/spec/models/domain_denormalized_threat_used_mitre_spec.rb +87 -0
- data/spec/models/domain_device_spec.rb +1 -1
- data/spec/models/domain_discover_api_active_discovery_host_spec.rb +12 -0
- data/spec/models/domain_discover_api_application_browser_extension_installation_spec.rb +99 -0
- data/spec/models/domain_discover_api_application_browser_extension_spec.rb +93 -0
- data/spec/models/domain_discover_api_application_host_spec.rb +6 -0
- data/spec/models/domain_discover_api_application_spec.rb +12 -0
- data/spec/models/domain_discover_api_combined_applications_response_spec.rb +63 -0
- data/spec/models/domain_discover_api_combined_hosts_response_spec.rb +63 -0
- data/spec/models/domain_discover_api_host_spec.rb +168 -0
- data/spec/models/domain_discover_api_meta_info_spec.rb +75 -0
- data/spec/models/domain_discover_api_paging_spec.rb +63 -0
- data/spec/models/domain_discover_api_response_spec.rb +63 -0
- data/spec/models/domain_discover_apiio_t_host_spec.rb +308 -20
- data/spec/models/domain_discover_apiio_t_host_triage_spec.rb +81 -0
- data/spec/models/domain_discover_params_spec.rb +6 -0
- data/spec/models/domain_execute_command_request_v1_spec.rb +51 -0
- data/spec/models/domain_execute_command_result_v1_spec.rb +75 -0
- data/spec/models/domain_execute_command_results_v1_spec.rb +63 -0
- data/spec/models/domain_execute_command_v1_spec.rb +87 -0
- data/spec/models/domain_execution_metadata_summary_spec.rb +6 -0
- data/spec/models/domain_execution_metadata_v1_spec.rb +6 -0
- data/spec/models/domain_external_asset_api_delete_request_v1_spec.rb +51 -0
- data/spec/models/domain_external_asset_api_patch_request_v1_spec.rb +51 -0
- data/spec/models/domain_external_asset_application_spec.rb +75 -0
- data/spec/models/domain_external_asset_certificate_entity_identifiers_spec.rb +141 -0
- data/spec/models/domain_external_asset_certificate_spec.rb +105 -0
- data/spec/models/domain_external_asset_cloud_vm_spec.rb +117 -0
- data/spec/models/domain_external_asset_discovery_attributes_spec.rb +57 -0
- data/spec/models/domain_external_asset_discovery_path_attributes_spec.rb +51 -0
- data/spec/models/domain_external_asset_discovery_step_attributes_spec.rb +75 -0
- data/spec/models/domain_external_asset_geographical_location_spec.rb +99 -0
- data/spec/models/domain_external_asset_http_attributes_spec.rb +75 -0
- data/spec/models/domain_external_asset_redirect_step_attributes_spec.rb +69 -0
- data/spec/models/domain_external_asset_service_blobs_links_spec.rb +69 -0
- data/spec/models/domain_external_asset_service_spec.rb +153 -0
- data/spec/models/domain_external_asset_ssl_record_spec.rb +93 -0
- data/spec/models/domain_external_asset_subsidiary_spec.rb +57 -0
- data/spec/models/domain_external_assets_api_patch_spec.rb +75 -0
- data/spec/models/domain_external_assets_api_triage_patch_spec.rb +69 -0
- data/spec/models/domain_external_assets_api_triage_spec.rb +81 -0
- data/spec/models/domain_external_assets_api_type_v1_spec.rb +63 -0
- data/spec/models/domain_external_assets_blob_api_type_v1_spec.rb +63 -0
- data/spec/models/domain_external_export_job_spec.rb +81 -0
- data/spec/models/domain_feature_permission_spec.rb +57 -0
- data/spec/models/domain_feature_status_spec.rb +57 -0
- data/spec/models/domain_fem_dns_domain_spec.rb +81 -0
- data/spec/models/domain_fem_ecosystem_subsidiaries_entities_response_spec.rb +57 -0
- data/spec/models/domain_fem_ecosystem_subsidiaries_meta_spec.rb +57 -0
- data/spec/models/domain_fem_ecosystem_subsidiaries_query_response_spec.rb +57 -0
- data/spec/models/domain_fem_ecosystem_subsidiaries_response_fields_spec.rb +57 -0
- data/spec/models/domain_fem_ecosystem_subsidiary_spec.rb +99 -0
- data/spec/models/domain_fem_external_asset_spec.rb +183 -0
- data/spec/models/domain_fem_external_ip_spec.rb +105 -0
- data/spec/models/domain_gcp_account_v1_spec.rb +12 -0
- data/spec/models/domain_geo_point_spec.rb +57 -0
- data/spec/models/domain_incident_spec.rb +6 -0
- data/spec/models/domain_init_response_spec.rb +12 -0
- data/spec/models/domain_item_details_v1_spec.rb +6 -0
- data/spec/models/domain_kestrel_params_spec.rb +51 -0
- data/spec/models/domain_lookup_file_spec.rb +147 -0
- data/spec/models/domain_lookup_file_wrapper_spec.rb +63 -0
- data/spec/models/domain_malware_document_spec.rb +351 -0
- data/spec/models/domain_malware_environment_aggregates_spec.rb +63 -0
- data/spec/models/domain_malware_response_spec.rb +63 -0
- data/spec/models/domain_marketplace_credentials_spec.rb +63 -0
- data/spec/models/domain_meta_info_spec.rb +0 -12
- data/spec/models/domain_msa_meta_info_spec.rb +57 -0
- data/spec/models/domain_news_document_spec.rb +6 -0
- data/spec/models/domain_notification_v1_spec.rb +18 -0
- data/spec/models/domain_platform_spec.rb +1 -1
- data/spec/models/domain_policy_info_spec.rb +36 -0
- data/spec/models/domain_product_features_spec.rb +57 -0
- data/spec/models/domain_product_features_status_spec.rb +57 -0
- data/spec/models/domain_product_permission_spec.rb +57 -0
- data/spec/models/domain_reference_spec.rb +57 -0
- data/spec/models/domain_report_execution_summary_v1_spec.rb +6 -0
- data/spec/models/domain_report_execution_v1_spec.rb +6 -0
- data/spec/models/domain_report_metadata_spec.rb +6 -0
- data/spec/models/domain_report_params_spec.rb +12 -0
- data/spec/models/domain_request_spec.rb +51 -0
- data/spec/models/domain_ring_assignment_settings_v1_spec.rb +63 -0
- data/spec/models/domain_scan_metadata_spec.rb +6 -0
- data/spec/models/domain_scan_spec.rb +6 -6
- data/spec/models/domain_scan_v2_spec.rb +0 -6
- data/spec/models/domain_schedule_spec.rb +3 -3
- data/spec/models/domain_scheduled_report_v1_spec.rb +12 -0
- data/spec/models/domain_sensor_installer_v2_spec.rb +123 -0
- data/spec/models/domain_sensor_installers_v2_spec.rb +63 -0
- data/spec/models/domain_spotlight_params_spec.rb +63 -0
- data/spec/models/domain_update_rule_request_v1_spec.rb +12 -0
- data/spec/models/domain_user_metadata_spec.rb +6 -0
- data/spec/models/domain_user_spec.rb +25 -1
- data/spec/models/domain_vuln_spec.rb +51 -0
- data/spec/models/domain_vulnerability_spec.rb +3 -63
- data/spec/models/domain_xdr_params_spec.rb +24 -0
- data/spec/models/driftindicators_drift_indicators_count_value_spec.rb +3 -3
- data/spec/models/driftindicators_drift_indicators_field_value_spec.rb +3 -3
- data/spec/models/entities_ods_scan_request_spec.rb +0 -6
- data/spec/models/entities_rolling_average_spec.rb +105 -0
- data/spec/models/executions_execution_result_spec.rb +12 -0
- data/spec/models/executions_loop_result_spec.rb +6 -0
- data/spec/models/exports_exports_response_spec.rb +63 -0
- data/spec/models/exports_launch_export_request_spec.rb +69 -0
- data/spec/models/exports_launch_export_response_spec.rb +63 -0
- data/spec/models/falconx_report_v1_spec.rb +12 -0
- data/spec/models/falconx_sandbox_parameters_v1_spec.rb +6 -0
- data/spec/models/falconx_sandbox_report_v1_spec.rb +6 -0
- data/spec/models/falconx_summary_report_v1_spec.rb +6 -0
- data/spec/models/fielddata_field_source_option_spec.rb +57 -0
- data/spec/models/fielddata_field_source_spec.rb +75 -0
- data/spec/models/figapi_adversary_spec.rb +51 -0
- data/spec/models/figapi_country_spec.rb +57 -0
- data/spec/models/figapi_domain_spec.rb +117 -0
- data/spec/models/figapi_email_address_spec.rb +63 -0
- data/spec/models/figapi_file_spec.rb +87 -0
- data/spec/models/figapi_indicator_spec.rb +183 -0
- data/spec/models/figapi_ipv4_spec.rb +69 -0
- data/spec/models/figapi_ipv6_spec.rb +69 -0
- data/spec/models/figapi_mx_record_spec.rb +75 -0
- data/spec/models/figapi_name_server_spec.rb +63 -0
- data/spec/models/figapi_report_spec.rb +51 -0
- data/spec/models/figapi_sector_spec.rb +57 -0
- data/spec/models/figapi_threat_spec.rb +51 -0
- data/spec/models/figapi_url_spec.rb +57 -0
- data/spec/models/figapi_vulnerability_spec.rb +141 -0
- data/spec/models/figapi_who_is_spec.rb +69 -0
- data/spec/models/figapi_whois_record_spec.rb +99 -0
- data/spec/models/figapi_x509_certificate_spec.rb +93 -0
- data/spec/models/fwmgr_msa_aggregate_query_request_spec.rb +6 -0
- data/spec/models/fwmgr_msa_extended_bounds_spec_spec.rb +57 -0
- data/spec/models/graph_condition_spec.rb +2 -2
- data/spec/models/graph_configured_activity_spec.rb +6 -0
- data/spec/models/graph_end_spec.rb +12 -0
- data/spec/models/graph_multi_spec.rb +18 -0
- data/spec/models/graph_sub_model_spec.rb +0 -6
- data/spec/models/graph_validation_error_spec.rb +12 -0
- data/spec/models/help_spec.rb +51 -0
- data/spec/models/ingestion_cve_exploit_reference_spec.rb +63 -0
- data/spec/models/ingestion_cve_exploit_source_spec.rb +69 -0
- data/spec/models/ingestion_ex_prt_rating_factors_spec.rb +69 -0
- data/spec/models/ingestion_reference_spec.rb +57 -0
- data/spec/models/internal_sensor_status_spec.rb +6 -0
- data/spec/models/inventoryapi_surface_error_spec.rb +63 -0
- data/spec/models/inventoryapi_user_external_asset_create_request_v1_spec.rb +51 -0
- data/spec/models/inventoryapi_user_external_asset_create_response_v1_spec.rb +63 -0
- data/spec/models/inventoryapi_user_external_asset_create_spec.rb +57 -0
- data/spec/models/inventoryapi_user_external_asset_result_spec.rb +93 -0
- data/spec/models/inventoryapi_user_external_asset_spec.rb +57 -0
- data/spec/models/inventoryapidomain_subsidiary_spec.rb +57 -0
- data/spec/models/jsonschema_condition_group_fields_spec.rb +6 -0
- data/spec/models/jsonschema_duration_option_spec.rb +57 -0
- data/spec/models/jsonschema_pivot_spec.rb +12 -0
- data/spec/models/jsonschema_signals_extensions_spec.rb +12 -0
- data/spec/models/jsonschema_sub_schema_spec.rb +12 -0
- data/spec/models/jsonschema_ui_extensions_spec.rb +99 -0
- data/spec/models/jsonschema_workflow_extensions_spec.rb +6 -0
- data/spec/models/k8sassets_cluster_enrichment_data_spec.rb +6 -0
- data/spec/models/k8sioms_kubernetes_iom_count_value_spec.rb +3 -3
- data/spec/models/k8sioms_kubernetes_iom_field_value_spec.rb +3 -3
- data/spec/models/messages_case_spec.rb +18 -0
- data/spec/models/models_api_customer_and_image_spec.rb +36 -0
- data/spec/models/models_api_image_combined_export_spec.rb +30 -0
- data/spec/models/models_api_package_combined_spec.rb +6 -0
- data/spec/models/models_api_package_combined_v2_spec.rb +111 -0
- data/spec/models/models_api_vulnerability_combined_spec.rb +6 -0
- data/spec/models/models_application_library_spec.rb +6 -0
- data/spec/models/models_base_image_request_spec.rb +75 -0
- data/spec/models/models_cluster_info_spec.rb +81 -0
- data/spec/models/models_cluster_spec.rb +18 -0
- data/spec/models/models_cluster_with_failed_rules_spec.rb +81 -0
- data/spec/models/models_compliance_by_rules_spec.rb +63 -0
- data/spec/models/models_compliance_export_grouped_by_clusters_report_spec.rb +135 -0
- data/spec/models/models_compliance_export_grouped_by_images_report_spec.rb +111 -0
- data/spec/models/models_compliance_export_grouped_by_rules_report_spec.rb +123 -0
- data/spec/models/models_container_image_spec.rb +6 -0
- data/spec/models/models_container_spec.rb +16 -106
- data/spec/models/models_create_base_images_request_spec.rb +51 -0
- data/spec/models/models_create_deployment_input_spec.rb +51 -0
- data/spec/models/models_delivery_settings_entity_response_spec.rb +63 -0
- data/spec/models/models_delivery_settings_input_spec.rb +57 -0
- data/spec/models/models_delivery_settings_request_spec.rb +51 -0
- data/spec/models/models_delivery_settings_spec.rb +123 -0
- data/spec/models/models_deployment_resource_spec.rb +69 -0
- data/spec/models/models_deployment_spec.rb +129 -9
- data/spec/models/models_detection_engine_info_type_spec.rb +63 -0
- data/spec/models/models_detection_info_type_spec.rb +51 -0
- data/spec/models/models_detection_spec.rb +105 -0
- data/spec/models/models_elf_binary_spec.rb +69 -0
- data/spec/models/models_ext_api_image_combined_spec.rb +12 -0
- data/spec/models/models_image_details_spec.rb +69 -0
- data/spec/models/models_image_with_rules_failed_spec.rb +93 -0
- data/spec/models/models_images_with_rules_failed_spec.rb +57 -0
- data/spec/models/models_job_meta_data_spec.rb +93 -0
- data/spec/models/models_message_spec.rb +51 -0
- data/spec/models/models_mock_execution_create_request_v1_spec.rb +63 -0
- data/spec/models/models_node_spec.rb +24 -0
- data/spec/models/models_non_compliant_assets_by_severity_spec.rb +75 -0
- data/spec/models/models_os_info_type_spec.rb +57 -0
- data/spec/models/models_package_vulnerability_type_spec.rb +51 -0
- data/spec/models/models_partial_fingerprints_spec.rb +51 -0
- data/spec/models/models_pod_spec.rb +24 -0
- data/spec/models/models_policy_entity_response_spec.rb +3 -3
- data/spec/models/models_policy_exclusion_entity_response_spec.rb +3 -3
- data/spec/models/models_policy_group_entity_response_spec.rb +3 -3
- data/spec/models/models_result_location_properties_spec.rb +57 -0
- data/spec/models/models_result_location_spec.rb +57 -0
- data/spec/models/models_result_physical_location_artifact_location_spec.rb +51 -0
- data/spec/models/models_result_physical_location_region_spec.rb +51 -0
- data/spec/models/models_result_physical_location_spec.rb +57 -0
- data/spec/models/models_result_properties_spec.rb +105 -0
- data/spec/models/models_result_spec.rb +93 -0
- data/spec/models/models_rule_default_configuration_spec.rb +51 -0
- data/spec/models/models_rule_properties_spec.rb +231 -0
- data/spec/models/models_rule_spec.rb +93 -0
- data/spec/models/models_rule_status_spec.rb +63 -0
- data/spec/models/models_rule_with_non_compliant_assets_spec.rb +69 -0
- data/spec/models/models_rules_failed_by_severity_spec.rb +69 -0
- data/spec/models/models_rules_with_non_compliant_assets_spec.rb +57 -0
- data/spec/models/models_run_spec.rb +57 -0
- data/spec/models/models_run_tool_driver_spec.rb +69 -0
- data/spec/models/models_run_tool_spec.rb +51 -0
- data/spec/models/models_scan_report_type_spec.rb +93 -0
- data/spec/models/models_scan_results_spec.rb +69 -0
- data/spec/models/models_snapshot_inventory_application_spec.rb +99 -0
- data/spec/models/models_vulnerabilities_type_spec.rb +51 -0
- data/spec/models/models_vulnerability_product_spec.rb +111 -0
- data/spec/models/models_vulnerability_sarif_spec.rb +63 -0
- data/spec/models/models_vulnerability_type_spec.rb +87 -0
- data/spec/models/msa_aggregate_query_request_spec.rb +6 -0
- data/spec/models/msa_entity_action_request_v3_spec.rb +63 -0
- data/spec/models/msa_extended_bounds_spec_spec.rb +57 -0
- data/spec/models/packages_api_combined_package_v2_spec.rb +63 -0
- data/spec/models/parameter_activity_config_parameter_value_spec.rb +6 -0
- data/spec/models/parameter_condition_field_parameter_spec.rb +6 -0
- data/spec/models/parameter_condition_field_provision_parameter_spec.rb +6 -0
- data/spec/models/patterndisposition_pattern_disposition_spec.rb +36 -0
- data/spec/models/policies_policy_spec.rb +6 -0
- data/spec/models/policyframework_benchmark_spec.rb +57 -0
- data/spec/models/policyframework_control_spec.rb +87 -0
- data/spec/models/public_get_changes_response_spec.rb +63 -0
- data/spec/models/quickscanpro_delete_file_response_spec.rb +63 -0
- data/spec/models/quickscanpro_file_result_spec.rb +73 -0
- data/spec/models/quickscanpro_file_upload_resource_spec.rb +57 -0
- data/spec/models/quickscanpro_file_upload_response_spec.rb +69 -0
- data/spec/models/quickscanpro_get_scan_result_resource_spec.rb +63 -0
- data/spec/models/quickscanpro_get_scan_result_response_spec.rb +63 -0
- data/spec/models/quickscanpro_launch_scan_request_resource_spec.rb +51 -0
- data/spec/models/quickscanpro_launch_scan_request_spec.rb +51 -0
- data/spec/models/quickscanpro_launch_scan_resource_spec.rb +63 -0
- data/spec/models/quickscanpro_launch_scan_response_spec.rb +69 -0
- data/spec/models/quickscanpro_mitre_attack_parent_spec.rb +63 -0
- data/spec/models/quickscanpro_mitre_attack_spec.rb +87 -0
- data/spec/models/quickscanpro_query_scan_results_response_spec.rb +69 -0
- data/spec/models/quickscanpro_quota_resource_spec.rb +63 -0
- data/spec/models/quickscanpro_scan_metadata_spec.rb +69 -0
- data/spec/models/quickscanpro_scan_result_spec.rb +91 -0
- data/spec/models/quickscanpro_url_result_spec.rb +67 -0
- data/spec/models/registration_aws_account_ext_v2_spec.rb +30 -0
- data/spec/models/registration_aws_account_patch_spec.rb +30 -0
- data/spec/models/registration_aws_console_url_response_v2_spec.rb +63 -0
- data/spec/models/registration_gcp_account_patch_request_v1_spec.rb +51 -0
- data/spec/models/registration_gcp_account_patch_v1_spec.rb +63 -0
- data/spec/models/registration_gcp_account_req_obj_v2_spec.rb +6 -0
- data/spec/models/registration_gcp_account_rsp_obj_v2_spec.rb +6 -0
- data/spec/models/registration_gcp_account_validated_v1_spec.rb +81 -0
- data/spec/models/registration_gcp_account_validation_req_obj_v1_spec.rb +51 -0
- data/spec/models/registration_gcp_account_validation_request_v1_spec.rb +51 -0
- data/spec/models/registration_gcp_account_validation_response_v1_spec.rb +63 -0
- data/spec/models/registration_gcp_service_account_ext_v1_spec.rb +6 -0
- data/spec/models/registration_gcp_service_account_patch_request_v1_spec.rb +51 -0
- data/spec/models/registration_gcp_service_account_patch_v1_spec.rb +87 -0
- data/spec/models/registration_gcp_service_account_validation_request_obj_v1_spec.rb +87 -0
- data/spec/models/registration_gcp_service_account_validation_request_v1_spec.rb +51 -0
- data/spec/models/registration_gcp_service_account_validation_response_v1_spec.rb +63 -0
- data/spec/models/registration_iom_event_v2_spec.rb +6 -0
- data/spec/models/releasecontents_release_content_spec.rb +93 -0
- data/spec/models/releasecontents_release_content_version_spec.rb +63 -0
- data/spec/models/releasenotes_entities_get_request_spec.rb +51 -0
- data/spec/models/releasenotes_entities_get_response_wrapper_spec.rb +63 -0
- data/spec/models/releasenotes_note_detail_spec.rb +69 -0
- data/spec/models/releasenotes_release_note_v1_spec.rb +81 -0
- data/spec/models/releasenotes_release_note_wrapper_v1_spec.rb +63 -0
- data/spec/models/releases_release_spec.rb +99 -0
- data/spec/models/releases_release_wrapper_spec.rb +63 -0
- data/spec/models/resources_app_spec.rb +57 -0
- data/spec/models/resources_asset_graph_spec.rb +57 -0
- data/spec/models/resources_cloud_context_spec.rb +147 -0
- data/spec/models/resources_cloud_resource_spec.rb +291 -0
- data/spec/models/resources_compliance_spec.rb +87 -0
- data/spec/models/resources_detections_spec.rb +81 -0
- data/spec/models/resources_host_spec.rb +147 -0
- data/spec/models/resources_relationship_spec.rb +69 -0
- data/spec/models/resources_vulnerability_spec.rb +63 -0
- data/spec/models/rest_account_product_upsert_request_ext_v1_spec.rb +57 -0
- data/spec/models/rest_aws_account_create_request_extv1_spec.rb +51 -0
- data/spec/models/rest_aws_account_create_response_ext_v1_spec.rb +63 -0
- data/spec/models/rest_aws_account_validated_spec.rb +69 -0
- data/spec/models/rest_aws_account_validation_response_spec.rb +63 -0
- data/spec/models/rest_azure_download_script_request_data_spec.rb +51 -0
- data/spec/models/rest_azure_download_script_request_v1_spec.rb +51 -0
- data/spec/models/rest_azure_provision_get_account_script_response_v1_spec.rb +63 -0
- data/spec/models/rest_azure_script_spec.rb +69 -0
- data/spec/models/rest_cloud_aws_account_create_ext_v1_spec.rb +81 -0
- data/spec/models/rest_cursor_and_limit_meta_info_spec.rb +81 -0
- data/spec/models/rest_cursor_meta_info_spec.rb +75 -0
- data/spec/models/rest_cursor_response_fields_spec.rb +57 -0
- data/spec/models/rest_paging_spec.rb +63 -0
- data/spec/models/restapi_indicator_response_spec.rb +63 -0
- data/spec/models/restapi_indicators_query_request_spec.rb +57 -0
- data/spec/models/restapi_indicators_query_sort_request_spec.rb +63 -0
- data/spec/models/rulegroups_rule_spec.rb +12 -0
- data/spec/models/sadomain_create_rule_request_v1_spec.rb +18 -0
- data/spec/models/sadomain_rule_spec.rb +30 -0
- data/spec/models/sadomain_typosquatting_base_domain_spec.rb +12 -0
- data/spec/models/sadomain_typosquatting_component_spec.rb +6 -0
- data/spec/models/sadomain_typosquatting_subdomain_spec.rb +75 -0
- data/spec/models/scanreports_entities_response_spec.rb +63 -0
- data/spec/models/source_endpoint_spec.rb +57 -0
- data/spec/models/source_user_spec.rb +57 -0
- data/spec/models/string_wrapper_spec.rb +63 -0
- data/spec/models/threatgraph_meta_spec.rb +69 -0
- data/spec/models/threatgraph_paging_spec.rb +63 -0
- data/spec/models/threatgraph_vertex_details_response_spec.rb +63 -0
- data/spec/models/threatgraph_vertex_details_spec.rb +93 -0
- data/spec/models/triggers_trigger_ext_field_spec.rb +87 -0
- data/spec/models/triggers_trigger_ext_spec.rb +87 -0
- data/spec/models/triggers_trigger_external_response_spec.rb +63 -0
- data/spec/models/types_action_run_event_data_spec.rb +135 -0
- data/spec/models/types_action_run_event_spec.rb +105 -0
- data/spec/models/types_action_run_metadata_spec.rb +87 -0
- data/spec/models/types_action_run_spec.rb +93 -0
- data/spec/models/types_artifact_spec.rb +69 -0
- data/spec/models/types_aws_api_gateway_reason_tag_spec.rb +69 -0
- data/spec/models/types_aws_elastic_ip_reason_tag_spec.rb +63 -0
- data/spec/models/types_aws_lambda_api_gateway_reason_tag_spec.rb +69 -0
- data/spec/models/types_aws_load_balancer_reason_tag_spec.rb +57 -0
- data/spec/models/types_aws_metadata_spec.rb +57 -0
- data/spec/models/types_azure_application_gateway_reason_tag_spec.rb +75 -0
- data/spec/models/types_azure_load_balancer_reason_tag_spec.rb +69 -0
- data/spec/models/types_azure_site_metadata_spec.rb +81 -0
- data/spec/models/types_azure_vm_metadata_spec.rb +75 -0
- data/spec/models/types_business_application_spec.rb +57 -0
- data/spec/models/types_cloud_function_metadata_spec.rb +51 -0
- data/spec/models/types_composed_schedule_spec.rb +93 -0
- data/spec/models/types_configuration_spec.rb +81 -0
- data/spec/models/types_create_integration_request_spec.rb +51 -0
- data/spec/models/types_create_integration_task_request_spec.rb +51 -0
- data/spec/models/types_crowd_strike_cloud_security_metadata_spec.rb +87 -0
- data/spec/models/types_data_type_db_reason_tag_spec.rb +63 -0
- data/spec/models/types_data_type_mq_reason_tag_spec.rb +57 -0
- data/spec/models/types_dependency_spec.rb +99 -0
- data/spec/models/types_deployment_unit_descriptor_spec.rb +69 -0
- data/spec/models/types_deployment_unit_service_spec.rb +63 -0
- data/spec/models/types_deployment_units_tuple_filters_spec.rb +57 -0
- data/spec/models/types_ec2_metadata_spec.rb +57 -0
- data/spec/models/types_ecs_metadata_spec.rb +75 -0
- data/spec/models/types_edit_tag_request_spec.rb +57 -0
- data/spec/models/types_edit_unique_tag_request_spec.rb +51 -0
- data/spec/models/types_error_message_spec.rb +57 -0
- data/spec/models/types_executor_node_spec.rb +123 -0
- data/spec/models/types_framework_spec.rb +75 -0
- data/spec/models/types_gcp_metadata_spec.rb +57 -0
- data/spec/models/types_generic_user_facing_request_spec.rb +63 -0
- data/spec/models/types_get_executor_nodes_metadata_response_spec.rb +75 -0
- data/spec/models/types_get_integration_tasks_metadata_response_spec.rb +69 -0
- data/spec/models/types_get_services_related_entity_filters_spec.rb +63 -0
- data/spec/models/types_get_services_related_entity_group_by_fields_spec.rb +51 -0
- data/spec/models/types_get_services_related_entity_spec.rb +69 -0
- data/spec/models/types_get_services_request_spec.rb +105 -0
- data/spec/models/types_get_violation_types_response_spec.rb +57 -0
- data/spec/models/types_host_metadata_spec.rb +51 -0
- data/spec/models/types_integration_response_spec.rb +57 -0
- data/spec/models/types_integration_spec.rb +93 -0
- data/spec/models/types_integration_task_response_spec.rb +57 -0
- data/spec/models/types_integration_task_spec.rb +141 -0
- data/spec/models/types_integration_task_test_connection_response_spec.rb +51 -0
- data/spec/models/types_integration_task_type_spec.rb +81 -0
- data/spec/models/types_integration_type_spec.rb +75 -0
- data/spec/models/types_interface_service_spec.rb +69 -0
- data/spec/models/types_interface_spec.rb +249 -0
- data/spec/models/types_k8_s_load_balancer_reason_tag_spec.rb +69 -0
- data/spec/models/types_k8_s_metadata_spec.rb +63 -0
- data/spec/models/types_k8_s_pod_settings_spec.rb +63 -0
- data/spec/models/types_key_value_spec.rb +57 -0
- data/spec/models/types_lambda_metadata_spec.rb +57 -0
- data/spec/models/types_library_spec.rb +87 -0
- data/spec/models/types_list_executor_nodes_response_spec.rb +51 -0
- data/spec/models/types_list_integration_tasks_response_spec.rb +51 -0
- data/spec/models/types_list_integration_types_response_spec.rb +51 -0
- data/spec/models/types_list_integrations_response_spec.rb +51 -0
- data/spec/models/types_order_by_spec.rb +57 -0
- data/spec/models/types_paginate_spec.rb +69 -0
- data/spec/models/types_pagination_spec.rb +69 -0
- data/spec/models/types_policy_rules_condition_spec.rb +57 -0
- data/spec/models/types_policy_rules_create_body_spec.rb +99 -0
- data/spec/models/types_query_request_select_fields_spec.rb +63 -0
- data/spec/models/types_query_request_spec.rb +69 -0
- data/spec/models/types_query_result_spec.rb +57 -0
- data/spec/models/types_reason_tag_spec.rb +105 -0
- data/spec/models/types_remediation_spec.rb +57 -0
- data/spec/models/types_results_filter_spec.rb +57 -0
- data/spec/models/types_run_integration_task_request_spec.rb +81 -0
- data/spec/models/types_service_now_deployment_spec.rb +57 -0
- data/spec/models/types_service_now_deployments_response_spec.rb +63 -0
- data/spec/models/types_service_now_service_data_spec.rb +99 -0
- data/spec/models/types_service_now_service_deployments_spec.rb +57 -0
- data/spec/models/types_service_now_service_spec.rb +183 -0
- data/spec/models/types_service_now_services_response_spec.rb +63 -0
- data/spec/models/types_service_service_artifact_spec.rb +57 -0
- data/spec/models/types_service_service_business_application_spec.rb +57 -0
- data/spec/models/types_service_service_configuration_spec.rb +57 -0
- data/spec/models/types_service_service_dependency_spec.rb +57 -0
- data/spec/models/types_service_service_framework_spec.rb +57 -0
- data/spec/models/types_service_service_interface_spec.rb +57 -0
- data/spec/models/types_service_service_library_spec.rb +57 -0
- data/spec/models/types_service_service_tag_spec.rb +57 -0
- data/spec/models/types_service_service_traits_spec.rb +57 -0
- data/spec/models/types_snyk_metadata_spec.rb +63 -0
- data/spec/models/types_sonatype_metadata_spec.rb +69 -0
- data/spec/models/types_struct_spec.rb +51 -0
- data/spec/models/types_tag_data_spec.rb +75 -0
- data/spec/models/types_tag_entry_spec.rb +63 -0
- data/spec/models/types_tag_spec.rb +99 -0
- data/spec/models/types_tags_data_response_spec.rb +57 -0
- data/spec/models/types_timestamp_spec.rb +57 -0
- data/spec/models/types_trait_spec.rb +63 -0
- data/spec/models/types_tuple_to_string_spec.rb +57 -0
- data/spec/models/types_unique_tag_entry_spec.rb +69 -0
- data/spec/models/types_update_integration_request_spec.rb +57 -0
- data/spec/models/types_update_integration_task_request_spec.rb +51 -0
- data/spec/models/types_upsert_business_application_request_spec.rb +57 -0
- data/spec/models/v2_activity_spec.rb +6 -0
- data/spec/models/v2_condition_groups_spec.rb +57 -0
- data/spec/models/v2_condition_spec.rb +6 -0
- data/spec/models/v2_definition_spec.rb +30 -0
- data/spec/models/v2_for_loop_spec.rb +36 -0
- data/spec/models/v2_loop_spec.rb +6 -0
- data/spec/models/v2_model_spec.rb +99 -0
- data/spec/models/vulncheck_epss_spec.rb +57 -0
- data/spec/models/vulncheck_exploit_botnets_spec.rb +63 -0
- data/spec/models/vulncheck_exploit_counts_spec.rb +63 -0
- data/spec/models/vulncheck_exploit_cve_reference_spec.rb +63 -0
- data/spec/models/vulncheck_exploit_details_spec.rb +129 -0
- data/spec/models/vulncheck_exploit_ransomware_data_spec.rb +57 -0
- data/spec/models/vulncheck_exploit_ransomware_spec.rb +57 -0
- data/spec/models/vulncheck_exploit_record_spec.rb +93 -0
- data/spec/models/vulncheck_exploit_threat_actor_spec.rb +93 -0
- data/spec/models/vulncheck_exploit_timeline_spec.rb +123 -0
- data/spec/models/vulncheck_exploit_trending_spec.rb +51 -0
- data/spec/models/vulncheck_threat_actor_vendor_name_spec.rb +63 -0
- data/spec/models/vulnerabilities_vulnerability_entity_sarif_response_spec.rb +63 -0
- data/spec/models/workflow_request_spec.rb +51 -0
- data/spec/models/workflow_response_spec.rb +63 -0
- data/spec/spec_helper.rb +8 -0
- metadata +2858 -1418
- data/lib/crimson-falcon/api/alerts_api.rb +0 -603
- data/lib/crimson-falcon/api/cloud_connect_aws_api.rb +0 -623
- data/lib/crimson-falcon/api/cloud_snapshots_api.rb +0 -105
- data/lib/crimson-falcon/api/configuration_assessment_api.rb +0 -183
- data/lib/crimson-falcon/api/configuration_assessment_evaluation_logic_api.rb +0 -101
- data/lib/crimson-falcon/api/container_alerts_api.rb +0 -222
- data/lib/crimson-falcon/api/container_detections_api.rb +0 -408
- data/lib/crimson-falcon/api/container_images_api.rb +0 -711
- data/lib/crimson-falcon/api/container_packages_api.rb +0 -365
- data/lib/crimson-falcon/api/container_vulnerabilities_api.rb +0 -693
- data/lib/crimson-falcon/api/cspm_registration_api.rb +0 -2516
- data/lib/crimson-falcon/api/custom_ioa_api.rb +0 -1287
- data/lib/crimson-falcon/api/custom_storage_api.rb +0 -590
- data/lib/crimson-falcon/api/d4c_registration_api.rb +0 -1485
- data/lib/crimson-falcon/api/detects_api.rb +0 -315
- data/lib/crimson-falcon/api/device_control_policies_api.rb +0 -890
- data/lib/crimson-falcon/api/discover_api.rb +0 -603
- data/lib/crimson-falcon/api/discover_iot_api.rb +0 -180
- data/lib/crimson-falcon/api/drift_indicators_api.rb +0 -350
- data/lib/crimson-falcon/api/event_schema_api.rb +0 -219
- data/lib/crimson-falcon/api/event_streams_api.rb +0 -179
- data/lib/crimson-falcon/api/falcon_complete_dashboard_api.rb +0 -1303
- data/lib/crimson-falcon/api/falcon_container_api.rb +0 -94
- data/lib/crimson-falcon/api/falcon_container_cli_api.rb +0 -105
- data/lib/crimson-falcon/api/falcon_container_image_api.rb +0 -366
- data/lib/crimson-falcon/api/falconx_sandbox_api.rb +0 -1032
- data/lib/crimson-falcon/api/field_schema_api.rb +0 -164
- data/lib/crimson-falcon/api/filevantage_api.rb +0 -1861
- data/lib/crimson-falcon/api/firewall_management_api.rb +0 -2259
- data/lib/crimson-falcon/api/firewall_policies_api.rb +0 -780
- data/lib/crimson-falcon/api/foundry_logscale_api.rb +0 -959
- data/lib/crimson-falcon/api/host_group_api.rb +0 -706
- data/lib/crimson-falcon/api/hosts_api.rb +0 -859
- data/lib/crimson-falcon/api/identity_entities_api.rb +0 -238
- data/lib/crimson-falcon/api/identity_protection_api.rb +0 -101
- data/lib/crimson-falcon/api/image_assessment_policies_api.rb +0 -738
- data/lib/crimson-falcon/api/incidents_api.rb +0 -456
- data/lib/crimson-falcon/api/installation_tokens_api.rb +0 -545
- data/lib/crimson-falcon/api/installation_tokens_settings_api.rb +0 -105
- data/lib/crimson-falcon/api/intel_api.rb +0 -1359
- data/lib/crimson-falcon/api/ioa_exclusions_api.rb +0 -369
- data/lib/crimson-falcon/api/ioc_api.rb +0 -1132
- data/lib/crimson-falcon/api/iocs_api.rb +0 -327
- data/lib/crimson-falcon/api/kubernetes_protection_api.rb +0 -3875
- data/lib/crimson-falcon/api/malquery_api.rb +0 -606
- data/lib/crimson-falcon/api/message_center_api.rb +0 -729
- data/lib/crimson-falcon/api/ml_exclusions_api.rb +0 -369
- data/lib/crimson-falcon/api/mobile_enrollment_api.rb +0 -115
- data/lib/crimson-falcon/api/mssp_api.rb +0 -2015
- data/lib/crimson-falcon/api/oauth2_api.rb +0 -186
- data/lib/crimson-falcon/api/ods_api.rb +0 -1094
- data/lib/crimson-falcon/api/overwatch_dashboard_api.rb +0 -357
- data/lib/crimson-falcon/api/prevention_policies_api.rb +0 -769
- data/lib/crimson-falcon/api/provision_api.rb +0 -94
- data/lib/crimson-falcon/api/quarantine_api.rb +0 -435
- data/lib/crimson-falcon/api/quick_scan_api.rb +0 -300
- data/lib/crimson-falcon/api/real_time_response_admin_api.rb +0 -1173
- data/lib/crimson-falcon/api/real_time_response_api.rb +0 -1617
- data/lib/crimson-falcon/api/real_time_response_audit_api.rb +0 -113
- data/lib/crimson-falcon/api/recon_api.rb +0 -1754
- data/lib/crimson-falcon/api/report_executions_api.rb +0 -299
- data/lib/crimson-falcon/api/response_policies_api.rb +0 -769
- data/lib/crimson-falcon/api/runtime_detections_api.rb +0 -106
- data/lib/crimson-falcon/api/sample_uploads_api.rb +0 -805
- data/lib/crimson-falcon/api/scheduled_reports_api.rb +0 -237
- data/lib/crimson-falcon/api/sensor_download_api.rb +0 -352
- data/lib/crimson-falcon/api/sensor_update_policies_api.rb +0 -1339
- data/lib/crimson-falcon/api/sensor_visibility_exclusions_api.rb +0 -369
- data/lib/crimson-falcon/api/spotlight_evaluation_logic_api.rb +0 -243
- data/lib/crimson-falcon/api/spotlight_vulnerabilities_api.rb +0 -324
- data/lib/crimson-falcon/api/tailored_intelligence_api.rb +0 -373
- data/lib/crimson-falcon/api/unidentified_containers_api.rb +0 -222
- data/lib/crimson-falcon/api/user_management_api.rb +0 -1505
- data/lib/crimson-falcon/api/workflows_api.rb +0 -1037
- data/lib/crimson-falcon/api/zero_trust_assessment_api.rb +0 -227
- data/lib/crimson-falcon/models/changes_get_changes_response.rb +0 -266
- data/lib/crimson-falcon/models/custom_type1255839303.rb +0 -271
- data/lib/crimson-falcon/models/custom_type3191042536.rb +0 -271
- data/lib/crimson-falcon/models/detects_alert.rb +0 -651
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v1_response.rb +0 -267
- data/lib/crimson-falcon/models/detectsapi_post_entities_alerts_v2_response.rb +0 -267
- data/lib/crimson-falcon/models/domain_api_entity_matched_v1.rb +0 -252
- data/lib/crimson-falcon/models/domain_api_evaluation_logic_host_info_v1.rb +0 -242
- data/lib/crimson-falcon/models/domain_botnet_config_source.rb +0 -351
- data/lib/crimson-falcon/models/domain_botnet_inject.rb +0 -255
- data/lib/crimson-falcon/models/domain_ddos_attack_source.rb +0 -423
- data/lib/crimson-falcon/models/domain_ddos_target_details.rb +0 -376
- data/lib/crimson-falcon/models/domain_entity.rb +0 -270
- data/lib/crimson-falcon/models/domain_event.rb +0 -400
- data/lib/crimson-falcon/models/domain_event_entities_response.rb +0 -266
- data/lib/crimson-falcon/models/domain_key_value_pair.rb +0 -253
- data/lib/crimson-falcon/models/domain_matched_rule.rb +0 -255
- data/lib/crimson-falcon/models/domain_pastebin_text_source.rb +0 -294
- data/lib/crimson-falcon/models/domain_rule_entities_response.rb +0 -266
- data/lib/crimson-falcon/models/domain_tweet_source.rb +0 -294
- data/lib/crimson-falcon/models/domain_vulnerability_actor.rb +0 -245
- data/lib/crimson-falcon/models/domain_vulnerability_affected_product.rb +0 -245
- data/lib/crimson-falcon/models/domain_vulnerability_related_threat.rb +0 -247
- data/lib/crimson-falcon/models/domain_vulnerability_report.rb +0 -245
- data/lib/crimson-falcon/models/msaspec_error.rb +0 -262
- data/lib/crimson-falcon/models/msaspec_meta_info.rb +0 -280
- data/lib/crimson-falcon/models/msaspec_paging.rb +0 -267
- data/lib/crimson-falcon/models/registration_gcp_account_patch.rb +0 -248
- data/lib/crimson-falcon/models/registration_gcp_account_patch_request.rb +0 -241
- data/lib/crimson-falcon/models/v2_condition_parameters.rb +0 -241
- data/spec/api/alerts_api_spec.rb +0 -152
- data/spec/api/cloud_connect_aws_api_spec.rb +0 -157
- data/spec/api/cloud_snapshots_api_spec.rb +0 -63
- data/spec/api/configuration_assessment_api_spec.rb +0 -78
- data/spec/api/configuration_assessment_evaluation_logic_api_spec.rb +0 -63
- data/spec/api/container_alerts_api_spec.rb +0 -88
- data/spec/api/container_detections_api_spec.rb +0 -125
- data/spec/api/container_images_api_spec.rb +0 -182
- data/spec/api/container_packages_api_spec.rb +0 -119
- data/spec/api/container_vulnerabilities_api_spec.rb +0 -184
- data/spec/api/cspm_registration_api_spec.rb +0 -480
- data/spec/api/custom_ioa_api_spec.rb +0 -279
- data/spec/api/custom_storage_api_spec.rb +0 -133
- data/spec/api/d4c_registration_api_spec.rb +0 -300
- data/spec/api/detects_api_spec.rb +0 -100
- data/spec/api/device_control_policies_api_spec.rb +0 -198
- data/spec/api/discover_api_spec.rb +0 -152
- data/spec/api/discover_iot_api_spec.rb +0 -77
- data/spec/api/drift_indicators_api_spec.rb +0 -114
- data/spec/api/event_schema_api_spec.rb +0 -87
- data/spec/api/event_streams_api_spec.rb +0 -77
- data/spec/api/falcon_complete_dashboard_api_spec.rb +0 -286
- data/spec/api/falcon_container_api_spec.rb +0 -62
- data/spec/api/falcon_container_cli_api_spec.rb +0 -63
- data/spec/api/falcon_container_image_api_spec.rb +0 -110
- data/spec/api/falconx_sandbox_api_spec.rb +0 -235
- data/spec/api/field_schema_api_spec.rb +0 -77
- data/spec/api/filevantage_api_spec.rb +0 -386
- data/spec/api/firewall_management_api_spec.rb +0 -462
- data/spec/api/firewall_policies_api_spec.rb +0 -178
- data/spec/api/foundry_logscale_api_spec.rb +0 -226
- data/spec/api/host_group_api_spec.rb +0 -167
- data/spec/api/hosts_api_spec.rb +0 -197
- data/spec/api/identity_entities_api_spec.rb +0 -88
- data/spec/api/identity_protection_api_spec.rb +0 -63
- data/spec/api/image_assessment_policies_api_spec.rb +0 -172
- data/spec/api/incidents_api_spec.rb +0 -129
- data/spec/api/installation_tokens_api_spec.rb +0 -146
- data/spec/api/installation_tokens_settings_api_spec.rb +0 -63
- data/spec/api/intel_api_spec.rb +0 -315
- data/spec/api/ioa_exclusions_api_spec.rb +0 -111
- data/spec/api/ioc_api_spec.rb +0 -259
- data/spec/api/iocs_api_spec.rb +0 -104
- data/spec/api/kubernetes_protection_api_spec.rb +0 -757
- data/spec/api/malquery_api_spec.rb +0 -150
- data/spec/api/message_center_api_spec.rb +0 -172
- data/spec/api/ml_exclusions_api_spec.rb +0 -111
- data/spec/api/mobile_enrollment_api_spec.rb +0 -65
- data/spec/api/mssp_api_spec.rb +0 -402
- data/spec/api/oauth2_api_spec.rb +0 -77
- data/spec/api/ods_api_spec.rb +0 -241
- data/spec/api/overwatch_dashboard_api_spec.rb +0 -107
- data/spec/api/prevention_policies_api_spec.rb +0 -177
- data/spec/api/provision_api_spec.rb +0 -62
- data/spec/api/quarantine_api_spec.rb +0 -122
- data/spec/api/quick_scan_api_spec.rb +0 -99
- data/spec/api/real_time_response_admin_api_spec.rb +0 -257
- data/spec/api/real_time_response_api_spec.rb +0 -333
- data/spec/api/real_time_response_audit_api_spec.rb +0 -67
- data/spec/api/recon_api_spec.rb +0 -355
- data/spec/api/report_executions_api_spec.rb +0 -100
- data/spec/api/response_policies_api_spec.rb +0 -177
- data/spec/api/runtime_detections_api_spec.rb +0 -66
- data/spec/api/sample_uploads_api_spec.rb +0 -191
- data/spec/api/scheduled_reports_api_spec.rb +0 -89
- data/spec/api/sensor_download_api_spec.rb +0 -112
- data/spec/api/sensor_update_policies_api_spec.rb +0 -274
- data/spec/api/sensor_visibility_exclusions_api_spec.rb +0 -111
- data/spec/api/spotlight_evaluation_logic_api_spec.rb +0 -91
- data/spec/api/spotlight_vulnerabilities_api_spec.rb +0 -103
- data/spec/api/tailored_intelligence_api_spec.rb +0 -115
- data/spec/api/unidentified_containers_api_spec.rb +0 -88
- data/spec/api/user_management_api_spec.rb +0 -308
- data/spec/api/workflows_api_spec.rb +0 -224
- data/spec/api/zero_trust_assessment_api_spec.rb +0 -87
- data/spec/api_client_spec.rb +0 -245
- data/spec/configuration_spec.rb +0 -59
- data/spec/models/changes_get_changes_response_spec.rb +0 -63
- data/spec/models/custom_type1255839303_spec.rb +0 -63
- data/spec/models/custom_type3191042536_spec.rb +0 -63
- data/spec/models/detects_alert_spec.rb +0 -291
- data/spec/models/detectsapi_post_entities_alerts_v1_response_spec.rb +0 -63
- data/spec/models/detectsapi_post_entities_alerts_v2_response_spec.rb +0 -63
- data/spec/models/domain_api_entity_matched_v1_spec.rb +0 -63
- data/spec/models/domain_api_evaluation_logic_host_info_v1_spec.rb +0 -51
- data/spec/models/domain_botnet_config_source_spec.rb +0 -93
- data/spec/models/domain_botnet_inject_spec.rb +0 -57
- data/spec/models/domain_ddos_attack_source_spec.rb +0 -123
- data/spec/models/domain_ddos_target_details_spec.rb +0 -105
- data/spec/models/domain_entity_spec.rb +0 -69
- data/spec/models/domain_event_entities_response_spec.rb +0 -63
- data/spec/models/domain_event_spec.rb +0 -129
- data/spec/models/domain_key_value_pair_spec.rb +0 -57
- data/spec/models/domain_matched_rule_spec.rb +0 -63
- data/spec/models/domain_pastebin_text_source_spec.rb +0 -75
- data/spec/models/domain_rule_entities_response_spec.rb +0 -63
- data/spec/models/domain_tweet_source_spec.rb +0 -75
- data/spec/models/domain_vulnerability_actor_spec.rb +0 -57
- data/spec/models/domain_vulnerability_affected_product_spec.rb +0 -57
- data/spec/models/domain_vulnerability_related_threat_spec.rb +0 -57
- data/spec/models/domain_vulnerability_report_spec.rb +0 -57
- data/spec/models/msaspec_error_spec.rb +0 -63
- data/spec/models/msaspec_meta_info_spec.rb +0 -75
- data/spec/models/msaspec_paging_spec.rb +0 -63
- data/spec/models/registration_gcp_account_patch_request_spec.rb +0 -51
- data/spec/models/registration_gcp_account_patch_spec.rb +0 -57
- data/spec/models/v2_condition_parameters_spec.rb +0 -51
@@ -1,3875 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Crimson Falcon - Ruby Client SDK
|
3
|
-
|
4
|
-
Code auto-generated by OpenAPI Generator; DO NOT EDIT.
|
5
|
-
|
6
|
-
MIT License
|
7
|
-
|
8
|
-
Copyright (c) 2023 Crowdstrike
|
9
|
-
|
10
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
|
-
of this software and associated documentation files (the "Software"), to deal
|
12
|
-
in the Software without restriction, including without limitation the rights
|
13
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
14
|
-
copies of the Software, and to permit persons to whom the Software is
|
15
|
-
furnished to do so, subject to the following conditions:
|
16
|
-
|
17
|
-
The above copyright notice and this permission notice shall be included in all
|
18
|
-
copies or substantial portions of the Software.
|
19
|
-
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
22
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
23
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
25
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
|
-
SOFTWARE.
|
27
|
-
|
28
|
-
=end
|
29
|
-
|
30
|
-
require 'cgi'
|
31
|
-
|
32
|
-
module Falcon
|
33
|
-
class KubernetesProtectionApi
|
34
|
-
attr_accessor :api_client
|
35
|
-
|
36
|
-
def initialize(api_client = ApiClient.default)
|
37
|
-
@api_client = api_client
|
38
|
-
end
|
39
|
-
# Creates a new AWS account in our system for a customer and generates the installation script
|
40
|
-
# @param body [K8sregCreateAWSAccReq]
|
41
|
-
# @param [Hash] opts the optional parameters
|
42
|
-
# @return [K8sregCreateAWSAccResp]
|
43
|
-
def create_aws_account(body, opts = {})
|
44
|
-
data, _status_code, _headers = create_aws_account_with_http_info(body, opts)
|
45
|
-
data
|
46
|
-
end
|
47
|
-
|
48
|
-
# Creates a new AWS account in our system for a customer and generates the installation script
|
49
|
-
# @param body [K8sregCreateAWSAccReq]
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [Array<(K8sregCreateAWSAccResp, Integer, Hash)>] K8sregCreateAWSAccResp data, response status code and response headers
|
52
|
-
def create_aws_account_with_http_info(body, opts = {})
|
53
|
-
if @api_client.config.debugging
|
54
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.create_aws_account ...'
|
55
|
-
end
|
56
|
-
# verify the required parameter 'body' is set
|
57
|
-
if @api_client.config.client_side_validation && body.nil?
|
58
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling KubernetesProtectionApi.create_aws_account"
|
59
|
-
end
|
60
|
-
# resource path
|
61
|
-
local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
|
62
|
-
|
63
|
-
# query parameters
|
64
|
-
query_params = opts[:query_params] || {}
|
65
|
-
|
66
|
-
# header parameters
|
67
|
-
header_params = opts[:header_params] || {}
|
68
|
-
# HTTP header 'Accept' (if needed)
|
69
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
70
|
-
# HTTP header 'Content-Type'
|
71
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
72
|
-
if !content_type.nil?
|
73
|
-
header_params['Content-Type'] = content_type
|
74
|
-
end
|
75
|
-
|
76
|
-
# form parameters
|
77
|
-
form_params = opts[:form_params] || {}
|
78
|
-
|
79
|
-
# http body (model)
|
80
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
81
|
-
|
82
|
-
# return_type
|
83
|
-
return_type = opts[:debug_return_type] || 'K8sregCreateAWSAccResp'
|
84
|
-
|
85
|
-
# auth_names
|
86
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
87
|
-
|
88
|
-
new_options = opts.merge(
|
89
|
-
:operation => :"KubernetesProtectionApi.create_aws_account",
|
90
|
-
:header_params => header_params,
|
91
|
-
:query_params => query_params,
|
92
|
-
:form_params => form_params,
|
93
|
-
:body => post_body,
|
94
|
-
:auth_names => auth_names,
|
95
|
-
:return_type => return_type
|
96
|
-
)
|
97
|
-
|
98
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
99
|
-
if @api_client.config.debugging
|
100
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#create_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
101
|
-
end
|
102
|
-
return data, status_code, headers
|
103
|
-
end
|
104
|
-
|
105
|
-
# Creates a new Azure Subscription in our system
|
106
|
-
# @param body [K8sregCreateAzureSubReq]
|
107
|
-
# @param [Hash] opts the optional parameters
|
108
|
-
# @return [MsaBaseEntitiesResponse]
|
109
|
-
def create_azure_subscription(body, opts = {})
|
110
|
-
data, _status_code, _headers = create_azure_subscription_with_http_info(body, opts)
|
111
|
-
data
|
112
|
-
end
|
113
|
-
|
114
|
-
# Creates a new Azure Subscription in our system
|
115
|
-
# @param body [K8sregCreateAzureSubReq]
|
116
|
-
# @param [Hash] opts the optional parameters
|
117
|
-
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
118
|
-
def create_azure_subscription_with_http_info(body, opts = {})
|
119
|
-
if @api_client.config.debugging
|
120
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.create_azure_subscription ...'
|
121
|
-
end
|
122
|
-
# verify the required parameter 'body' is set
|
123
|
-
if @api_client.config.client_side_validation && body.nil?
|
124
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling KubernetesProtectionApi.create_azure_subscription"
|
125
|
-
end
|
126
|
-
# resource path
|
127
|
-
local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
|
128
|
-
|
129
|
-
# query parameters
|
130
|
-
query_params = opts[:query_params] || {}
|
131
|
-
|
132
|
-
# header parameters
|
133
|
-
header_params = opts[:header_params] || {}
|
134
|
-
# HTTP header 'Accept' (if needed)
|
135
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
136
|
-
# HTTP header 'Content-Type'
|
137
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
138
|
-
if !content_type.nil?
|
139
|
-
header_params['Content-Type'] = content_type
|
140
|
-
end
|
141
|
-
|
142
|
-
# form parameters
|
143
|
-
form_params = opts[:form_params] || {}
|
144
|
-
|
145
|
-
# http body (model)
|
146
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
147
|
-
|
148
|
-
# return_type
|
149
|
-
return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
|
150
|
-
|
151
|
-
# auth_names
|
152
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
153
|
-
|
154
|
-
new_options = opts.merge(
|
155
|
-
:operation => :"KubernetesProtectionApi.create_azure_subscription",
|
156
|
-
:header_params => header_params,
|
157
|
-
:query_params => query_params,
|
158
|
-
:form_params => form_params,
|
159
|
-
:body => post_body,
|
160
|
-
:auth_names => auth_names,
|
161
|
-
:return_type => return_type
|
162
|
-
)
|
163
|
-
|
164
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
165
|
-
if @api_client.config.debugging
|
166
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#create_azure_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
167
|
-
end
|
168
|
-
return data, status_code, headers
|
169
|
-
end
|
170
|
-
|
171
|
-
# Delete AWS accounts.
|
172
|
-
# @param ids [Array<String>] AWS Account IDs
|
173
|
-
# @param [Hash] opts the optional parameters
|
174
|
-
# @return [MsaspecMetaInfo]
|
175
|
-
def delete_aws_accounts_mixin0(ids, opts = {})
|
176
|
-
data, _status_code, _headers = delete_aws_accounts_mixin0_with_http_info(ids, opts)
|
177
|
-
data
|
178
|
-
end
|
179
|
-
|
180
|
-
# Delete AWS accounts.
|
181
|
-
# @param ids [Array<String>] AWS Account IDs
|
182
|
-
# @param [Hash] opts the optional parameters
|
183
|
-
# @return [Array<(MsaspecMetaInfo, Integer, Hash)>] MsaspecMetaInfo data, response status code and response headers
|
184
|
-
def delete_aws_accounts_mixin0_with_http_info(ids, opts = {})
|
185
|
-
if @api_client.config.debugging
|
186
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.delete_aws_accounts_mixin0 ...'
|
187
|
-
end
|
188
|
-
# verify the required parameter 'ids' is set
|
189
|
-
if @api_client.config.client_side_validation && ids.nil?
|
190
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesProtectionApi.delete_aws_accounts_mixin0"
|
191
|
-
end
|
192
|
-
# resource path
|
193
|
-
local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
|
194
|
-
|
195
|
-
# query parameters
|
196
|
-
query_params = opts[:query_params] || {}
|
197
|
-
query_params[:'ids'] = @api_client.build_collection_param(ids, :csv)
|
198
|
-
|
199
|
-
# header parameters
|
200
|
-
header_params = opts[:header_params] || {}
|
201
|
-
# HTTP header 'Accept' (if needed)
|
202
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
203
|
-
|
204
|
-
# form parameters
|
205
|
-
form_params = opts[:form_params] || {}
|
206
|
-
|
207
|
-
# http body (model)
|
208
|
-
post_body = opts[:debug_body]
|
209
|
-
|
210
|
-
# return_type
|
211
|
-
return_type = opts[:debug_return_type] || 'MsaspecMetaInfo'
|
212
|
-
|
213
|
-
# auth_names
|
214
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
215
|
-
|
216
|
-
new_options = opts.merge(
|
217
|
-
:operation => :"KubernetesProtectionApi.delete_aws_accounts_mixin0",
|
218
|
-
:header_params => header_params,
|
219
|
-
:query_params => query_params,
|
220
|
-
:form_params => form_params,
|
221
|
-
:body => post_body,
|
222
|
-
:auth_names => auth_names,
|
223
|
-
:return_type => return_type
|
224
|
-
)
|
225
|
-
|
226
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
227
|
-
if @api_client.config.debugging
|
228
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#delete_aws_accounts_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
229
|
-
end
|
230
|
-
return data, status_code, headers
|
231
|
-
end
|
232
|
-
|
233
|
-
# Deletes a new Azure Subscription in our system
|
234
|
-
# @param [Hash] opts the optional parameters
|
235
|
-
# @option opts [Array<String>] :ids Azure Subscription IDs
|
236
|
-
# @return [MsaBaseEntitiesResponse]
|
237
|
-
def delete_azure_subscription(opts = {})
|
238
|
-
data, _status_code, _headers = delete_azure_subscription_with_http_info(opts)
|
239
|
-
data
|
240
|
-
end
|
241
|
-
|
242
|
-
# Deletes a new Azure Subscription in our system
|
243
|
-
# @param [Hash] opts the optional parameters
|
244
|
-
# @option opts [Array<String>] :ids Azure Subscription IDs
|
245
|
-
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
246
|
-
def delete_azure_subscription_with_http_info(opts = {})
|
247
|
-
if @api_client.config.debugging
|
248
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.delete_azure_subscription ...'
|
249
|
-
end
|
250
|
-
# resource path
|
251
|
-
local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
|
252
|
-
|
253
|
-
# query parameters
|
254
|
-
query_params = opts[:query_params] || {}
|
255
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
256
|
-
|
257
|
-
# header parameters
|
258
|
-
header_params = opts[:header_params] || {}
|
259
|
-
# HTTP header 'Accept' (if needed)
|
260
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
261
|
-
|
262
|
-
# form parameters
|
263
|
-
form_params = opts[:form_params] || {}
|
264
|
-
|
265
|
-
# http body (model)
|
266
|
-
post_body = opts[:debug_body]
|
267
|
-
|
268
|
-
# return_type
|
269
|
-
return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
|
270
|
-
|
271
|
-
# auth_names
|
272
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
273
|
-
|
274
|
-
new_options = opts.merge(
|
275
|
-
:operation => :"KubernetesProtectionApi.delete_azure_subscription",
|
276
|
-
:header_params => header_params,
|
277
|
-
:query_params => query_params,
|
278
|
-
:form_params => form_params,
|
279
|
-
:body => post_body,
|
280
|
-
:auth_names => auth_names,
|
281
|
-
:return_type => return_type
|
282
|
-
)
|
283
|
-
|
284
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
285
|
-
if @api_client.config.debugging
|
286
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#delete_azure_subscription\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
287
|
-
end
|
288
|
-
return data, status_code, headers
|
289
|
-
end
|
290
|
-
|
291
|
-
# Retrieve containers by container_runtime_version
|
292
|
-
# @param [Hash] opts the optional parameters
|
293
|
-
# @option opts [Integer] :limit The upper-bound on the number of container records to retrieve.
|
294
|
-
# @option opts [Integer] :offset It is used to get the offset
|
295
|
-
# @option opts [String] :sort Field to sort results by
|
296
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
297
|
-
# @return [ModelsContainerRuntimePivotResponse]
|
298
|
-
def find_containers_by_container_run_time_version(opts = {})
|
299
|
-
data, _status_code, _headers = find_containers_by_container_run_time_version_with_http_info(opts)
|
300
|
-
data
|
301
|
-
end
|
302
|
-
|
303
|
-
# Retrieve containers by container_runtime_version
|
304
|
-
# @param [Hash] opts the optional parameters
|
305
|
-
# @option opts [Integer] :limit The upper-bound on the number of container records to retrieve.
|
306
|
-
# @option opts [Integer] :offset It is used to get the offset
|
307
|
-
# @option opts [String] :sort Field to sort results by
|
308
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
309
|
-
# @return [Array<(ModelsContainerRuntimePivotResponse, Integer, Hash)>] ModelsContainerRuntimePivotResponse data, response status code and response headers
|
310
|
-
def find_containers_by_container_run_time_version_with_http_info(opts = {})
|
311
|
-
if @api_client.config.debugging
|
312
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.find_containers_by_container_run_time_version ...'
|
313
|
-
end
|
314
|
-
# resource path
|
315
|
-
local_var_path = '/container-security/aggregates/containers/find-by-runtimeversion/v1'
|
316
|
-
|
317
|
-
# query parameters
|
318
|
-
query_params = opts[:query_params] || {}
|
319
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
320
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
321
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
322
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
323
|
-
|
324
|
-
# header parameters
|
325
|
-
header_params = opts[:header_params] || {}
|
326
|
-
# HTTP header 'Accept' (if needed)
|
327
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
328
|
-
|
329
|
-
# form parameters
|
330
|
-
form_params = opts[:form_params] || {}
|
331
|
-
|
332
|
-
# http body (model)
|
333
|
-
post_body = opts[:debug_body]
|
334
|
-
|
335
|
-
# return_type
|
336
|
-
return_type = opts[:debug_return_type] || 'ModelsContainerRuntimePivotResponse'
|
337
|
-
|
338
|
-
# auth_names
|
339
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
340
|
-
|
341
|
-
new_options = opts.merge(
|
342
|
-
:operation => :"KubernetesProtectionApi.find_containers_by_container_run_time_version",
|
343
|
-
:header_params => header_params,
|
344
|
-
:query_params => query_params,
|
345
|
-
:form_params => form_params,
|
346
|
-
:body => post_body,
|
347
|
-
:auth_names => auth_names,
|
348
|
-
:return_type => return_type
|
349
|
-
)
|
350
|
-
|
351
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
352
|
-
if @api_client.config.debugging
|
353
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#find_containers_by_container_run_time_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
354
|
-
end
|
355
|
-
return data, status_code, headers
|
356
|
-
end
|
357
|
-
|
358
|
-
# Retrieve containers count affected by zero day vulnerabilities
|
359
|
-
# @param [Hash] opts the optional parameters
|
360
|
-
# @return [CommonCountResponse]
|
361
|
-
def find_containers_count_affected_by_zero_day_vulnerabilities(opts = {})
|
362
|
-
data, _status_code, _headers = find_containers_count_affected_by_zero_day_vulnerabilities_with_http_info(opts)
|
363
|
-
data
|
364
|
-
end
|
365
|
-
|
366
|
-
# Retrieve containers count affected by zero day vulnerabilities
|
367
|
-
# @param [Hash] opts the optional parameters
|
368
|
-
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
369
|
-
def find_containers_count_affected_by_zero_day_vulnerabilities_with_http_info(opts = {})
|
370
|
-
if @api_client.config.debugging
|
371
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.find_containers_count_affected_by_zero_day_vulnerabilities ...'
|
372
|
-
end
|
373
|
-
# resource path
|
374
|
-
local_var_path = '/container-security/aggregates/containers/count-by-zero-day/v1'
|
375
|
-
|
376
|
-
# query parameters
|
377
|
-
query_params = opts[:query_params] || {}
|
378
|
-
|
379
|
-
# header parameters
|
380
|
-
header_params = opts[:header_params] || {}
|
381
|
-
# HTTP header 'Accept' (if needed)
|
382
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
383
|
-
|
384
|
-
# form parameters
|
385
|
-
form_params = opts[:form_params] || {}
|
386
|
-
|
387
|
-
# http body (model)
|
388
|
-
post_body = opts[:debug_body]
|
389
|
-
|
390
|
-
# return_type
|
391
|
-
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
392
|
-
|
393
|
-
# auth_names
|
394
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
395
|
-
|
396
|
-
new_options = opts.merge(
|
397
|
-
:operation => :"KubernetesProtectionApi.find_containers_count_affected_by_zero_day_vulnerabilities",
|
398
|
-
:header_params => header_params,
|
399
|
-
:query_params => query_params,
|
400
|
-
:form_params => form_params,
|
401
|
-
:body => post_body,
|
402
|
-
:auth_names => auth_names,
|
403
|
-
:return_type => return_type
|
404
|
-
)
|
405
|
-
|
406
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
407
|
-
if @api_client.config.debugging
|
408
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#find_containers_count_affected_by_zero_day_vulnerabilities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
409
|
-
end
|
410
|
-
return data, status_code, headers
|
411
|
-
end
|
412
|
-
|
413
|
-
# Provides a list of AWS accounts.
|
414
|
-
# @param [Hash] opts the optional parameters
|
415
|
-
# @option opts [Array<String>] :ids AWS Account IDs
|
416
|
-
# @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
|
417
|
-
# @option opts [String] :status Filter by account status
|
418
|
-
# @option opts [Integer] :limit Limit returned accounts
|
419
|
-
# @option opts [Integer] :offset Offset returned accounts
|
420
|
-
# @return [K8sregGetAWSAccountsResp]
|
421
|
-
def get_aws_accounts_mixin0(opts = {})
|
422
|
-
data, _status_code, _headers = get_aws_accounts_mixin0_with_http_info(opts)
|
423
|
-
data
|
424
|
-
end
|
425
|
-
|
426
|
-
# Provides a list of AWS accounts.
|
427
|
-
# @param [Hash] opts the optional parameters
|
428
|
-
# @option opts [Array<String>] :ids AWS Account IDs
|
429
|
-
# @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
|
430
|
-
# @option opts [String] :status Filter by account status
|
431
|
-
# @option opts [Integer] :limit Limit returned accounts
|
432
|
-
# @option opts [Integer] :offset Offset returned accounts
|
433
|
-
# @return [Array<(K8sregGetAWSAccountsResp, Integer, Hash)>] K8sregGetAWSAccountsResp data, response status code and response headers
|
434
|
-
def get_aws_accounts_mixin0_with_http_info(opts = {})
|
435
|
-
if @api_client.config.debugging
|
436
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_aws_accounts_mixin0 ...'
|
437
|
-
end
|
438
|
-
allowable_values = ["false", "true"]
|
439
|
-
if @api_client.config.client_side_validation && opts[:'is_horizon_acct'] && !allowable_values.include?(opts[:'is_horizon_acct'])
|
440
|
-
fail ArgumentError, "invalid value for \"is_horizon_acct\", must be one of #{allowable_values}"
|
441
|
-
end
|
442
|
-
pattern = Regexp.new(/^(true|false)$/)
|
443
|
-
if @api_client.config.client_side_validation && !opts[:'is_horizon_acct'].nil? && opts[:'is_horizon_acct'] !~ pattern
|
444
|
-
fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling KubernetesProtectionApi.get_aws_accounts_mixin0, must conform to the pattern #{pattern}."
|
445
|
-
end
|
446
|
-
|
447
|
-
allowable_values = ["operational", "provisioned"]
|
448
|
-
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
449
|
-
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
450
|
-
end
|
451
|
-
pattern = Regexp.new(/^(provisioned|operational)$/)
|
452
|
-
if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
|
453
|
-
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling KubernetesProtectionApi.get_aws_accounts_mixin0, must conform to the pattern #{pattern}."
|
454
|
-
end
|
455
|
-
|
456
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
457
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_aws_accounts_mixin0, must be smaller than or equal to 1000.'
|
458
|
-
end
|
459
|
-
|
460
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
461
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_aws_accounts_mixin0, must be greater than or equal to 0.'
|
462
|
-
end
|
463
|
-
|
464
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
465
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtectionApi.get_aws_accounts_mixin0, must be greater than or equal to 0.'
|
466
|
-
end
|
467
|
-
|
468
|
-
# resource path
|
469
|
-
local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
|
470
|
-
|
471
|
-
# query parameters
|
472
|
-
query_params = opts[:query_params] || {}
|
473
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
474
|
-
query_params[:'is_horizon_acct'] = opts[:'is_horizon_acct'] if !opts[:'is_horizon_acct'].nil?
|
475
|
-
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
476
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
477
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
478
|
-
|
479
|
-
# header parameters
|
480
|
-
header_params = opts[:header_params] || {}
|
481
|
-
# HTTP header 'Accept' (if needed)
|
482
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
483
|
-
|
484
|
-
# form parameters
|
485
|
-
form_params = opts[:form_params] || {}
|
486
|
-
|
487
|
-
# http body (model)
|
488
|
-
post_body = opts[:debug_body]
|
489
|
-
|
490
|
-
# return_type
|
491
|
-
return_type = opts[:debug_return_type] || 'K8sregGetAWSAccountsResp'
|
492
|
-
|
493
|
-
# auth_names
|
494
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
495
|
-
|
496
|
-
new_options = opts.merge(
|
497
|
-
:operation => :"KubernetesProtectionApi.get_aws_accounts_mixin0",
|
498
|
-
:header_params => header_params,
|
499
|
-
:query_params => query_params,
|
500
|
-
:form_params => form_params,
|
501
|
-
:body => post_body,
|
502
|
-
:auth_names => auth_names,
|
503
|
-
:return_type => return_type
|
504
|
-
)
|
505
|
-
|
506
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
507
|
-
if @api_client.config.debugging
|
508
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_aws_accounts_mixin0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
509
|
-
end
|
510
|
-
return data, status_code, headers
|
511
|
-
end
|
512
|
-
|
513
|
-
# Provides the script to run for a given tenant id and subscription IDs
|
514
|
-
# @param [Hash] opts the optional parameters
|
515
|
-
# @option opts [String] :id Azure Tenant ID
|
516
|
-
# @option opts [Array<String>] :subscription_id Azure Subscription IDs
|
517
|
-
# @return [K8sregGetAzureBashScriptResp]
|
518
|
-
def get_azure_install_script(opts = {})
|
519
|
-
data, _status_code, _headers = get_azure_install_script_with_http_info(opts)
|
520
|
-
data
|
521
|
-
end
|
522
|
-
|
523
|
-
# Provides the script to run for a given tenant id and subscription IDs
|
524
|
-
# @param [Hash] opts the optional parameters
|
525
|
-
# @option opts [String] :id Azure Tenant ID
|
526
|
-
# @option opts [Array<String>] :subscription_id Azure Subscription IDs
|
527
|
-
# @return [Array<(K8sregGetAzureBashScriptResp, Integer, Hash)>] K8sregGetAzureBashScriptResp data, response status code and response headers
|
528
|
-
def get_azure_install_script_with_http_info(opts = {})
|
529
|
-
if @api_client.config.debugging
|
530
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_azure_install_script ...'
|
531
|
-
end
|
532
|
-
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'].to_s.length > 36
|
533
|
-
fail ArgumentError, 'invalid value for "opts[:"id"]" when calling KubernetesProtectionApi.get_azure_install_script, the character length must be smaller than or equal to 36.'
|
534
|
-
end
|
535
|
-
|
536
|
-
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'].to_s.length < 36
|
537
|
-
fail ArgumentError, 'invalid value for "opts[:"id"]" when calling KubernetesProtectionApi.get_azure_install_script, the character length must be great than or equal to 36.'
|
538
|
-
end
|
539
|
-
|
540
|
-
pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
|
541
|
-
if @api_client.config.client_side_validation && !opts[:'id'].nil? && opts[:'id'] !~ pattern
|
542
|
-
fail ArgumentError, "invalid value for 'opts[:\"id\"]' when calling KubernetesProtectionApi.get_azure_install_script, must conform to the pattern #{pattern}."
|
543
|
-
end
|
544
|
-
|
545
|
-
# resource path
|
546
|
-
local_var_path = '/kubernetes-protection/entities/user-script/azure/v1'
|
547
|
-
|
548
|
-
# query parameters
|
549
|
-
query_params = opts[:query_params] || {}
|
550
|
-
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
551
|
-
query_params[:'subscription_id'] = @api_client.build_collection_param(opts[:'subscription_id'], :csv) if !opts[:'subscription_id'].nil?
|
552
|
-
|
553
|
-
# header parameters
|
554
|
-
header_params = opts[:header_params] || {}
|
555
|
-
# HTTP header 'Accept' (if needed)
|
556
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
557
|
-
|
558
|
-
# form parameters
|
559
|
-
form_params = opts[:form_params] || {}
|
560
|
-
|
561
|
-
# http body (model)
|
562
|
-
post_body = opts[:debug_body]
|
563
|
-
|
564
|
-
# return_type
|
565
|
-
return_type = opts[:debug_return_type] || 'K8sregGetAzureBashScriptResp'
|
566
|
-
|
567
|
-
# auth_names
|
568
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
569
|
-
|
570
|
-
new_options = opts.merge(
|
571
|
-
:operation => :"KubernetesProtectionApi.get_azure_install_script",
|
572
|
-
:header_params => header_params,
|
573
|
-
:query_params => query_params,
|
574
|
-
:form_params => form_params,
|
575
|
-
:body => post_body,
|
576
|
-
:auth_names => auth_names,
|
577
|
-
:return_type => return_type
|
578
|
-
)
|
579
|
-
|
580
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
581
|
-
if @api_client.config.debugging
|
582
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_azure_install_script\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
583
|
-
end
|
584
|
-
return data, status_code, headers
|
585
|
-
end
|
586
|
-
|
587
|
-
# Gets the Azure tenant Config
|
588
|
-
# @param [Hash] opts the optional parameters
|
589
|
-
# @option opts [Array<String>] :ids Azure Tenant IDs
|
590
|
-
# @option opts [Integer] :limit Limit returned accounts
|
591
|
-
# @option opts [Integer] :offset Offset returned accounts
|
592
|
-
# @return [K8sregGetAzureTenantConfigResp]
|
593
|
-
def get_azure_tenant_config(opts = {})
|
594
|
-
data, _status_code, _headers = get_azure_tenant_config_with_http_info(opts)
|
595
|
-
data
|
596
|
-
end
|
597
|
-
|
598
|
-
# Gets the Azure tenant Config
|
599
|
-
# @param [Hash] opts the optional parameters
|
600
|
-
# @option opts [Array<String>] :ids Azure Tenant IDs
|
601
|
-
# @option opts [Integer] :limit Limit returned accounts
|
602
|
-
# @option opts [Integer] :offset Offset returned accounts
|
603
|
-
# @return [Array<(K8sregGetAzureTenantConfigResp, Integer, Hash)>] K8sregGetAzureTenantConfigResp data, response status code and response headers
|
604
|
-
def get_azure_tenant_config_with_http_info(opts = {})
|
605
|
-
if @api_client.config.debugging
|
606
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_azure_tenant_config ...'
|
607
|
-
end
|
608
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
609
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_azure_tenant_config, must be smaller than or equal to 1000.'
|
610
|
-
end
|
611
|
-
|
612
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
613
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_azure_tenant_config, must be greater than or equal to 0.'
|
614
|
-
end
|
615
|
-
|
616
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
617
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtectionApi.get_azure_tenant_config, must be greater than or equal to 0.'
|
618
|
-
end
|
619
|
-
|
620
|
-
# resource path
|
621
|
-
local_var_path = '/kubernetes-protection/entities/config/azure/v1'
|
622
|
-
|
623
|
-
# query parameters
|
624
|
-
query_params = opts[:query_params] || {}
|
625
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
626
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
627
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
628
|
-
|
629
|
-
# header parameters
|
630
|
-
header_params = opts[:header_params] || {}
|
631
|
-
# HTTP header 'Accept' (if needed)
|
632
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
633
|
-
|
634
|
-
# form parameters
|
635
|
-
form_params = opts[:form_params] || {}
|
636
|
-
|
637
|
-
# http body (model)
|
638
|
-
post_body = opts[:debug_body]
|
639
|
-
|
640
|
-
# return_type
|
641
|
-
return_type = opts[:debug_return_type] || 'K8sregGetAzureTenantConfigResp'
|
642
|
-
|
643
|
-
# auth_names
|
644
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
645
|
-
|
646
|
-
new_options = opts.merge(
|
647
|
-
:operation => :"KubernetesProtectionApi.get_azure_tenant_config",
|
648
|
-
:header_params => header_params,
|
649
|
-
:query_params => query_params,
|
650
|
-
:form_params => form_params,
|
651
|
-
:body => post_body,
|
652
|
-
:auth_names => auth_names,
|
653
|
-
:return_type => return_type
|
654
|
-
)
|
655
|
-
|
656
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
657
|
-
if @api_client.config.debugging
|
658
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_azure_tenant_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
659
|
-
end
|
660
|
-
return data, status_code, headers
|
661
|
-
end
|
662
|
-
|
663
|
-
# Provides all the azure subscriptions and tenants
|
664
|
-
# @param [Hash] opts the optional parameters
|
665
|
-
# @option opts [Array<String>] :ids Azure Tenant IDs
|
666
|
-
# @option opts [String] :status Cluster Status
|
667
|
-
# @option opts [Integer] :limit Limit returned accounts
|
668
|
-
# @option opts [Integer] :offset Offset returned accounts
|
669
|
-
# @return [K8sregGetAzureTenantInfoResp]
|
670
|
-
def get_azure_tenant_ids(opts = {})
|
671
|
-
data, _status_code, _headers = get_azure_tenant_ids_with_http_info(opts)
|
672
|
-
data
|
673
|
-
end
|
674
|
-
|
675
|
-
# Provides all the azure subscriptions and tenants
|
676
|
-
# @param [Hash] opts the optional parameters
|
677
|
-
# @option opts [Array<String>] :ids Azure Tenant IDs
|
678
|
-
# @option opts [String] :status Cluster Status
|
679
|
-
# @option opts [Integer] :limit Limit returned accounts
|
680
|
-
# @option opts [Integer] :offset Offset returned accounts
|
681
|
-
# @return [Array<(K8sregGetAzureTenantInfoResp, Integer, Hash)>] K8sregGetAzureTenantInfoResp data, response status code and response headers
|
682
|
-
def get_azure_tenant_ids_with_http_info(opts = {})
|
683
|
-
if @api_client.config.debugging
|
684
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_azure_tenant_ids ...'
|
685
|
-
end
|
686
|
-
allowable_values = ["Not Installed", "Running", "Stopped"]
|
687
|
-
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
688
|
-
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
689
|
-
end
|
690
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
691
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_azure_tenant_ids, must be smaller than or equal to 1000.'
|
692
|
-
end
|
693
|
-
|
694
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
695
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_azure_tenant_ids, must be greater than or equal to 0.'
|
696
|
-
end
|
697
|
-
|
698
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
699
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtectionApi.get_azure_tenant_ids, must be greater than or equal to 0.'
|
700
|
-
end
|
701
|
-
|
702
|
-
# resource path
|
703
|
-
local_var_path = '/kubernetes-protection/entities/tenants/azure/v1'
|
704
|
-
|
705
|
-
# query parameters
|
706
|
-
query_params = opts[:query_params] || {}
|
707
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
708
|
-
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
709
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
710
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
711
|
-
|
712
|
-
# header parameters
|
713
|
-
header_params = opts[:header_params] || {}
|
714
|
-
# HTTP header 'Accept' (if needed)
|
715
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
716
|
-
|
717
|
-
# form parameters
|
718
|
-
form_params = opts[:form_params] || {}
|
719
|
-
|
720
|
-
# http body (model)
|
721
|
-
post_body = opts[:debug_body]
|
722
|
-
|
723
|
-
# return_type
|
724
|
-
return_type = opts[:debug_return_type] || 'K8sregGetAzureTenantInfoResp'
|
725
|
-
|
726
|
-
# auth_names
|
727
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
728
|
-
|
729
|
-
new_options = opts.merge(
|
730
|
-
:operation => :"KubernetesProtectionApi.get_azure_tenant_ids",
|
731
|
-
:header_params => header_params,
|
732
|
-
:query_params => query_params,
|
733
|
-
:form_params => form_params,
|
734
|
-
:body => post_body,
|
735
|
-
:auth_names => auth_names,
|
736
|
-
:return_type => return_type
|
737
|
-
)
|
738
|
-
|
739
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
740
|
-
if @api_client.config.debugging
|
741
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_azure_tenant_ids\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
742
|
-
end
|
743
|
-
return data, status_code, headers
|
744
|
-
end
|
745
|
-
|
746
|
-
# Provides the clusters acknowledged by the Kubernetes Protection service
|
747
|
-
# @param [Hash] opts the optional parameters
|
748
|
-
# @option opts [Array<String>] :cluster_names Cluster name. For EKS it will be cluster ARN.
|
749
|
-
# @option opts [Array<String>] :status Cluster Status
|
750
|
-
# @option opts [Array<String>] :account_ids Cluster Account id. For EKS it will be AWS account ID.
|
751
|
-
# @option opts [Array<String>] :locations Cloud location
|
752
|
-
# @option opts [String] :cluster_service Cluster Service
|
753
|
-
# @option opts [Integer] :limit Limit returned accounts
|
754
|
-
# @option opts [Integer] :offset Offset returned accounts
|
755
|
-
# @return [K8sregGetClustersResp]
|
756
|
-
def get_clusters(opts = {})
|
757
|
-
data, _status_code, _headers = get_clusters_with_http_info(opts)
|
758
|
-
data
|
759
|
-
end
|
760
|
-
|
761
|
-
# Provides the clusters acknowledged by the Kubernetes Protection service
|
762
|
-
# @param [Hash] opts the optional parameters
|
763
|
-
# @option opts [Array<String>] :cluster_names Cluster name. For EKS it will be cluster ARN.
|
764
|
-
# @option opts [Array<String>] :status Cluster Status
|
765
|
-
# @option opts [Array<String>] :account_ids Cluster Account id. For EKS it will be AWS account ID.
|
766
|
-
# @option opts [Array<String>] :locations Cloud location
|
767
|
-
# @option opts [String] :cluster_service Cluster Service
|
768
|
-
# @option opts [Integer] :limit Limit returned accounts
|
769
|
-
# @option opts [Integer] :offset Offset returned accounts
|
770
|
-
# @return [Array<(K8sregGetClustersResp, Integer, Hash)>] K8sregGetClustersResp data, response status code and response headers
|
771
|
-
def get_clusters_with_http_info(opts = {})
|
772
|
-
if @api_client.config.debugging
|
773
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_clusters ...'
|
774
|
-
end
|
775
|
-
allowable_values = []
|
776
|
-
if @api_client.config.client_side_validation && opts[:'status'] && !opts[:'status'].all? { |item| allowable_values.include?(item) }
|
777
|
-
fail ArgumentError, "invalid value for \"status\", must include one of #{allowable_values}"
|
778
|
-
end
|
779
|
-
allowable_values = ["aks", "eks"]
|
780
|
-
if @api_client.config.client_side_validation && opts[:'cluster_service'] && !allowable_values.include?(opts[:'cluster_service'])
|
781
|
-
fail ArgumentError, "invalid value for \"cluster_service\", must be one of #{allowable_values}"
|
782
|
-
end
|
783
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
784
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_clusters, must be smaller than or equal to 1000.'
|
785
|
-
end
|
786
|
-
|
787
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
788
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_clusters, must be greater than or equal to 0.'
|
789
|
-
end
|
790
|
-
|
791
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
792
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtectionApi.get_clusters, must be greater than or equal to 0.'
|
793
|
-
end
|
794
|
-
|
795
|
-
# resource path
|
796
|
-
local_var_path = '/kubernetes-protection/entities/kubernetes/clusters/v1'
|
797
|
-
|
798
|
-
# query parameters
|
799
|
-
query_params = opts[:query_params] || {}
|
800
|
-
query_params[:'cluster_names'] = @api_client.build_collection_param(opts[:'cluster_names'], :csv) if !opts[:'cluster_names'].nil?
|
801
|
-
query_params[:'status'] = @api_client.build_collection_param(opts[:'status'], :csv) if !opts[:'status'].nil?
|
802
|
-
query_params[:'account_ids'] = @api_client.build_collection_param(opts[:'account_ids'], :csv) if !opts[:'account_ids'].nil?
|
803
|
-
query_params[:'locations'] = @api_client.build_collection_param(opts[:'locations'], :csv) if !opts[:'locations'].nil?
|
804
|
-
query_params[:'cluster_service'] = opts[:'cluster_service'] if !opts[:'cluster_service'].nil?
|
805
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
806
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
807
|
-
|
808
|
-
# header parameters
|
809
|
-
header_params = opts[:header_params] || {}
|
810
|
-
# HTTP header 'Accept' (if needed)
|
811
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
812
|
-
|
813
|
-
# form parameters
|
814
|
-
form_params = opts[:form_params] || {}
|
815
|
-
|
816
|
-
# http body (model)
|
817
|
-
post_body = opts[:debug_body]
|
818
|
-
|
819
|
-
# return_type
|
820
|
-
return_type = opts[:debug_return_type] || 'K8sregGetClustersResp'
|
821
|
-
|
822
|
-
# auth_names
|
823
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
824
|
-
|
825
|
-
new_options = opts.merge(
|
826
|
-
:operation => :"KubernetesProtectionApi.get_clusters",
|
827
|
-
:header_params => header_params,
|
828
|
-
:query_params => query_params,
|
829
|
-
:form_params => form_params,
|
830
|
-
:body => post_body,
|
831
|
-
:auth_names => auth_names,
|
832
|
-
:return_type => return_type
|
833
|
-
)
|
834
|
-
|
835
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
836
|
-
if @api_client.config.debugging
|
837
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_clusters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
838
|
-
end
|
839
|
-
return data, status_code, headers
|
840
|
-
end
|
841
|
-
|
842
|
-
# Returns a combined list of provisioned cloud accounts and known kubernetes clusters
|
843
|
-
# @param [Hash] opts the optional parameters
|
844
|
-
# @option opts [Array<String>] :locations Cloud location
|
845
|
-
# @option opts [Array<String>] :ids Cloud Account IDs
|
846
|
-
# @option opts [Array<String>] :cluster_service Cluster Service
|
847
|
-
# @option opts [Array<String>] :cluster_status Cluster Status
|
848
|
-
# @option opts [Integer] :limit Limit returned accounts
|
849
|
-
# @option opts [Integer] :offset Offset returned accounts
|
850
|
-
# @return [K8sregListClusterCloudResp]
|
851
|
-
def get_combined_cloud_clusters(opts = {})
|
852
|
-
data, _status_code, _headers = get_combined_cloud_clusters_with_http_info(opts)
|
853
|
-
data
|
854
|
-
end
|
855
|
-
|
856
|
-
# Returns a combined list of provisioned cloud accounts and known kubernetes clusters
|
857
|
-
# @param [Hash] opts the optional parameters
|
858
|
-
# @option opts [Array<String>] :locations Cloud location
|
859
|
-
# @option opts [Array<String>] :ids Cloud Account IDs
|
860
|
-
# @option opts [Array<String>] :cluster_service Cluster Service
|
861
|
-
# @option opts [Array<String>] :cluster_status Cluster Status
|
862
|
-
# @option opts [Integer] :limit Limit returned accounts
|
863
|
-
# @option opts [Integer] :offset Offset returned accounts
|
864
|
-
# @return [Array<(K8sregListClusterCloudResp, Integer, Hash)>] K8sregListClusterCloudResp data, response status code and response headers
|
865
|
-
def get_combined_cloud_clusters_with_http_info(opts = {})
|
866
|
-
if @api_client.config.debugging
|
867
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_combined_cloud_clusters ...'
|
868
|
-
end
|
869
|
-
allowable_values = []
|
870
|
-
if @api_client.config.client_side_validation && opts[:'cluster_service'] && !opts[:'cluster_service'].all? { |item| allowable_values.include?(item) }
|
871
|
-
fail ArgumentError, "invalid value for \"cluster_service\", must include one of #{allowable_values}"
|
872
|
-
end
|
873
|
-
allowable_values = []
|
874
|
-
if @api_client.config.client_side_validation && opts[:'cluster_status'] && !opts[:'cluster_status'].all? { |item| allowable_values.include?(item) }
|
875
|
-
fail ArgumentError, "invalid value for \"cluster_status\", must include one of #{allowable_values}"
|
876
|
-
end
|
877
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
878
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_combined_cloud_clusters, must be smaller than or equal to 1000.'
|
879
|
-
end
|
880
|
-
|
881
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
882
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.get_combined_cloud_clusters, must be greater than or equal to 0.'
|
883
|
-
end
|
884
|
-
|
885
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
886
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtectionApi.get_combined_cloud_clusters, must be greater than or equal to 0.'
|
887
|
-
end
|
888
|
-
|
889
|
-
# resource path
|
890
|
-
local_var_path = '/kubernetes-protection/entities/cloud_cluster/v1'
|
891
|
-
|
892
|
-
# query parameters
|
893
|
-
query_params = opts[:query_params] || {}
|
894
|
-
query_params[:'locations'] = @api_client.build_collection_param(opts[:'locations'], :csv) if !opts[:'locations'].nil?
|
895
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
896
|
-
query_params[:'cluster_service'] = @api_client.build_collection_param(opts[:'cluster_service'], :csv) if !opts[:'cluster_service'].nil?
|
897
|
-
query_params[:'cluster_status'] = @api_client.build_collection_param(opts[:'cluster_status'], :csv) if !opts[:'cluster_status'].nil?
|
898
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
899
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
900
|
-
|
901
|
-
# header parameters
|
902
|
-
header_params = opts[:header_params] || {}
|
903
|
-
# HTTP header 'Accept' (if needed)
|
904
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
905
|
-
|
906
|
-
# form parameters
|
907
|
-
form_params = opts[:form_params] || {}
|
908
|
-
|
909
|
-
# http body (model)
|
910
|
-
post_body = opts[:debug_body]
|
911
|
-
|
912
|
-
# return_type
|
913
|
-
return_type = opts[:debug_return_type] || 'K8sregListClusterCloudResp'
|
914
|
-
|
915
|
-
# auth_names
|
916
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
917
|
-
|
918
|
-
new_options = opts.merge(
|
919
|
-
:operation => :"KubernetesProtectionApi.get_combined_cloud_clusters",
|
920
|
-
:header_params => header_params,
|
921
|
-
:query_params => query_params,
|
922
|
-
:form_params => form_params,
|
923
|
-
:body => post_body,
|
924
|
-
:auth_names => auth_names,
|
925
|
-
:return_type => return_type
|
926
|
-
)
|
927
|
-
|
928
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
929
|
-
if @api_client.config.debugging
|
930
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_combined_cloud_clusters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
931
|
-
end
|
932
|
-
return data, status_code, headers
|
933
|
-
end
|
934
|
-
|
935
|
-
# Provides a sample Helm values.yaml file for a customer to install alongside the agent Helm chart
|
936
|
-
# @param cluster_name [String] Cluster name. For EKS it will be cluster ARN.
|
937
|
-
# @param [Hash] opts the optional parameters
|
938
|
-
# @option opts [Boolean] :is_self_managed_cluster Set to true if the cluster is not managed by a cloud provider, false if it is.
|
939
|
-
# @return [Object]
|
940
|
-
def get_helm_values_yaml(cluster_name, opts = {})
|
941
|
-
data, _status_code, _headers = get_helm_values_yaml_with_http_info(cluster_name, opts)
|
942
|
-
data
|
943
|
-
end
|
944
|
-
|
945
|
-
# Provides a sample Helm values.yaml file for a customer to install alongside the agent Helm chart
|
946
|
-
# @param cluster_name [String] Cluster name. For EKS it will be cluster ARN.
|
947
|
-
# @param [Hash] opts the optional parameters
|
948
|
-
# @option opts [Boolean] :is_self_managed_cluster Set to true if the cluster is not managed by a cloud provider, false if it is.
|
949
|
-
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
950
|
-
def get_helm_values_yaml_with_http_info(cluster_name, opts = {})
|
951
|
-
if @api_client.config.debugging
|
952
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_helm_values_yaml ...'
|
953
|
-
end
|
954
|
-
# verify the required parameter 'cluster_name' is set
|
955
|
-
if @api_client.config.client_side_validation && cluster_name.nil?
|
956
|
-
fail ArgumentError, "Missing the required parameter 'cluster_name' when calling KubernetesProtectionApi.get_helm_values_yaml"
|
957
|
-
end
|
958
|
-
# resource path
|
959
|
-
local_var_path = '/kubernetes-protection/entities/integration/agent/v1'
|
960
|
-
|
961
|
-
# query parameters
|
962
|
-
query_params = opts[:query_params] || {}
|
963
|
-
query_params[:'cluster_name'] = cluster_name
|
964
|
-
query_params[:'is_self_managed_cluster'] = opts[:'is_self_managed_cluster'] if !opts[:'is_self_managed_cluster'].nil?
|
965
|
-
|
966
|
-
# header parameters
|
967
|
-
header_params = opts[:header_params] || {}
|
968
|
-
# HTTP header 'Accept' (if needed)
|
969
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/yaml'])
|
970
|
-
|
971
|
-
# form parameters
|
972
|
-
form_params = opts[:form_params] || {}
|
973
|
-
|
974
|
-
# http body (model)
|
975
|
-
post_body = opts[:debug_body]
|
976
|
-
|
977
|
-
# return_type
|
978
|
-
return_type = opts[:debug_return_type] || 'Object'
|
979
|
-
|
980
|
-
# auth_names
|
981
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
982
|
-
|
983
|
-
new_options = opts.merge(
|
984
|
-
:operation => :"KubernetesProtectionApi.get_helm_values_yaml",
|
985
|
-
:header_params => header_params,
|
986
|
-
:query_params => query_params,
|
987
|
-
:form_params => form_params,
|
988
|
-
:body => post_body,
|
989
|
-
:auth_names => auth_names,
|
990
|
-
:return_type => return_type
|
991
|
-
)
|
992
|
-
|
993
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
994
|
-
if @api_client.config.debugging
|
995
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_helm_values_yaml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
996
|
-
end
|
997
|
-
return data, status_code, headers
|
998
|
-
end
|
999
|
-
|
1000
|
-
# Provides the cloud locations acknowledged by the Kubernetes Protection service
|
1001
|
-
# @param [Hash] opts the optional parameters
|
1002
|
-
# @option opts [Array<String>] :clouds Cloud Provider
|
1003
|
-
# @return [K8sregGetLocationsResp]
|
1004
|
-
def get_locations(opts = {})
|
1005
|
-
data, _status_code, _headers = get_locations_with_http_info(opts)
|
1006
|
-
data
|
1007
|
-
end
|
1008
|
-
|
1009
|
-
# Provides the cloud locations acknowledged by the Kubernetes Protection service
|
1010
|
-
# @param [Hash] opts the optional parameters
|
1011
|
-
# @option opts [Array<String>] :clouds Cloud Provider
|
1012
|
-
# @return [Array<(K8sregGetLocationsResp, Integer, Hash)>] K8sregGetLocationsResp data, response status code and response headers
|
1013
|
-
def get_locations_with_http_info(opts = {})
|
1014
|
-
if @api_client.config.debugging
|
1015
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_locations ...'
|
1016
|
-
end
|
1017
|
-
allowable_values = []
|
1018
|
-
if @api_client.config.client_side_validation && opts[:'clouds'] && !opts[:'clouds'].all? { |item| allowable_values.include?(item) }
|
1019
|
-
fail ArgumentError, "invalid value for \"clouds\", must include one of #{allowable_values}"
|
1020
|
-
end
|
1021
|
-
# resource path
|
1022
|
-
local_var_path = '/kubernetes-protection/entities/cloud-locations/v1'
|
1023
|
-
|
1024
|
-
# query parameters
|
1025
|
-
query_params = opts[:query_params] || {}
|
1026
|
-
query_params[:'clouds'] = @api_client.build_collection_param(opts[:'clouds'], :csv) if !opts[:'clouds'].nil?
|
1027
|
-
|
1028
|
-
# header parameters
|
1029
|
-
header_params = opts[:header_params] || {}
|
1030
|
-
# HTTP header 'Accept' (if needed)
|
1031
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1032
|
-
|
1033
|
-
# form parameters
|
1034
|
-
form_params = opts[:form_params] || {}
|
1035
|
-
|
1036
|
-
# http body (model)
|
1037
|
-
post_body = opts[:debug_body]
|
1038
|
-
|
1039
|
-
# return_type
|
1040
|
-
return_type = opts[:debug_return_type] || 'K8sregGetLocationsResp'
|
1041
|
-
|
1042
|
-
# auth_names
|
1043
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1044
|
-
|
1045
|
-
new_options = opts.merge(
|
1046
|
-
:operation => :"KubernetesProtectionApi.get_locations",
|
1047
|
-
:header_params => header_params,
|
1048
|
-
:query_params => query_params,
|
1049
|
-
:form_params => form_params,
|
1050
|
-
:body => post_body,
|
1051
|
-
:auth_names => auth_names,
|
1052
|
-
:return_type => return_type
|
1053
|
-
)
|
1054
|
-
|
1055
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1056
|
-
if @api_client.config.debugging
|
1057
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_locations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1058
|
-
end
|
1059
|
-
return data, status_code, headers
|
1060
|
-
end
|
1061
|
-
|
1062
|
-
# Gets static bash scripts that are used during registration
|
1063
|
-
# @param [Hash] opts the optional parameters
|
1064
|
-
# @return [K8sregGetScriptsResp]
|
1065
|
-
def get_static_scripts(opts = {})
|
1066
|
-
data, _status_code, _headers = get_static_scripts_with_http_info(opts)
|
1067
|
-
data
|
1068
|
-
end
|
1069
|
-
|
1070
|
-
# Gets static bash scripts that are used during registration
|
1071
|
-
# @param [Hash] opts the optional parameters
|
1072
|
-
# @return [Array<(K8sregGetScriptsResp, Integer, Hash)>] K8sregGetScriptsResp data, response status code and response headers
|
1073
|
-
def get_static_scripts_with_http_info(opts = {})
|
1074
|
-
if @api_client.config.debugging
|
1075
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.get_static_scripts ...'
|
1076
|
-
end
|
1077
|
-
# resource path
|
1078
|
-
local_var_path = '/kubernetes-protection/entities/gen/scripts/v1'
|
1079
|
-
|
1080
|
-
# query parameters
|
1081
|
-
query_params = opts[:query_params] || {}
|
1082
|
-
|
1083
|
-
# header parameters
|
1084
|
-
header_params = opts[:header_params] || {}
|
1085
|
-
# HTTP header 'Accept' (if needed)
|
1086
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1087
|
-
|
1088
|
-
# form parameters
|
1089
|
-
form_params = opts[:form_params] || {}
|
1090
|
-
|
1091
|
-
# http body (model)
|
1092
|
-
post_body = opts[:debug_body]
|
1093
|
-
|
1094
|
-
# return_type
|
1095
|
-
return_type = opts[:debug_return_type] || 'K8sregGetScriptsResp'
|
1096
|
-
|
1097
|
-
# auth_names
|
1098
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1099
|
-
|
1100
|
-
new_options = opts.merge(
|
1101
|
-
:operation => :"KubernetesProtectionApi.get_static_scripts",
|
1102
|
-
:header_params => header_params,
|
1103
|
-
:query_params => query_params,
|
1104
|
-
:form_params => form_params,
|
1105
|
-
:body => post_body,
|
1106
|
-
:auth_names => auth_names,
|
1107
|
-
:return_type => return_type
|
1108
|
-
)
|
1109
|
-
|
1110
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1111
|
-
if @api_client.config.debugging
|
1112
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#get_static_scripts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1113
|
-
end
|
1114
|
-
return data, status_code, headers
|
1115
|
-
end
|
1116
|
-
|
1117
|
-
# Group the containers by Managed
|
1118
|
-
# @param [Hash] opts the optional parameters
|
1119
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1120
|
-
# @return [ModelsContainerCoverageResponseEntity]
|
1121
|
-
def group_containers_by_managed(opts = {})
|
1122
|
-
data, _status_code, _headers = group_containers_by_managed_with_http_info(opts)
|
1123
|
-
data
|
1124
|
-
end
|
1125
|
-
|
1126
|
-
# Group the containers by Managed
|
1127
|
-
# @param [Hash] opts the optional parameters
|
1128
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1129
|
-
# @return [Array<(ModelsContainerCoverageResponseEntity, Integer, Hash)>] ModelsContainerCoverageResponseEntity data, response status code and response headers
|
1130
|
-
def group_containers_by_managed_with_http_info(opts = {})
|
1131
|
-
if @api_client.config.debugging
|
1132
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.group_containers_by_managed ...'
|
1133
|
-
end
|
1134
|
-
# resource path
|
1135
|
-
local_var_path = '/container-security/aggregates/containers/group-by-managed/v1'
|
1136
|
-
|
1137
|
-
# query parameters
|
1138
|
-
query_params = opts[:query_params] || {}
|
1139
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1140
|
-
|
1141
|
-
# header parameters
|
1142
|
-
header_params = opts[:header_params] || {}
|
1143
|
-
# HTTP header 'Accept' (if needed)
|
1144
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1145
|
-
|
1146
|
-
# form parameters
|
1147
|
-
form_params = opts[:form_params] || {}
|
1148
|
-
|
1149
|
-
# http body (model)
|
1150
|
-
post_body = opts[:debug_body]
|
1151
|
-
|
1152
|
-
# return_type
|
1153
|
-
return_type = opts[:debug_return_type] || 'ModelsContainerCoverageResponseEntity'
|
1154
|
-
|
1155
|
-
# auth_names
|
1156
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1157
|
-
|
1158
|
-
new_options = opts.merge(
|
1159
|
-
:operation => :"KubernetesProtectionApi.group_containers_by_managed",
|
1160
|
-
:header_params => header_params,
|
1161
|
-
:query_params => query_params,
|
1162
|
-
:form_params => form_params,
|
1163
|
-
:body => post_body,
|
1164
|
-
:auth_names => auth_names,
|
1165
|
-
:return_type => return_type
|
1166
|
-
)
|
1167
|
-
|
1168
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1169
|
-
if @api_client.config.debugging
|
1170
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#group_containers_by_managed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1171
|
-
end
|
1172
|
-
return data, status_code, headers
|
1173
|
-
end
|
1174
|
-
|
1175
|
-
# Provides the azure subscriptions registered to Kubernetes Protection
|
1176
|
-
# @param [Hash] opts the optional parameters
|
1177
|
-
# @option opts [Array<String>] :ids Azure Tenant IDs
|
1178
|
-
# @option opts [Array<String>] :subscription_id Azure Subscription IDs
|
1179
|
-
# @option opts [String] :status Filter by account status
|
1180
|
-
# @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
|
1181
|
-
# @option opts [Integer] :limit Limit returned accounts
|
1182
|
-
# @option opts [Integer] :offset Offset returned accounts
|
1183
|
-
# @return [K8sregGetAzureSubscriptionsResp]
|
1184
|
-
def list_azure_accounts(opts = {})
|
1185
|
-
data, _status_code, _headers = list_azure_accounts_with_http_info(opts)
|
1186
|
-
data
|
1187
|
-
end
|
1188
|
-
|
1189
|
-
# Provides the azure subscriptions registered to Kubernetes Protection
|
1190
|
-
# @param [Hash] opts the optional parameters
|
1191
|
-
# @option opts [Array<String>] :ids Azure Tenant IDs
|
1192
|
-
# @option opts [Array<String>] :subscription_id Azure Subscription IDs
|
1193
|
-
# @option opts [String] :status Filter by account status
|
1194
|
-
# @option opts [String] :is_horizon_acct Filter by whether an account originates from Horizon or not
|
1195
|
-
# @option opts [Integer] :limit Limit returned accounts
|
1196
|
-
# @option opts [Integer] :offset Offset returned accounts
|
1197
|
-
# @return [Array<(K8sregGetAzureSubscriptionsResp, Integer, Hash)>] K8sregGetAzureSubscriptionsResp data, response status code and response headers
|
1198
|
-
def list_azure_accounts_with_http_info(opts = {})
|
1199
|
-
if @api_client.config.debugging
|
1200
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.list_azure_accounts ...'
|
1201
|
-
end
|
1202
|
-
allowable_values = ["operational", "provisioned"]
|
1203
|
-
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
1204
|
-
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
1205
|
-
end
|
1206
|
-
pattern = Regexp.new(/^(provisioned|operational)$/)
|
1207
|
-
if @api_client.config.client_side_validation && !opts[:'status'].nil? && opts[:'status'] !~ pattern
|
1208
|
-
fail ArgumentError, "invalid value for 'opts[:\"status\"]' when calling KubernetesProtectionApi.list_azure_accounts, must conform to the pattern #{pattern}."
|
1209
|
-
end
|
1210
|
-
|
1211
|
-
allowable_values = ["false", "true"]
|
1212
|
-
if @api_client.config.client_side_validation && opts[:'is_horizon_acct'] && !allowable_values.include?(opts[:'is_horizon_acct'])
|
1213
|
-
fail ArgumentError, "invalid value for \"is_horizon_acct\", must be one of #{allowable_values}"
|
1214
|
-
end
|
1215
|
-
pattern = Regexp.new(/^(true|false)$/)
|
1216
|
-
if @api_client.config.client_side_validation && !opts[:'is_horizon_acct'].nil? && opts[:'is_horizon_acct'] !~ pattern
|
1217
|
-
fail ArgumentError, "invalid value for 'opts[:\"is_horizon_acct\"]' when calling KubernetesProtectionApi.list_azure_accounts, must conform to the pattern #{pattern}."
|
1218
|
-
end
|
1219
|
-
|
1220
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 1000
|
1221
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.list_azure_accounts, must be smaller than or equal to 1000.'
|
1222
|
-
end
|
1223
|
-
|
1224
|
-
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 0
|
1225
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling KubernetesProtectionApi.list_azure_accounts, must be greater than or equal to 0.'
|
1226
|
-
end
|
1227
|
-
|
1228
|
-
if @api_client.config.client_side_validation && !opts[:'offset'].nil? && opts[:'offset'] < 0
|
1229
|
-
fail ArgumentError, 'invalid value for "opts[:"offset"]" when calling KubernetesProtectionApi.list_azure_accounts, must be greater than or equal to 0.'
|
1230
|
-
end
|
1231
|
-
|
1232
|
-
# resource path
|
1233
|
-
local_var_path = '/kubernetes-protection/entities/accounts/azure/v1'
|
1234
|
-
|
1235
|
-
# query parameters
|
1236
|
-
query_params = opts[:query_params] || {}
|
1237
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
1238
|
-
query_params[:'subscription_id'] = @api_client.build_collection_param(opts[:'subscription_id'], :csv) if !opts[:'subscription_id'].nil?
|
1239
|
-
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
1240
|
-
query_params[:'is_horizon_acct'] = opts[:'is_horizon_acct'] if !opts[:'is_horizon_acct'].nil?
|
1241
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1242
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1243
|
-
|
1244
|
-
# header parameters
|
1245
|
-
header_params = opts[:header_params] || {}
|
1246
|
-
# HTTP header 'Accept' (if needed)
|
1247
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1248
|
-
|
1249
|
-
# form parameters
|
1250
|
-
form_params = opts[:form_params] || {}
|
1251
|
-
|
1252
|
-
# http body (model)
|
1253
|
-
post_body = opts[:debug_body]
|
1254
|
-
|
1255
|
-
# return_type
|
1256
|
-
return_type = opts[:debug_return_type] || 'K8sregGetAzureSubscriptionsResp'
|
1257
|
-
|
1258
|
-
# auth_names
|
1259
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1260
|
-
|
1261
|
-
new_options = opts.merge(
|
1262
|
-
:operation => :"KubernetesProtectionApi.list_azure_accounts",
|
1263
|
-
:header_params => header_params,
|
1264
|
-
:query_params => query_params,
|
1265
|
-
:form_params => form_params,
|
1266
|
-
:body => post_body,
|
1267
|
-
:auth_names => auth_names,
|
1268
|
-
:return_type => return_type
|
1269
|
-
)
|
1270
|
-
|
1271
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1272
|
-
if @api_client.config.debugging
|
1273
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#list_azure_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1274
|
-
end
|
1275
|
-
return data, status_code, headers
|
1276
|
-
end
|
1277
|
-
|
1278
|
-
# Adds the client ID for the given tenant ID to our system
|
1279
|
-
# @param id [String] Azure Tenant ID
|
1280
|
-
# @param client_id [String] Azure Client ID
|
1281
|
-
# @param [Hash] opts the optional parameters
|
1282
|
-
# @return [K8sregGetAzureTenantConfigResp]
|
1283
|
-
def patch_azure_service_principal(id, client_id, opts = {})
|
1284
|
-
data, _status_code, _headers = patch_azure_service_principal_with_http_info(id, client_id, opts)
|
1285
|
-
data
|
1286
|
-
end
|
1287
|
-
|
1288
|
-
# Adds the client ID for the given tenant ID to our system
|
1289
|
-
# @param id [String] Azure Tenant ID
|
1290
|
-
# @param client_id [String] Azure Client ID
|
1291
|
-
# @param [Hash] opts the optional parameters
|
1292
|
-
# @return [Array<(K8sregGetAzureTenantConfigResp, Integer, Hash)>] K8sregGetAzureTenantConfigResp data, response status code and response headers
|
1293
|
-
def patch_azure_service_principal_with_http_info(id, client_id, opts = {})
|
1294
|
-
if @api_client.config.debugging
|
1295
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.patch_azure_service_principal ...'
|
1296
|
-
end
|
1297
|
-
# verify the required parameter 'id' is set
|
1298
|
-
if @api_client.config.client_side_validation && id.nil?
|
1299
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling KubernetesProtectionApi.patch_azure_service_principal"
|
1300
|
-
end
|
1301
|
-
if @api_client.config.client_side_validation && id.to_s.length > 36
|
1302
|
-
fail ArgumentError, 'invalid value for "id" when calling KubernetesProtectionApi.patch_azure_service_principal, the character length must be smaller than or equal to 36.'
|
1303
|
-
end
|
1304
|
-
|
1305
|
-
if @api_client.config.client_side_validation && id.to_s.length < 36
|
1306
|
-
fail ArgumentError, 'invalid value for "id" when calling KubernetesProtectionApi.patch_azure_service_principal, the character length must be great than or equal to 36.'
|
1307
|
-
end
|
1308
|
-
|
1309
|
-
pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
|
1310
|
-
if @api_client.config.client_side_validation && id !~ pattern
|
1311
|
-
fail ArgumentError, "invalid value for 'id' when calling KubernetesProtectionApi.patch_azure_service_principal, must conform to the pattern #{pattern}."
|
1312
|
-
end
|
1313
|
-
|
1314
|
-
# verify the required parameter 'client_id' is set
|
1315
|
-
if @api_client.config.client_side_validation && client_id.nil?
|
1316
|
-
fail ArgumentError, "Missing the required parameter 'client_id' when calling KubernetesProtectionApi.patch_azure_service_principal"
|
1317
|
-
end
|
1318
|
-
if @api_client.config.client_side_validation && client_id.to_s.length > 36
|
1319
|
-
fail ArgumentError, 'invalid value for "client_id" when calling KubernetesProtectionApi.patch_azure_service_principal, the character length must be smaller than or equal to 36.'
|
1320
|
-
end
|
1321
|
-
|
1322
|
-
if @api_client.config.client_side_validation && client_id.to_s.length < 36
|
1323
|
-
fail ArgumentError, 'invalid value for "client_id" when calling KubernetesProtectionApi.patch_azure_service_principal, the character length must be great than or equal to 36.'
|
1324
|
-
end
|
1325
|
-
|
1326
|
-
pattern = Regexp.new(/^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$/)
|
1327
|
-
if @api_client.config.client_side_validation && client_id !~ pattern
|
1328
|
-
fail ArgumentError, "invalid value for 'client_id' when calling KubernetesProtectionApi.patch_azure_service_principal, must conform to the pattern #{pattern}."
|
1329
|
-
end
|
1330
|
-
|
1331
|
-
# resource path
|
1332
|
-
local_var_path = '/kubernetes-protection/entities/service-principal/azure/v1'
|
1333
|
-
|
1334
|
-
# query parameters
|
1335
|
-
query_params = opts[:query_params] || {}
|
1336
|
-
query_params[:'id'] = id
|
1337
|
-
query_params[:'client_id'] = client_id
|
1338
|
-
|
1339
|
-
# header parameters
|
1340
|
-
header_params = opts[:header_params] || {}
|
1341
|
-
# HTTP header 'Accept' (if needed)
|
1342
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1343
|
-
|
1344
|
-
# form parameters
|
1345
|
-
form_params = opts[:form_params] || {}
|
1346
|
-
|
1347
|
-
# http body (model)
|
1348
|
-
post_body = opts[:debug_body]
|
1349
|
-
|
1350
|
-
# return_type
|
1351
|
-
return_type = opts[:debug_return_type] || 'K8sregGetAzureTenantConfigResp'
|
1352
|
-
|
1353
|
-
# auth_names
|
1354
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1355
|
-
|
1356
|
-
new_options = opts.merge(
|
1357
|
-
:operation => :"KubernetesProtectionApi.patch_azure_service_principal",
|
1358
|
-
:header_params => header_params,
|
1359
|
-
:query_params => query_params,
|
1360
|
-
:form_params => form_params,
|
1361
|
-
:body => post_body,
|
1362
|
-
:auth_names => auth_names,
|
1363
|
-
:return_type => return_type
|
1364
|
-
)
|
1365
|
-
|
1366
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
1367
|
-
if @api_client.config.debugging
|
1368
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#patch_azure_service_principal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1369
|
-
end
|
1370
|
-
return data, status_code, headers
|
1371
|
-
end
|
1372
|
-
|
1373
|
-
# Retrieve kubernetes clusters identified by the provided filter criteria
|
1374
|
-
# @param [Hash] opts the optional parameters
|
1375
|
-
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1376
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1377
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
1378
|
-
# @option opts [String] :sort Field to sort results by
|
1379
|
-
# @return [ModelsClusterEntityResponse]
|
1380
|
-
def read_cluster_combined(opts = {})
|
1381
|
-
data, _status_code, _headers = read_cluster_combined_with_http_info(opts)
|
1382
|
-
data
|
1383
|
-
end
|
1384
|
-
|
1385
|
-
# Retrieve kubernetes clusters identified by the provided filter criteria
|
1386
|
-
# @param [Hash] opts the optional parameters
|
1387
|
-
# @option opts [String] :filter Search Kubernetes clusters using a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1388
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1389
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
1390
|
-
# @option opts [String] :sort Field to sort results by
|
1391
|
-
# @return [Array<(ModelsClusterEntityResponse, Integer, Hash)>] ModelsClusterEntityResponse data, response status code and response headers
|
1392
|
-
def read_cluster_combined_with_http_info(opts = {})
|
1393
|
-
if @api_client.config.debugging
|
1394
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_cluster_combined ...'
|
1395
|
-
end
|
1396
|
-
# resource path
|
1397
|
-
local_var_path = '/container-security/combined/clusters/v1'
|
1398
|
-
|
1399
|
-
# query parameters
|
1400
|
-
query_params = opts[:query_params] || {}
|
1401
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1402
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1403
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1404
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1405
|
-
|
1406
|
-
# header parameters
|
1407
|
-
header_params = opts[:header_params] || {}
|
1408
|
-
# HTTP header 'Accept' (if needed)
|
1409
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1410
|
-
|
1411
|
-
# form parameters
|
1412
|
-
form_params = opts[:form_params] || {}
|
1413
|
-
|
1414
|
-
# http body (model)
|
1415
|
-
post_body = opts[:debug_body]
|
1416
|
-
|
1417
|
-
# return_type
|
1418
|
-
return_type = opts[:debug_return_type] || 'ModelsClusterEntityResponse'
|
1419
|
-
|
1420
|
-
# auth_names
|
1421
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1422
|
-
|
1423
|
-
new_options = opts.merge(
|
1424
|
-
:operation => :"KubernetesProtectionApi.read_cluster_combined",
|
1425
|
-
:header_params => header_params,
|
1426
|
-
:query_params => query_params,
|
1427
|
-
:form_params => form_params,
|
1428
|
-
:body => post_body,
|
1429
|
-
:auth_names => auth_names,
|
1430
|
-
:return_type => return_type
|
1431
|
-
)
|
1432
|
-
|
1433
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1434
|
-
if @api_client.config.debugging
|
1435
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_cluster_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1436
|
-
end
|
1437
|
-
return data, status_code, headers
|
1438
|
-
end
|
1439
|
-
|
1440
|
-
# Retrieve cluster counts
|
1441
|
-
# @param [Hash] opts the optional parameters
|
1442
|
-
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1443
|
-
# @return [CommonCountResponse]
|
1444
|
-
def read_cluster_count(opts = {})
|
1445
|
-
data, _status_code, _headers = read_cluster_count_with_http_info(opts)
|
1446
|
-
data
|
1447
|
-
end
|
1448
|
-
|
1449
|
-
# Retrieve cluster counts
|
1450
|
-
# @param [Hash] opts the optional parameters
|
1451
|
-
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1452
|
-
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
1453
|
-
def read_cluster_count_with_http_info(opts = {})
|
1454
|
-
if @api_client.config.debugging
|
1455
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_cluster_count ...'
|
1456
|
-
end
|
1457
|
-
# resource path
|
1458
|
-
local_var_path = '/container-security/aggregates/clusters/count/v1'
|
1459
|
-
|
1460
|
-
# query parameters
|
1461
|
-
query_params = opts[:query_params] || {}
|
1462
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1463
|
-
|
1464
|
-
# header parameters
|
1465
|
-
header_params = opts[:header_params] || {}
|
1466
|
-
# HTTP header 'Accept' (if needed)
|
1467
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1468
|
-
|
1469
|
-
# form parameters
|
1470
|
-
form_params = opts[:form_params] || {}
|
1471
|
-
|
1472
|
-
# http body (model)
|
1473
|
-
post_body = opts[:debug_body]
|
1474
|
-
|
1475
|
-
# return_type
|
1476
|
-
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
1477
|
-
|
1478
|
-
# auth_names
|
1479
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1480
|
-
|
1481
|
-
new_options = opts.merge(
|
1482
|
-
:operation => :"KubernetesProtectionApi.read_cluster_count",
|
1483
|
-
:header_params => header_params,
|
1484
|
-
:query_params => query_params,
|
1485
|
-
:form_params => form_params,
|
1486
|
-
:body => post_body,
|
1487
|
-
:auth_names => auth_names,
|
1488
|
-
:return_type => return_type
|
1489
|
-
)
|
1490
|
-
|
1491
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1492
|
-
if @api_client.config.debugging
|
1493
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_cluster_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1494
|
-
end
|
1495
|
-
return data, status_code, headers
|
1496
|
-
end
|
1497
|
-
|
1498
|
-
# Retrieve cluster enrichment data
|
1499
|
-
# @param cluster_id [Array<String>] One or more cluster ids for which to retrieve enrichment info
|
1500
|
-
# @param [Hash] opts the optional parameters
|
1501
|
-
# @option opts [String] :filter Supported filters: last_seen
|
1502
|
-
# @return [K8sassetsClusterEnrichmentResponse]
|
1503
|
-
def read_cluster_enrichment(cluster_id, opts = {})
|
1504
|
-
data, _status_code, _headers = read_cluster_enrichment_with_http_info(cluster_id, opts)
|
1505
|
-
data
|
1506
|
-
end
|
1507
|
-
|
1508
|
-
# Retrieve cluster enrichment data
|
1509
|
-
# @param cluster_id [Array<String>] One or more cluster ids for which to retrieve enrichment info
|
1510
|
-
# @param [Hash] opts the optional parameters
|
1511
|
-
# @option opts [String] :filter Supported filters: last_seen
|
1512
|
-
# @return [Array<(K8sassetsClusterEnrichmentResponse, Integer, Hash)>] K8sassetsClusterEnrichmentResponse data, response status code and response headers
|
1513
|
-
def read_cluster_enrichment_with_http_info(cluster_id, opts = {})
|
1514
|
-
if @api_client.config.debugging
|
1515
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_cluster_enrichment ...'
|
1516
|
-
end
|
1517
|
-
# verify the required parameter 'cluster_id' is set
|
1518
|
-
if @api_client.config.client_side_validation && cluster_id.nil?
|
1519
|
-
fail ArgumentError, "Missing the required parameter 'cluster_id' when calling KubernetesProtectionApi.read_cluster_enrichment"
|
1520
|
-
end
|
1521
|
-
# resource path
|
1522
|
-
local_var_path = '/container-security/aggregates/enrichment/clusters/entities/v1'
|
1523
|
-
|
1524
|
-
# query parameters
|
1525
|
-
query_params = opts[:query_params] || {}
|
1526
|
-
query_params[:'cluster_id'] = @api_client.build_collection_param(cluster_id, :csv)
|
1527
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1528
|
-
|
1529
|
-
# header parameters
|
1530
|
-
header_params = opts[:header_params] || {}
|
1531
|
-
# HTTP header 'Accept' (if needed)
|
1532
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1533
|
-
|
1534
|
-
# form parameters
|
1535
|
-
form_params = opts[:form_params] || {}
|
1536
|
-
|
1537
|
-
# http body (model)
|
1538
|
-
post_body = opts[:debug_body]
|
1539
|
-
|
1540
|
-
# return_type
|
1541
|
-
return_type = opts[:debug_return_type] || 'K8sassetsClusterEnrichmentResponse'
|
1542
|
-
|
1543
|
-
# auth_names
|
1544
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1545
|
-
|
1546
|
-
new_options = opts.merge(
|
1547
|
-
:operation => :"KubernetesProtectionApi.read_cluster_enrichment",
|
1548
|
-
:header_params => header_params,
|
1549
|
-
:query_params => query_params,
|
1550
|
-
:form_params => form_params,
|
1551
|
-
:body => post_body,
|
1552
|
-
:auth_names => auth_names,
|
1553
|
-
:return_type => return_type
|
1554
|
-
)
|
1555
|
-
|
1556
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1557
|
-
if @api_client.config.debugging
|
1558
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_cluster_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1559
|
-
end
|
1560
|
-
return data, status_code, headers
|
1561
|
-
end
|
1562
|
-
|
1563
|
-
# Retrieve clusters by date range counts
|
1564
|
-
# @param [Hash] opts the optional parameters
|
1565
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
1566
|
-
def read_clusters_by_date_range_count(opts = {})
|
1567
|
-
data, _status_code, _headers = read_clusters_by_date_range_count_with_http_info(opts)
|
1568
|
-
data
|
1569
|
-
end
|
1570
|
-
|
1571
|
-
# Retrieve clusters by date range counts
|
1572
|
-
# @param [Hash] opts the optional parameters
|
1573
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
1574
|
-
def read_clusters_by_date_range_count_with_http_info(opts = {})
|
1575
|
-
if @api_client.config.debugging
|
1576
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_clusters_by_date_range_count ...'
|
1577
|
-
end
|
1578
|
-
# resource path
|
1579
|
-
local_var_path = '/container-security/aggregates/clusters/count-by-date/v1'
|
1580
|
-
|
1581
|
-
# query parameters
|
1582
|
-
query_params = opts[:query_params] || {}
|
1583
|
-
|
1584
|
-
# header parameters
|
1585
|
-
header_params = opts[:header_params] || {}
|
1586
|
-
# HTTP header 'Accept' (if needed)
|
1587
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1588
|
-
|
1589
|
-
# form parameters
|
1590
|
-
form_params = opts[:form_params] || {}
|
1591
|
-
|
1592
|
-
# http body (model)
|
1593
|
-
post_body = opts[:debug_body]
|
1594
|
-
|
1595
|
-
# return_type
|
1596
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
1597
|
-
|
1598
|
-
# auth_names
|
1599
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1600
|
-
|
1601
|
-
new_options = opts.merge(
|
1602
|
-
:operation => :"KubernetesProtectionApi.read_clusters_by_date_range_count",
|
1603
|
-
:header_params => header_params,
|
1604
|
-
:query_params => query_params,
|
1605
|
-
:form_params => form_params,
|
1606
|
-
:body => post_body,
|
1607
|
-
:auth_names => auth_names,
|
1608
|
-
:return_type => return_type
|
1609
|
-
)
|
1610
|
-
|
1611
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1612
|
-
if @api_client.config.debugging
|
1613
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_clusters_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1614
|
-
end
|
1615
|
-
return data, status_code, headers
|
1616
|
-
end
|
1617
|
-
|
1618
|
-
# Bucket clusters by kubernetes version
|
1619
|
-
# @param [Hash] opts the optional parameters
|
1620
|
-
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1621
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
1622
|
-
def read_clusters_by_kubernetes_version_count(opts = {})
|
1623
|
-
data, _status_code, _headers = read_clusters_by_kubernetes_version_count_with_http_info(opts)
|
1624
|
-
data
|
1625
|
-
end
|
1626
|
-
|
1627
|
-
# Bucket clusters by kubernetes version
|
1628
|
-
# @param [Hash] opts the optional parameters
|
1629
|
-
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1630
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
1631
|
-
def read_clusters_by_kubernetes_version_count_with_http_info(opts = {})
|
1632
|
-
if @api_client.config.debugging
|
1633
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_clusters_by_kubernetes_version_count ...'
|
1634
|
-
end
|
1635
|
-
# resource path
|
1636
|
-
local_var_path = '/container-security/aggregates/clusters/count-by-kubernetes-version/v1'
|
1637
|
-
|
1638
|
-
# query parameters
|
1639
|
-
query_params = opts[:query_params] || {}
|
1640
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1641
|
-
|
1642
|
-
# header parameters
|
1643
|
-
header_params = opts[:header_params] || {}
|
1644
|
-
# HTTP header 'Accept' (if needed)
|
1645
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1646
|
-
|
1647
|
-
# form parameters
|
1648
|
-
form_params = opts[:form_params] || {}
|
1649
|
-
|
1650
|
-
# http body (model)
|
1651
|
-
post_body = opts[:debug_body]
|
1652
|
-
|
1653
|
-
# return_type
|
1654
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
1655
|
-
|
1656
|
-
# auth_names
|
1657
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1658
|
-
|
1659
|
-
new_options = opts.merge(
|
1660
|
-
:operation => :"KubernetesProtectionApi.read_clusters_by_kubernetes_version_count",
|
1661
|
-
:header_params => header_params,
|
1662
|
-
:query_params => query_params,
|
1663
|
-
:form_params => form_params,
|
1664
|
-
:body => post_body,
|
1665
|
-
:auth_names => auth_names,
|
1666
|
-
:return_type => return_type
|
1667
|
-
)
|
1668
|
-
|
1669
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1670
|
-
if @api_client.config.debugging
|
1671
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_clusters_by_kubernetes_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1672
|
-
end
|
1673
|
-
return data, status_code, headers
|
1674
|
-
end
|
1675
|
-
|
1676
|
-
# Bucket clusters by status
|
1677
|
-
# @param [Hash] opts the optional parameters
|
1678
|
-
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1679
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
1680
|
-
def read_clusters_by_status_count(opts = {})
|
1681
|
-
data, _status_code, _headers = read_clusters_by_status_count_with_http_info(opts)
|
1682
|
-
data
|
1683
|
-
end
|
1684
|
-
|
1685
|
-
# Bucket clusters by status
|
1686
|
-
# @param [Hash] opts the optional parameters
|
1687
|
-
# @option opts [String] :filter Retrieve count of Kubernetes clusters that match a query in Falcon Query Language (FQL). Supported filters: access,agent_status,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,cluster_status,container_count,kubernetes_version,last_seen,management_status,node_count,pod_count,tags
|
1688
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
1689
|
-
def read_clusters_by_status_count_with_http_info(opts = {})
|
1690
|
-
if @api_client.config.debugging
|
1691
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_clusters_by_status_count ...'
|
1692
|
-
end
|
1693
|
-
# resource path
|
1694
|
-
local_var_path = '/container-security/aggregates/clusters/count-by-status/v1'
|
1695
|
-
|
1696
|
-
# query parameters
|
1697
|
-
query_params = opts[:query_params] || {}
|
1698
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1699
|
-
|
1700
|
-
# header parameters
|
1701
|
-
header_params = opts[:header_params] || {}
|
1702
|
-
# HTTP header 'Accept' (if needed)
|
1703
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1704
|
-
|
1705
|
-
# form parameters
|
1706
|
-
form_params = opts[:form_params] || {}
|
1707
|
-
|
1708
|
-
# http body (model)
|
1709
|
-
post_body = opts[:debug_body]
|
1710
|
-
|
1711
|
-
# return_type
|
1712
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
1713
|
-
|
1714
|
-
# auth_names
|
1715
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1716
|
-
|
1717
|
-
new_options = opts.merge(
|
1718
|
-
:operation => :"KubernetesProtectionApi.read_clusters_by_status_count",
|
1719
|
-
:header_params => header_params,
|
1720
|
-
:query_params => query_params,
|
1721
|
-
:form_params => form_params,
|
1722
|
-
:body => post_body,
|
1723
|
-
:auth_names => auth_names,
|
1724
|
-
:return_type => return_type
|
1725
|
-
)
|
1726
|
-
|
1727
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1728
|
-
if @api_client.config.debugging
|
1729
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_clusters_by_status_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1730
|
-
end
|
1731
|
-
return data, status_code, headers
|
1732
|
-
end
|
1733
|
-
|
1734
|
-
# Retrieve containers identified by the provided filter criteria
|
1735
|
-
# @param [Hash] opts the optional parameters
|
1736
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1737
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1738
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
1739
|
-
# @option opts [String] :sort Field to sort results by
|
1740
|
-
# @return [ModelsContainerEntityResponse]
|
1741
|
-
def read_container_combined(opts = {})
|
1742
|
-
data, _status_code, _headers = read_container_combined_with_http_info(opts)
|
1743
|
-
data
|
1744
|
-
end
|
1745
|
-
|
1746
|
-
# Retrieve containers identified by the provided filter criteria
|
1747
|
-
# @param [Hash] opts the optional parameters
|
1748
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1749
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1750
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
1751
|
-
# @option opts [String] :sort Field to sort results by
|
1752
|
-
# @return [Array<(ModelsContainerEntityResponse, Integer, Hash)>] ModelsContainerEntityResponse data, response status code and response headers
|
1753
|
-
def read_container_combined_with_http_info(opts = {})
|
1754
|
-
if @api_client.config.debugging
|
1755
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_combined ...'
|
1756
|
-
end
|
1757
|
-
# resource path
|
1758
|
-
local_var_path = '/container-security/combined/containers/v1'
|
1759
|
-
|
1760
|
-
# query parameters
|
1761
|
-
query_params = opts[:query_params] || {}
|
1762
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1763
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1764
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
1765
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1766
|
-
|
1767
|
-
# header parameters
|
1768
|
-
header_params = opts[:header_params] || {}
|
1769
|
-
# HTTP header 'Accept' (if needed)
|
1770
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1771
|
-
|
1772
|
-
# form parameters
|
1773
|
-
form_params = opts[:form_params] || {}
|
1774
|
-
|
1775
|
-
# http body (model)
|
1776
|
-
post_body = opts[:debug_body]
|
1777
|
-
|
1778
|
-
# return_type
|
1779
|
-
return_type = opts[:debug_return_type] || 'ModelsContainerEntityResponse'
|
1780
|
-
|
1781
|
-
# auth_names
|
1782
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1783
|
-
|
1784
|
-
new_options = opts.merge(
|
1785
|
-
:operation => :"KubernetesProtectionApi.read_container_combined",
|
1786
|
-
:header_params => header_params,
|
1787
|
-
:query_params => query_params,
|
1788
|
-
:form_params => form_params,
|
1789
|
-
:body => post_body,
|
1790
|
-
:auth_names => auth_names,
|
1791
|
-
:return_type => return_type
|
1792
|
-
)
|
1793
|
-
|
1794
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1795
|
-
if @api_client.config.debugging
|
1796
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1797
|
-
end
|
1798
|
-
return data, status_code, headers
|
1799
|
-
end
|
1800
|
-
|
1801
|
-
# Retrieve container counts
|
1802
|
-
# @param [Hash] opts the optional parameters
|
1803
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1804
|
-
# @return [CommonCountResponse]
|
1805
|
-
def read_container_count(opts = {})
|
1806
|
-
data, _status_code, _headers = read_container_count_with_http_info(opts)
|
1807
|
-
data
|
1808
|
-
end
|
1809
|
-
|
1810
|
-
# Retrieve container counts
|
1811
|
-
# @param [Hash] opts the optional parameters
|
1812
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1813
|
-
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
1814
|
-
def read_container_count_with_http_info(opts = {})
|
1815
|
-
if @api_client.config.debugging
|
1816
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_count ...'
|
1817
|
-
end
|
1818
|
-
# resource path
|
1819
|
-
local_var_path = '/container-security/aggregates/containers/count/v1'
|
1820
|
-
|
1821
|
-
# query parameters
|
1822
|
-
query_params = opts[:query_params] || {}
|
1823
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1824
|
-
|
1825
|
-
# header parameters
|
1826
|
-
header_params = opts[:header_params] || {}
|
1827
|
-
# HTTP header 'Accept' (if needed)
|
1828
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1829
|
-
|
1830
|
-
# form parameters
|
1831
|
-
form_params = opts[:form_params] || {}
|
1832
|
-
|
1833
|
-
# http body (model)
|
1834
|
-
post_body = opts[:debug_body]
|
1835
|
-
|
1836
|
-
# return_type
|
1837
|
-
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
1838
|
-
|
1839
|
-
# auth_names
|
1840
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1841
|
-
|
1842
|
-
new_options = opts.merge(
|
1843
|
-
:operation => :"KubernetesProtectionApi.read_container_count",
|
1844
|
-
:header_params => header_params,
|
1845
|
-
:query_params => query_params,
|
1846
|
-
:form_params => form_params,
|
1847
|
-
:body => post_body,
|
1848
|
-
:auth_names => auth_names,
|
1849
|
-
:return_type => return_type
|
1850
|
-
)
|
1851
|
-
|
1852
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1853
|
-
if @api_client.config.debugging
|
1854
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1855
|
-
end
|
1856
|
-
return data, status_code, headers
|
1857
|
-
end
|
1858
|
-
|
1859
|
-
# Retrieve top container image registries
|
1860
|
-
# @param [Hash] opts the optional parameters
|
1861
|
-
# @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered
|
1862
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1863
|
-
# @return [ModelsAPIFilterResponse]
|
1864
|
-
def read_container_count_by_registry(opts = {})
|
1865
|
-
data, _status_code, _headers = read_container_count_by_registry_with_http_info(opts)
|
1866
|
-
data
|
1867
|
-
end
|
1868
|
-
|
1869
|
-
# Retrieve top container image registries
|
1870
|
-
# @param [Hash] opts the optional parameters
|
1871
|
-
# @option opts [Boolean] :under_assessment (true/false) whether to return registries under assessment or not under assessment. If not provided all registries are considered
|
1872
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
1873
|
-
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
1874
|
-
def read_container_count_by_registry_with_http_info(opts = {})
|
1875
|
-
if @api_client.config.debugging
|
1876
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_count_by_registry ...'
|
1877
|
-
end
|
1878
|
-
# resource path
|
1879
|
-
local_var_path = '/container-security/aggregates/containers/count-by-registry/v1'
|
1880
|
-
|
1881
|
-
# query parameters
|
1882
|
-
query_params = opts[:query_params] || {}
|
1883
|
-
query_params[:'under_assessment'] = opts[:'under_assessment'] if !opts[:'under_assessment'].nil?
|
1884
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
1885
|
-
|
1886
|
-
# header parameters
|
1887
|
-
header_params = opts[:header_params] || {}
|
1888
|
-
# HTTP header 'Accept' (if needed)
|
1889
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1890
|
-
|
1891
|
-
# form parameters
|
1892
|
-
form_params = opts[:form_params] || {}
|
1893
|
-
|
1894
|
-
# http body (model)
|
1895
|
-
post_body = opts[:debug_body]
|
1896
|
-
|
1897
|
-
# return_type
|
1898
|
-
return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
|
1899
|
-
|
1900
|
-
# auth_names
|
1901
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1902
|
-
|
1903
|
-
new_options = opts.merge(
|
1904
|
-
:operation => :"KubernetesProtectionApi.read_container_count_by_registry",
|
1905
|
-
:header_params => header_params,
|
1906
|
-
:query_params => query_params,
|
1907
|
-
:form_params => form_params,
|
1908
|
-
:body => post_body,
|
1909
|
-
:auth_names => auth_names,
|
1910
|
-
:return_type => return_type
|
1911
|
-
)
|
1912
|
-
|
1913
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1914
|
-
if @api_client.config.debugging
|
1915
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_count_by_registry\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1916
|
-
end
|
1917
|
-
return data, status_code, headers
|
1918
|
-
end
|
1919
|
-
|
1920
|
-
# Retrieve container enrichment data
|
1921
|
-
# @param container_id [Array<String>] One or more container ids for which to retrieve enrichment info
|
1922
|
-
# @param [Hash] opts the optional parameters
|
1923
|
-
# @option opts [String] :filter Supported filters: last_seen
|
1924
|
-
# @return [K8sassetsContainerEnrichmentResponse]
|
1925
|
-
def read_container_enrichment(container_id, opts = {})
|
1926
|
-
data, _status_code, _headers = read_container_enrichment_with_http_info(container_id, opts)
|
1927
|
-
data
|
1928
|
-
end
|
1929
|
-
|
1930
|
-
# Retrieve container enrichment data
|
1931
|
-
# @param container_id [Array<String>] One or more container ids for which to retrieve enrichment info
|
1932
|
-
# @param [Hash] opts the optional parameters
|
1933
|
-
# @option opts [String] :filter Supported filters: last_seen
|
1934
|
-
# @return [Array<(K8sassetsContainerEnrichmentResponse, Integer, Hash)>] K8sassetsContainerEnrichmentResponse data, response status code and response headers
|
1935
|
-
def read_container_enrichment_with_http_info(container_id, opts = {})
|
1936
|
-
if @api_client.config.debugging
|
1937
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_enrichment ...'
|
1938
|
-
end
|
1939
|
-
# verify the required parameter 'container_id' is set
|
1940
|
-
if @api_client.config.client_side_validation && container_id.nil?
|
1941
|
-
fail ArgumentError, "Missing the required parameter 'container_id' when calling KubernetesProtectionApi.read_container_enrichment"
|
1942
|
-
end
|
1943
|
-
# resource path
|
1944
|
-
local_var_path = '/container-security/aggregates/enrichment/containers/entities/v1'
|
1945
|
-
|
1946
|
-
# query parameters
|
1947
|
-
query_params = opts[:query_params] || {}
|
1948
|
-
query_params[:'container_id'] = @api_client.build_collection_param(container_id, :csv)
|
1949
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
1950
|
-
|
1951
|
-
# header parameters
|
1952
|
-
header_params = opts[:header_params] || {}
|
1953
|
-
# HTTP header 'Accept' (if needed)
|
1954
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1955
|
-
|
1956
|
-
# form parameters
|
1957
|
-
form_params = opts[:form_params] || {}
|
1958
|
-
|
1959
|
-
# http body (model)
|
1960
|
-
post_body = opts[:debug_body]
|
1961
|
-
|
1962
|
-
# return_type
|
1963
|
-
return_type = opts[:debug_return_type] || 'K8sassetsContainerEnrichmentResponse'
|
1964
|
-
|
1965
|
-
# auth_names
|
1966
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
1967
|
-
|
1968
|
-
new_options = opts.merge(
|
1969
|
-
:operation => :"KubernetesProtectionApi.read_container_enrichment",
|
1970
|
-
:header_params => header_params,
|
1971
|
-
:query_params => query_params,
|
1972
|
-
:form_params => form_params,
|
1973
|
-
:body => post_body,
|
1974
|
-
:auth_names => auth_names,
|
1975
|
-
:return_type => return_type
|
1976
|
-
)
|
1977
|
-
|
1978
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1979
|
-
if @api_client.config.debugging
|
1980
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1981
|
-
end
|
1982
|
-
return data, status_code, headers
|
1983
|
-
end
|
1984
|
-
|
1985
|
-
# Retrieve count of image assessment detections on running containers over a period of time
|
1986
|
-
# @param [Hash] opts the optional parameters
|
1987
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1988
|
-
# @return [ModelsAPIFilterResponse]
|
1989
|
-
def read_container_image_detections_count_by_date(opts = {})
|
1990
|
-
data, _status_code, _headers = read_container_image_detections_count_by_date_with_http_info(opts)
|
1991
|
-
data
|
1992
|
-
end
|
1993
|
-
|
1994
|
-
# Retrieve count of image assessment detections on running containers over a period of time
|
1995
|
-
# @param [Hash] opts the optional parameters
|
1996
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
1997
|
-
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
1998
|
-
def read_container_image_detections_count_by_date_with_http_info(opts = {})
|
1999
|
-
if @api_client.config.debugging
|
2000
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_image_detections_count_by_date ...'
|
2001
|
-
end
|
2002
|
-
# resource path
|
2003
|
-
local_var_path = '/container-security/aggregates/containers/image-detections-count-by-date/v1'
|
2004
|
-
|
2005
|
-
# query parameters
|
2006
|
-
query_params = opts[:query_params] || {}
|
2007
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2008
|
-
|
2009
|
-
# header parameters
|
2010
|
-
header_params = opts[:header_params] || {}
|
2011
|
-
# HTTP header 'Accept' (if needed)
|
2012
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2013
|
-
|
2014
|
-
# form parameters
|
2015
|
-
form_params = opts[:form_params] || {}
|
2016
|
-
|
2017
|
-
# http body (model)
|
2018
|
-
post_body = opts[:debug_body]
|
2019
|
-
|
2020
|
-
# return_type
|
2021
|
-
return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
|
2022
|
-
|
2023
|
-
# auth_names
|
2024
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2025
|
-
|
2026
|
-
new_options = opts.merge(
|
2027
|
-
:operation => :"KubernetesProtectionApi.read_container_image_detections_count_by_date",
|
2028
|
-
:header_params => header_params,
|
2029
|
-
:query_params => query_params,
|
2030
|
-
:form_params => form_params,
|
2031
|
-
:body => post_body,
|
2032
|
-
:auth_names => auth_names,
|
2033
|
-
:return_type => return_type
|
2034
|
-
)
|
2035
|
-
|
2036
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2037
|
-
if @api_client.config.debugging
|
2038
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_image_detections_count_by_date\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2039
|
-
end
|
2040
|
-
return data, status_code, headers
|
2041
|
-
end
|
2042
|
-
|
2043
|
-
# Bucket container by image-digest
|
2044
|
-
# @param [Hash] opts the optional parameters
|
2045
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2046
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
2047
|
-
def read_container_images_by_most_used(opts = {})
|
2048
|
-
data, _status_code, _headers = read_container_images_by_most_used_with_http_info(opts)
|
2049
|
-
data
|
2050
|
-
end
|
2051
|
-
|
2052
|
-
# Bucket container by image-digest
|
2053
|
-
# @param [Hash] opts the optional parameters
|
2054
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2055
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2056
|
-
def read_container_images_by_most_used_with_http_info(opts = {})
|
2057
|
-
if @api_client.config.debugging
|
2058
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_images_by_most_used ...'
|
2059
|
-
end
|
2060
|
-
# resource path
|
2061
|
-
local_var_path = '/container-security/aggregates/images/most-used/v1'
|
2062
|
-
|
2063
|
-
# query parameters
|
2064
|
-
query_params = opts[:query_params] || {}
|
2065
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2066
|
-
|
2067
|
-
# header parameters
|
2068
|
-
header_params = opts[:header_params] || {}
|
2069
|
-
# HTTP header 'Accept' (if needed)
|
2070
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2071
|
-
|
2072
|
-
# form parameters
|
2073
|
-
form_params = opts[:form_params] || {}
|
2074
|
-
|
2075
|
-
# http body (model)
|
2076
|
-
post_body = opts[:debug_body]
|
2077
|
-
|
2078
|
-
# return_type
|
2079
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
2080
|
-
|
2081
|
-
# auth_names
|
2082
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2083
|
-
|
2084
|
-
new_options = opts.merge(
|
2085
|
-
:operation => :"KubernetesProtectionApi.read_container_images_by_most_used",
|
2086
|
-
:header_params => header_params,
|
2087
|
-
:query_params => query_params,
|
2088
|
-
:form_params => form_params,
|
2089
|
-
:body => post_body,
|
2090
|
-
:auth_names => auth_names,
|
2091
|
-
:return_type => return_type
|
2092
|
-
)
|
2093
|
-
|
2094
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2095
|
-
if @api_client.config.debugging
|
2096
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_images_by_most_used\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2097
|
-
end
|
2098
|
-
return data, status_code, headers
|
2099
|
-
end
|
2100
|
-
|
2101
|
-
# Retrieve count of image states running on containers
|
2102
|
-
# @param [Hash] opts the optional parameters
|
2103
|
-
# @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported filters: cid
|
2104
|
-
# @return [ModelsAPIFilterResponse]
|
2105
|
-
def read_container_images_by_state(opts = {})
|
2106
|
-
data, _status_code, _headers = read_container_images_by_state_with_http_info(opts)
|
2107
|
-
data
|
2108
|
-
end
|
2109
|
-
|
2110
|
-
# Retrieve count of image states running on containers
|
2111
|
-
# @param [Hash] opts the optional parameters
|
2112
|
-
# @option opts [String] :filter Filter using a query in Falcon Query Language (FQL). Supported filters: cid
|
2113
|
-
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
2114
|
-
def read_container_images_by_state_with_http_info(opts = {})
|
2115
|
-
if @api_client.config.debugging
|
2116
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_images_by_state ...'
|
2117
|
-
end
|
2118
|
-
# resource path
|
2119
|
-
local_var_path = '/container-security/aggregates/containers/images-by-state/v1'
|
2120
|
-
|
2121
|
-
# query parameters
|
2122
|
-
query_params = opts[:query_params] || {}
|
2123
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2124
|
-
|
2125
|
-
# header parameters
|
2126
|
-
header_params = opts[:header_params] || {}
|
2127
|
-
# HTTP header 'Accept' (if needed)
|
2128
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2129
|
-
|
2130
|
-
# form parameters
|
2131
|
-
form_params = opts[:form_params] || {}
|
2132
|
-
|
2133
|
-
# http body (model)
|
2134
|
-
post_body = opts[:debug_body]
|
2135
|
-
|
2136
|
-
# return_type
|
2137
|
-
return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
|
2138
|
-
|
2139
|
-
# auth_names
|
2140
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2141
|
-
|
2142
|
-
new_options = opts.merge(
|
2143
|
-
:operation => :"KubernetesProtectionApi.read_container_images_by_state",
|
2144
|
-
:header_params => header_params,
|
2145
|
-
:query_params => query_params,
|
2146
|
-
:form_params => form_params,
|
2147
|
-
:body => post_body,
|
2148
|
-
:auth_names => auth_names,
|
2149
|
-
:return_type => return_type
|
2150
|
-
)
|
2151
|
-
|
2152
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2153
|
-
if @api_client.config.debugging
|
2154
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_images_by_state\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2155
|
-
end
|
2156
|
-
return data, status_code, headers
|
2157
|
-
end
|
2158
|
-
|
2159
|
-
# Retrieve container vulnerabilities by severity counts
|
2160
|
-
# @param [Hash] opts the optional parameters
|
2161
|
-
# @option opts [String] :filter Get vulnerabilities count by severity for container using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2162
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
2163
|
-
def read_container_vulnerabilities_by_severity_count(opts = {})
|
2164
|
-
data, _status_code, _headers = read_container_vulnerabilities_by_severity_count_with_http_info(opts)
|
2165
|
-
data
|
2166
|
-
end
|
2167
|
-
|
2168
|
-
# Retrieve container vulnerabilities by severity counts
|
2169
|
-
# @param [Hash] opts the optional parameters
|
2170
|
-
# @option opts [String] :filter Get vulnerabilities count by severity for container using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2171
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2172
|
-
def read_container_vulnerabilities_by_severity_count_with_http_info(opts = {})
|
2173
|
-
if @api_client.config.debugging
|
2174
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_container_vulnerabilities_by_severity_count ...'
|
2175
|
-
end
|
2176
|
-
# resource path
|
2177
|
-
local_var_path = '/container-security/aggregates/containers/vulnerability-count-by-severity/v1'
|
2178
|
-
|
2179
|
-
# query parameters
|
2180
|
-
query_params = opts[:query_params] || {}
|
2181
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2182
|
-
|
2183
|
-
# header parameters
|
2184
|
-
header_params = opts[:header_params] || {}
|
2185
|
-
# HTTP header 'Accept' (if needed)
|
2186
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2187
|
-
|
2188
|
-
# form parameters
|
2189
|
-
form_params = opts[:form_params] || {}
|
2190
|
-
|
2191
|
-
# http body (model)
|
2192
|
-
post_body = opts[:debug_body]
|
2193
|
-
|
2194
|
-
# return_type
|
2195
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
2196
|
-
|
2197
|
-
# auth_names
|
2198
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2199
|
-
|
2200
|
-
new_options = opts.merge(
|
2201
|
-
:operation => :"KubernetesProtectionApi.read_container_vulnerabilities_by_severity_count",
|
2202
|
-
:header_params => header_params,
|
2203
|
-
:query_params => query_params,
|
2204
|
-
:form_params => form_params,
|
2205
|
-
:body => post_body,
|
2206
|
-
:auth_names => auth_names,
|
2207
|
-
:return_type => return_type
|
2208
|
-
)
|
2209
|
-
|
2210
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2211
|
-
if @api_client.config.debugging
|
2212
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_container_vulnerabilities_by_severity_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2213
|
-
end
|
2214
|
-
return data, status_code, headers
|
2215
|
-
end
|
2216
|
-
|
2217
|
-
# Retrieve containers by date range counts
|
2218
|
-
# @param [Hash] opts the optional parameters
|
2219
|
-
# @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2220
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
2221
|
-
def read_containers_by_date_range_count(opts = {})
|
2222
|
-
data, _status_code, _headers = read_containers_by_date_range_count_with_http_info(opts)
|
2223
|
-
data
|
2224
|
-
end
|
2225
|
-
|
2226
|
-
# Retrieve containers by date range counts
|
2227
|
-
# @param [Hash] opts the optional parameters
|
2228
|
-
# @option opts [String] :filter Get container counts using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2229
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2230
|
-
def read_containers_by_date_range_count_with_http_info(opts = {})
|
2231
|
-
if @api_client.config.debugging
|
2232
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_containers_by_date_range_count ...'
|
2233
|
-
end
|
2234
|
-
# resource path
|
2235
|
-
local_var_path = '/container-security/aggregates/containers/count-by-date/v1'
|
2236
|
-
|
2237
|
-
# query parameters
|
2238
|
-
query_params = opts[:query_params] || {}
|
2239
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2240
|
-
|
2241
|
-
# header parameters
|
2242
|
-
header_params = opts[:header_params] || {}
|
2243
|
-
# HTTP header 'Accept' (if needed)
|
2244
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2245
|
-
|
2246
|
-
# form parameters
|
2247
|
-
form_params = opts[:form_params] || {}
|
2248
|
-
|
2249
|
-
# http body (model)
|
2250
|
-
post_body = opts[:debug_body]
|
2251
|
-
|
2252
|
-
# return_type
|
2253
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
2254
|
-
|
2255
|
-
# auth_names
|
2256
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2257
|
-
|
2258
|
-
new_options = opts.merge(
|
2259
|
-
:operation => :"KubernetesProtectionApi.read_containers_by_date_range_count",
|
2260
|
-
:header_params => header_params,
|
2261
|
-
:query_params => query_params,
|
2262
|
-
:form_params => form_params,
|
2263
|
-
:body => post_body,
|
2264
|
-
:auth_names => auth_names,
|
2265
|
-
:return_type => return_type
|
2266
|
-
)
|
2267
|
-
|
2268
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2269
|
-
if @api_client.config.debugging
|
2270
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_containers_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2271
|
-
end
|
2272
|
-
return data, status_code, headers
|
2273
|
-
end
|
2274
|
-
|
2275
|
-
# Bucket containers by agent type and calculate sensor coverage
|
2276
|
-
# @param [Hash] opts the optional parameters
|
2277
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2278
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
2279
|
-
def read_containers_sensor_coverage(opts = {})
|
2280
|
-
data, _status_code, _headers = read_containers_sensor_coverage_with_http_info(opts)
|
2281
|
-
data
|
2282
|
-
end
|
2283
|
-
|
2284
|
-
# Bucket containers by agent type and calculate sensor coverage
|
2285
|
-
# @param [Hash] opts the optional parameters
|
2286
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2287
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2288
|
-
def read_containers_sensor_coverage_with_http_info(opts = {})
|
2289
|
-
if @api_client.config.debugging
|
2290
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_containers_sensor_coverage ...'
|
2291
|
-
end
|
2292
|
-
# resource path
|
2293
|
-
local_var_path = '/container-security/aggregates/containers/sensor-coverage/v1'
|
2294
|
-
|
2295
|
-
# query parameters
|
2296
|
-
query_params = opts[:query_params] || {}
|
2297
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2298
|
-
|
2299
|
-
# header parameters
|
2300
|
-
header_params = opts[:header_params] || {}
|
2301
|
-
# HTTP header 'Accept' (if needed)
|
2302
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2303
|
-
|
2304
|
-
# form parameters
|
2305
|
-
form_params = opts[:form_params] || {}
|
2306
|
-
|
2307
|
-
# http body (model)
|
2308
|
-
post_body = opts[:debug_body]
|
2309
|
-
|
2310
|
-
# return_type
|
2311
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
2312
|
-
|
2313
|
-
# auth_names
|
2314
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2315
|
-
|
2316
|
-
new_options = opts.merge(
|
2317
|
-
:operation => :"KubernetesProtectionApi.read_containers_sensor_coverage",
|
2318
|
-
:header_params => header_params,
|
2319
|
-
:query_params => query_params,
|
2320
|
-
:form_params => form_params,
|
2321
|
-
:body => post_body,
|
2322
|
-
:auth_names => auth_names,
|
2323
|
-
:return_type => return_type
|
2324
|
-
)
|
2325
|
-
|
2326
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2327
|
-
if @api_client.config.debugging
|
2328
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_containers_sensor_coverage\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2329
|
-
end
|
2330
|
-
return data, status_code, headers
|
2331
|
-
end
|
2332
|
-
|
2333
|
-
# Retrieve kubernetes deployments identified by the provided filter criteria
|
2334
|
-
# @param [Hash] opts the optional parameters
|
2335
|
-
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
2336
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2337
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
2338
|
-
# @option opts [String] :sort Field to sort results by
|
2339
|
-
# @return [ModelsDeploymentEntityResponse]
|
2340
|
-
def read_deployment_combined(opts = {})
|
2341
|
-
data, _status_code, _headers = read_deployment_combined_with_http_info(opts)
|
2342
|
-
data
|
2343
|
-
end
|
2344
|
-
|
2345
|
-
# Retrieve kubernetes deployments identified by the provided filter criteria
|
2346
|
-
# @param [Hash] opts the optional parameters
|
2347
|
-
# @option opts [String] :filter Search Kubernetes deployments using a query in Falcon Query Language (FQL). Supported filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
2348
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2349
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
2350
|
-
# @option opts [String] :sort Field to sort results by
|
2351
|
-
# @return [Array<(ModelsDeploymentEntityResponse, Integer, Hash)>] ModelsDeploymentEntityResponse data, response status code and response headers
|
2352
|
-
def read_deployment_combined_with_http_info(opts = {})
|
2353
|
-
if @api_client.config.debugging
|
2354
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_deployment_combined ...'
|
2355
|
-
end
|
2356
|
-
# resource path
|
2357
|
-
local_var_path = '/container-security/combined/deployments/v1'
|
2358
|
-
|
2359
|
-
# query parameters
|
2360
|
-
query_params = opts[:query_params] || {}
|
2361
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2362
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2363
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2364
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2365
|
-
|
2366
|
-
# header parameters
|
2367
|
-
header_params = opts[:header_params] || {}
|
2368
|
-
# HTTP header 'Accept' (if needed)
|
2369
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2370
|
-
|
2371
|
-
# form parameters
|
2372
|
-
form_params = opts[:form_params] || {}
|
2373
|
-
|
2374
|
-
# http body (model)
|
2375
|
-
post_body = opts[:debug_body]
|
2376
|
-
|
2377
|
-
# return_type
|
2378
|
-
return_type = opts[:debug_return_type] || 'ModelsDeploymentEntityResponse'
|
2379
|
-
|
2380
|
-
# auth_names
|
2381
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2382
|
-
|
2383
|
-
new_options = opts.merge(
|
2384
|
-
:operation => :"KubernetesProtectionApi.read_deployment_combined",
|
2385
|
-
:header_params => header_params,
|
2386
|
-
:query_params => query_params,
|
2387
|
-
:form_params => form_params,
|
2388
|
-
:body => post_body,
|
2389
|
-
:auth_names => auth_names,
|
2390
|
-
:return_type => return_type
|
2391
|
-
)
|
2392
|
-
|
2393
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2394
|
-
if @api_client.config.debugging
|
2395
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_deployment_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2396
|
-
end
|
2397
|
-
return data, status_code, headers
|
2398
|
-
end
|
2399
|
-
|
2400
|
-
# Retrieve deployment counts
|
2401
|
-
# @param [Hash] opts the optional parameters
|
2402
|
-
# @option opts [String] :filter Retrieve count of Kubernetes deployments that match a query in Falcon Query Language (FQL). Supported filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
2403
|
-
# @return [CommonCountResponse]
|
2404
|
-
def read_deployment_count(opts = {})
|
2405
|
-
data, _status_code, _headers = read_deployment_count_with_http_info(opts)
|
2406
|
-
data
|
2407
|
-
end
|
2408
|
-
|
2409
|
-
# Retrieve deployment counts
|
2410
|
-
# @param [Hash] opts the optional parameters
|
2411
|
-
# @option opts [String] :filter Retrieve count of Kubernetes deployments that match a query in Falcon Query Language (FQL). Supported filters: annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,deployment_id,deployment_name,first_seen,last_seen,namespace,pod_count
|
2412
|
-
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
2413
|
-
def read_deployment_count_with_http_info(opts = {})
|
2414
|
-
if @api_client.config.debugging
|
2415
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_deployment_count ...'
|
2416
|
-
end
|
2417
|
-
# resource path
|
2418
|
-
local_var_path = '/container-security/aggregates/deployments/count/v1'
|
2419
|
-
|
2420
|
-
# query parameters
|
2421
|
-
query_params = opts[:query_params] || {}
|
2422
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2423
|
-
|
2424
|
-
# header parameters
|
2425
|
-
header_params = opts[:header_params] || {}
|
2426
|
-
# HTTP header 'Accept' (if needed)
|
2427
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2428
|
-
|
2429
|
-
# form parameters
|
2430
|
-
form_params = opts[:form_params] || {}
|
2431
|
-
|
2432
|
-
# http body (model)
|
2433
|
-
post_body = opts[:debug_body]
|
2434
|
-
|
2435
|
-
# return_type
|
2436
|
-
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
2437
|
-
|
2438
|
-
# auth_names
|
2439
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2440
|
-
|
2441
|
-
new_options = opts.merge(
|
2442
|
-
:operation => :"KubernetesProtectionApi.read_deployment_count",
|
2443
|
-
:header_params => header_params,
|
2444
|
-
:query_params => query_params,
|
2445
|
-
:form_params => form_params,
|
2446
|
-
:body => post_body,
|
2447
|
-
:auth_names => auth_names,
|
2448
|
-
:return_type => return_type
|
2449
|
-
)
|
2450
|
-
|
2451
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2452
|
-
if @api_client.config.debugging
|
2453
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_deployment_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2454
|
-
end
|
2455
|
-
return data, status_code, headers
|
2456
|
-
end
|
2457
|
-
|
2458
|
-
# Retrieve deployment enrichment data
|
2459
|
-
# @param deployment_id [Array<String>] One or more deployment ids for which to retrieve enrichment info
|
2460
|
-
# @param [Hash] opts the optional parameters
|
2461
|
-
# @option opts [String] :filter Supported filters: last_seen
|
2462
|
-
# @return [K8sassetsDeploymentEnrichmentResponse]
|
2463
|
-
def read_deployment_enrichment(deployment_id, opts = {})
|
2464
|
-
data, _status_code, _headers = read_deployment_enrichment_with_http_info(deployment_id, opts)
|
2465
|
-
data
|
2466
|
-
end
|
2467
|
-
|
2468
|
-
# Retrieve deployment enrichment data
|
2469
|
-
# @param deployment_id [Array<String>] One or more deployment ids for which to retrieve enrichment info
|
2470
|
-
# @param [Hash] opts the optional parameters
|
2471
|
-
# @option opts [String] :filter Supported filters: last_seen
|
2472
|
-
# @return [Array<(K8sassetsDeploymentEnrichmentResponse, Integer, Hash)>] K8sassetsDeploymentEnrichmentResponse data, response status code and response headers
|
2473
|
-
def read_deployment_enrichment_with_http_info(deployment_id, opts = {})
|
2474
|
-
if @api_client.config.debugging
|
2475
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_deployment_enrichment ...'
|
2476
|
-
end
|
2477
|
-
# verify the required parameter 'deployment_id' is set
|
2478
|
-
if @api_client.config.client_side_validation && deployment_id.nil?
|
2479
|
-
fail ArgumentError, "Missing the required parameter 'deployment_id' when calling KubernetesProtectionApi.read_deployment_enrichment"
|
2480
|
-
end
|
2481
|
-
# resource path
|
2482
|
-
local_var_path = '/container-security/aggregates/enrichment/deployments/entities/v1'
|
2483
|
-
|
2484
|
-
# query parameters
|
2485
|
-
query_params = opts[:query_params] || {}
|
2486
|
-
query_params[:'deployment_id'] = @api_client.build_collection_param(deployment_id, :csv)
|
2487
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2488
|
-
|
2489
|
-
# header parameters
|
2490
|
-
header_params = opts[:header_params] || {}
|
2491
|
-
# HTTP header 'Accept' (if needed)
|
2492
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2493
|
-
|
2494
|
-
# form parameters
|
2495
|
-
form_params = opts[:form_params] || {}
|
2496
|
-
|
2497
|
-
# http body (model)
|
2498
|
-
post_body = opts[:debug_body]
|
2499
|
-
|
2500
|
-
# return_type
|
2501
|
-
return_type = opts[:debug_return_type] || 'K8sassetsDeploymentEnrichmentResponse'
|
2502
|
-
|
2503
|
-
# auth_names
|
2504
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2505
|
-
|
2506
|
-
new_options = opts.merge(
|
2507
|
-
:operation => :"KubernetesProtectionApi.read_deployment_enrichment",
|
2508
|
-
:header_params => header_params,
|
2509
|
-
:query_params => query_params,
|
2510
|
-
:form_params => form_params,
|
2511
|
-
:body => post_body,
|
2512
|
-
:auth_names => auth_names,
|
2513
|
-
:return_type => return_type
|
2514
|
-
)
|
2515
|
-
|
2516
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2517
|
-
if @api_client.config.debugging
|
2518
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_deployment_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2519
|
-
end
|
2520
|
-
return data, status_code, headers
|
2521
|
-
end
|
2522
|
-
|
2523
|
-
# Retrieve deployments by date range counts
|
2524
|
-
# @param [Hash] opts the optional parameters
|
2525
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
2526
|
-
def read_deployments_by_date_range_count(opts = {})
|
2527
|
-
data, _status_code, _headers = read_deployments_by_date_range_count_with_http_info(opts)
|
2528
|
-
data
|
2529
|
-
end
|
2530
|
-
|
2531
|
-
# Retrieve deployments by date range counts
|
2532
|
-
# @param [Hash] opts the optional parameters
|
2533
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
2534
|
-
def read_deployments_by_date_range_count_with_http_info(opts = {})
|
2535
|
-
if @api_client.config.debugging
|
2536
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_deployments_by_date_range_count ...'
|
2537
|
-
end
|
2538
|
-
# resource path
|
2539
|
-
local_var_path = '/container-security/aggregates/deployments/count-by-date/v1'
|
2540
|
-
|
2541
|
-
# query parameters
|
2542
|
-
query_params = opts[:query_params] || {}
|
2543
|
-
|
2544
|
-
# header parameters
|
2545
|
-
header_params = opts[:header_params] || {}
|
2546
|
-
# HTTP header 'Accept' (if needed)
|
2547
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2548
|
-
|
2549
|
-
# form parameters
|
2550
|
-
form_params = opts[:form_params] || {}
|
2551
|
-
|
2552
|
-
# http body (model)
|
2553
|
-
post_body = opts[:debug_body]
|
2554
|
-
|
2555
|
-
# return_type
|
2556
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
2557
|
-
|
2558
|
-
# auth_names
|
2559
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2560
|
-
|
2561
|
-
new_options = opts.merge(
|
2562
|
-
:operation => :"KubernetesProtectionApi.read_deployments_by_date_range_count",
|
2563
|
-
:header_params => header_params,
|
2564
|
-
:query_params => query_params,
|
2565
|
-
:form_params => form_params,
|
2566
|
-
:body => post_body,
|
2567
|
-
:auth_names => auth_names,
|
2568
|
-
:return_type => return_type
|
2569
|
-
)
|
2570
|
-
|
2571
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2572
|
-
if @api_client.config.debugging
|
2573
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_deployments_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2574
|
-
end
|
2575
|
-
return data, status_code, headers
|
2576
|
-
end
|
2577
|
-
|
2578
|
-
# Retrieve count of distinct images running on containers
|
2579
|
-
# @param [Hash] opts the optional parameters
|
2580
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2581
|
-
# @return [ModelsAPIFilterResponse]
|
2582
|
-
def read_distinct_container_image_count(opts = {})
|
2583
|
-
data, _status_code, _headers = read_distinct_container_image_count_with_http_info(opts)
|
2584
|
-
data
|
2585
|
-
end
|
2586
|
-
|
2587
|
-
# Retrieve count of distinct images running on containers
|
2588
|
-
# @param [Hash] opts the optional parameters
|
2589
|
-
# @option opts [String] :filter Search Kubernetes containers using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
2590
|
-
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
2591
|
-
def read_distinct_container_image_count_with_http_info(opts = {})
|
2592
|
-
if @api_client.config.debugging
|
2593
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_distinct_container_image_count ...'
|
2594
|
-
end
|
2595
|
-
# resource path
|
2596
|
-
local_var_path = '/container-security/aggregates/images/count-by-distinct/v1'
|
2597
|
-
|
2598
|
-
# query parameters
|
2599
|
-
query_params = opts[:query_params] || {}
|
2600
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2601
|
-
|
2602
|
-
# header parameters
|
2603
|
-
header_params = opts[:header_params] || {}
|
2604
|
-
# HTTP header 'Accept' (if needed)
|
2605
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2606
|
-
|
2607
|
-
# form parameters
|
2608
|
-
form_params = opts[:form_params] || {}
|
2609
|
-
|
2610
|
-
# http body (model)
|
2611
|
-
post_body = opts[:debug_body]
|
2612
|
-
|
2613
|
-
# return_type
|
2614
|
-
return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
|
2615
|
-
|
2616
|
-
# auth_names
|
2617
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2618
|
-
|
2619
|
-
new_options = opts.merge(
|
2620
|
-
:operation => :"KubernetesProtectionApi.read_distinct_container_image_count",
|
2621
|
-
:header_params => header_params,
|
2622
|
-
:query_params => query_params,
|
2623
|
-
:form_params => form_params,
|
2624
|
-
:body => post_body,
|
2625
|
-
:auth_names => auth_names,
|
2626
|
-
:return_type => return_type
|
2627
|
-
)
|
2628
|
-
|
2629
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2630
|
-
if @api_client.config.debugging
|
2631
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_distinct_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2632
|
-
end
|
2633
|
-
return data, status_code, headers
|
2634
|
-
end
|
2635
|
-
|
2636
|
-
# Returns the count of Kubernetes IOMs by the date. by default it's for 7 days.
|
2637
|
-
# @param [Hash] opts the optional parameters
|
2638
|
-
# @option opts [String] :filter Filter images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
2639
|
-
# @return [K8siomsKubernetesIOMFieldValue]
|
2640
|
-
def read_kubernetes_iom_by_date_range(opts = {})
|
2641
|
-
data, _status_code, _headers = read_kubernetes_iom_by_date_range_with_http_info(opts)
|
2642
|
-
data
|
2643
|
-
end
|
2644
|
-
|
2645
|
-
# Returns the count of Kubernetes IOMs by the date. by default it's for 7 days.
|
2646
|
-
# @param [Hash] opts the optional parameters
|
2647
|
-
# @option opts [String] :filter Filter images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
2648
|
-
# @return [Array<(K8siomsKubernetesIOMFieldValue, Integer, Hash)>] K8siomsKubernetesIOMFieldValue data, response status code and response headers
|
2649
|
-
def read_kubernetes_iom_by_date_range_with_http_info(opts = {})
|
2650
|
-
if @api_client.config.debugging
|
2651
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_kubernetes_iom_by_date_range ...'
|
2652
|
-
end
|
2653
|
-
# resource path
|
2654
|
-
local_var_path = '/container-security/aggregates/kubernetes-ioms/count-by-date/v1'
|
2655
|
-
|
2656
|
-
# query parameters
|
2657
|
-
query_params = opts[:query_params] || {}
|
2658
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2659
|
-
|
2660
|
-
# header parameters
|
2661
|
-
header_params = opts[:header_params] || {}
|
2662
|
-
# HTTP header 'Accept' (if needed)
|
2663
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2664
|
-
|
2665
|
-
# form parameters
|
2666
|
-
form_params = opts[:form_params] || {}
|
2667
|
-
|
2668
|
-
# http body (model)
|
2669
|
-
post_body = opts[:debug_body]
|
2670
|
-
|
2671
|
-
# return_type
|
2672
|
-
return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMFieldValue'
|
2673
|
-
|
2674
|
-
# auth_names
|
2675
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2676
|
-
|
2677
|
-
new_options = opts.merge(
|
2678
|
-
:operation => :"KubernetesProtectionApi.read_kubernetes_iom_by_date_range",
|
2679
|
-
:header_params => header_params,
|
2680
|
-
:query_params => query_params,
|
2681
|
-
:form_params => form_params,
|
2682
|
-
:body => post_body,
|
2683
|
-
:auth_names => auth_names,
|
2684
|
-
:return_type => return_type
|
2685
|
-
)
|
2686
|
-
|
2687
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2688
|
-
if @api_client.config.debugging
|
2689
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_kubernetes_iom_by_date_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2690
|
-
end
|
2691
|
-
return data, status_code, headers
|
2692
|
-
end
|
2693
|
-
|
2694
|
-
# Returns the total count of Kubernetes IOMs over the past seven days
|
2695
|
-
# @param [Hash] opts the optional parameters
|
2696
|
-
# @option opts [String] :filter Filter images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
2697
|
-
# @return [K8siomsKubernetesIOMCountValue]
|
2698
|
-
def read_kubernetes_iom_count(opts = {})
|
2699
|
-
data, _status_code, _headers = read_kubernetes_iom_count_with_http_info(opts)
|
2700
|
-
data
|
2701
|
-
end
|
2702
|
-
|
2703
|
-
# Returns the total count of Kubernetes IOMs over the past seven days
|
2704
|
-
# @param [Hash] opts the optional parameters
|
2705
|
-
# @option opts [String] :filter Filter images using a query in Falcon Query Language (FQL). Supported filters: cid,created_timestamp,detect_timestamp,severity
|
2706
|
-
# @return [Array<(K8siomsKubernetesIOMCountValue, Integer, Hash)>] K8siomsKubernetesIOMCountValue data, response status code and response headers
|
2707
|
-
def read_kubernetes_iom_count_with_http_info(opts = {})
|
2708
|
-
if @api_client.config.debugging
|
2709
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_kubernetes_iom_count ...'
|
2710
|
-
end
|
2711
|
-
# resource path
|
2712
|
-
local_var_path = '/container-security/aggregates/kubernetes-ioms/count/v1'
|
2713
|
-
|
2714
|
-
# query parameters
|
2715
|
-
query_params = opts[:query_params] || {}
|
2716
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2717
|
-
|
2718
|
-
# header parameters
|
2719
|
-
header_params = opts[:header_params] || {}
|
2720
|
-
# HTTP header 'Accept' (if needed)
|
2721
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2722
|
-
|
2723
|
-
# form parameters
|
2724
|
-
form_params = opts[:form_params] || {}
|
2725
|
-
|
2726
|
-
# http body (model)
|
2727
|
-
post_body = opts[:debug_body]
|
2728
|
-
|
2729
|
-
# return_type
|
2730
|
-
return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMCountValue'
|
2731
|
-
|
2732
|
-
# auth_names
|
2733
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2734
|
-
|
2735
|
-
new_options = opts.merge(
|
2736
|
-
:operation => :"KubernetesProtectionApi.read_kubernetes_iom_count",
|
2737
|
-
:header_params => header_params,
|
2738
|
-
:query_params => query_params,
|
2739
|
-
:form_params => form_params,
|
2740
|
-
:body => post_body,
|
2741
|
-
:auth_names => auth_names,
|
2742
|
-
:return_type => return_type
|
2743
|
-
)
|
2744
|
-
|
2745
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2746
|
-
if @api_client.config.debugging
|
2747
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_kubernetes_iom_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2748
|
-
end
|
2749
|
-
return data, status_code, headers
|
2750
|
-
end
|
2751
|
-
|
2752
|
-
# Retrieve Kubernetes IOM entities identified by the provided IDs
|
2753
|
-
# @param [Hash] opts the optional parameters
|
2754
|
-
# @option opts [Array<String>] :ids Search Kubernetes IOMs by ids - The maximum amount is 100 IDs
|
2755
|
-
# @return [K8siomsKubernetesIOMEntityResponse]
|
2756
|
-
def read_kubernetes_iom_entities(opts = {})
|
2757
|
-
data, _status_code, _headers = read_kubernetes_iom_entities_with_http_info(opts)
|
2758
|
-
data
|
2759
|
-
end
|
2760
|
-
|
2761
|
-
# Retrieve Kubernetes IOM entities identified by the provided IDs
|
2762
|
-
# @param [Hash] opts the optional parameters
|
2763
|
-
# @option opts [Array<String>] :ids Search Kubernetes IOMs by ids - The maximum amount is 100 IDs
|
2764
|
-
# @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
|
2765
|
-
def read_kubernetes_iom_entities_with_http_info(opts = {})
|
2766
|
-
if @api_client.config.debugging
|
2767
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_kubernetes_iom_entities ...'
|
2768
|
-
end
|
2769
|
-
# resource path
|
2770
|
-
local_var_path = '/container-security/entities/kubernetes-ioms/v1'
|
2771
|
-
|
2772
|
-
# query parameters
|
2773
|
-
query_params = opts[:query_params] || {}
|
2774
|
-
query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :csv) if !opts[:'ids'].nil?
|
2775
|
-
|
2776
|
-
# header parameters
|
2777
|
-
header_params = opts[:header_params] || {}
|
2778
|
-
# HTTP header 'Accept' (if needed)
|
2779
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2780
|
-
|
2781
|
-
# form parameters
|
2782
|
-
form_params = opts[:form_params] || {}
|
2783
|
-
|
2784
|
-
# http body (model)
|
2785
|
-
post_body = opts[:debug_body]
|
2786
|
-
|
2787
|
-
# return_type
|
2788
|
-
return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMEntityResponse'
|
2789
|
-
|
2790
|
-
# auth_names
|
2791
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2792
|
-
|
2793
|
-
new_options = opts.merge(
|
2794
|
-
:operation => :"KubernetesProtectionApi.read_kubernetes_iom_entities",
|
2795
|
-
:header_params => header_params,
|
2796
|
-
:query_params => query_params,
|
2797
|
-
:form_params => form_params,
|
2798
|
-
:body => post_body,
|
2799
|
-
:auth_names => auth_names,
|
2800
|
-
:return_type => return_type
|
2801
|
-
)
|
2802
|
-
|
2803
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2804
|
-
if @api_client.config.debugging
|
2805
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2806
|
-
end
|
2807
|
-
return data, status_code, headers
|
2808
|
-
end
|
2809
|
-
|
2810
|
-
# Retrieve kubernetes nodes identified by the provided filter criteria
|
2811
|
-
# @param [Hash] opts the optional parameters
|
2812
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2813
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2814
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
2815
|
-
# @option opts [String] :sort Field to sort results by
|
2816
|
-
# @return [ModelsNodeEntityResponse]
|
2817
|
-
def read_node_combined(opts = {})
|
2818
|
-
data, _status_code, _headers = read_node_combined_with_http_info(opts)
|
2819
|
-
data
|
2820
|
-
end
|
2821
|
-
|
2822
|
-
# Retrieve kubernetes nodes identified by the provided filter criteria
|
2823
|
-
# @param [Hash] opts the optional parameters
|
2824
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2825
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
2826
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
2827
|
-
# @option opts [String] :sort Field to sort results by
|
2828
|
-
# @return [Array<(ModelsNodeEntityResponse, Integer, Hash)>] ModelsNodeEntityResponse data, response status code and response headers
|
2829
|
-
def read_node_combined_with_http_info(opts = {})
|
2830
|
-
if @api_client.config.debugging
|
2831
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_node_combined ...'
|
2832
|
-
end
|
2833
|
-
# resource path
|
2834
|
-
local_var_path = '/container-security/combined/nodes/v1'
|
2835
|
-
|
2836
|
-
# query parameters
|
2837
|
-
query_params = opts[:query_params] || {}
|
2838
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2839
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
2840
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
2841
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
2842
|
-
|
2843
|
-
# header parameters
|
2844
|
-
header_params = opts[:header_params] || {}
|
2845
|
-
# HTTP header 'Accept' (if needed)
|
2846
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2847
|
-
|
2848
|
-
# form parameters
|
2849
|
-
form_params = opts[:form_params] || {}
|
2850
|
-
|
2851
|
-
# http body (model)
|
2852
|
-
post_body = opts[:debug_body]
|
2853
|
-
|
2854
|
-
# return_type
|
2855
|
-
return_type = opts[:debug_return_type] || 'ModelsNodeEntityResponse'
|
2856
|
-
|
2857
|
-
# auth_names
|
2858
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2859
|
-
|
2860
|
-
new_options = opts.merge(
|
2861
|
-
:operation => :"KubernetesProtectionApi.read_node_combined",
|
2862
|
-
:header_params => header_params,
|
2863
|
-
:query_params => query_params,
|
2864
|
-
:form_params => form_params,
|
2865
|
-
:body => post_body,
|
2866
|
-
:auth_names => auth_names,
|
2867
|
-
:return_type => return_type
|
2868
|
-
)
|
2869
|
-
|
2870
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2871
|
-
if @api_client.config.debugging
|
2872
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_node_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2873
|
-
end
|
2874
|
-
return data, status_code, headers
|
2875
|
-
end
|
2876
|
-
|
2877
|
-
# Retrieve node counts
|
2878
|
-
# @param [Hash] opts the optional parameters
|
2879
|
-
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2880
|
-
# @return [CommonCountResponse]
|
2881
|
-
def read_node_count(opts = {})
|
2882
|
-
data, _status_code, _headers = read_node_count_with_http_info(opts)
|
2883
|
-
data
|
2884
|
-
end
|
2885
|
-
|
2886
|
-
# Retrieve node counts
|
2887
|
-
# @param [Hash] opts the optional parameters
|
2888
|
-
# @option opts [String] :filter Retrieve count of Kubernetes nodes that match a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
2889
|
-
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
2890
|
-
def read_node_count_with_http_info(opts = {})
|
2891
|
-
if @api_client.config.debugging
|
2892
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_node_count ...'
|
2893
|
-
end
|
2894
|
-
# resource path
|
2895
|
-
local_var_path = '/container-security/aggregates/nodes/count/v1'
|
2896
|
-
|
2897
|
-
# query parameters
|
2898
|
-
query_params = opts[:query_params] || {}
|
2899
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2900
|
-
|
2901
|
-
# header parameters
|
2902
|
-
header_params = opts[:header_params] || {}
|
2903
|
-
# HTTP header 'Accept' (if needed)
|
2904
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2905
|
-
|
2906
|
-
# form parameters
|
2907
|
-
form_params = opts[:form_params] || {}
|
2908
|
-
|
2909
|
-
# http body (model)
|
2910
|
-
post_body = opts[:debug_body]
|
2911
|
-
|
2912
|
-
# return_type
|
2913
|
-
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
2914
|
-
|
2915
|
-
# auth_names
|
2916
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2917
|
-
|
2918
|
-
new_options = opts.merge(
|
2919
|
-
:operation => :"KubernetesProtectionApi.read_node_count",
|
2920
|
-
:header_params => header_params,
|
2921
|
-
:query_params => query_params,
|
2922
|
-
:form_params => form_params,
|
2923
|
-
:body => post_body,
|
2924
|
-
:auth_names => auth_names,
|
2925
|
-
:return_type => return_type
|
2926
|
-
)
|
2927
|
-
|
2928
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2929
|
-
if @api_client.config.debugging
|
2930
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_node_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2931
|
-
end
|
2932
|
-
return data, status_code, headers
|
2933
|
-
end
|
2934
|
-
|
2935
|
-
# Retrieve node enrichment data
|
2936
|
-
# @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
|
2937
|
-
# @param [Hash] opts the optional parameters
|
2938
|
-
# @option opts [String] :filter Supported filters: last_seen
|
2939
|
-
# @return [K8sassetsNodeEnrichmentResponse]
|
2940
|
-
def read_node_enrichment(node_name, opts = {})
|
2941
|
-
data, _status_code, _headers = read_node_enrichment_with_http_info(node_name, opts)
|
2942
|
-
data
|
2943
|
-
end
|
2944
|
-
|
2945
|
-
# Retrieve node enrichment data
|
2946
|
-
# @param node_name [Array<String>] One or more node names for which to retrieve enrichment info
|
2947
|
-
# @param [Hash] opts the optional parameters
|
2948
|
-
# @option opts [String] :filter Supported filters: last_seen
|
2949
|
-
# @return [Array<(K8sassetsNodeEnrichmentResponse, Integer, Hash)>] K8sassetsNodeEnrichmentResponse data, response status code and response headers
|
2950
|
-
def read_node_enrichment_with_http_info(node_name, opts = {})
|
2951
|
-
if @api_client.config.debugging
|
2952
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_node_enrichment ...'
|
2953
|
-
end
|
2954
|
-
# verify the required parameter 'node_name' is set
|
2955
|
-
if @api_client.config.client_side_validation && node_name.nil?
|
2956
|
-
fail ArgumentError, "Missing the required parameter 'node_name' when calling KubernetesProtectionApi.read_node_enrichment"
|
2957
|
-
end
|
2958
|
-
# resource path
|
2959
|
-
local_var_path = '/container-security/aggregates/enrichment/nodes/entities/v1'
|
2960
|
-
|
2961
|
-
# query parameters
|
2962
|
-
query_params = opts[:query_params] || {}
|
2963
|
-
query_params[:'node_name'] = @api_client.build_collection_param(node_name, :csv)
|
2964
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
2965
|
-
|
2966
|
-
# header parameters
|
2967
|
-
header_params = opts[:header_params] || {}
|
2968
|
-
# HTTP header 'Accept' (if needed)
|
2969
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2970
|
-
|
2971
|
-
# form parameters
|
2972
|
-
form_params = opts[:form_params] || {}
|
2973
|
-
|
2974
|
-
# http body (model)
|
2975
|
-
post_body = opts[:debug_body]
|
2976
|
-
|
2977
|
-
# return_type
|
2978
|
-
return_type = opts[:debug_return_type] || 'K8sassetsNodeEnrichmentResponse'
|
2979
|
-
|
2980
|
-
# auth_names
|
2981
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
2982
|
-
|
2983
|
-
new_options = opts.merge(
|
2984
|
-
:operation => :"KubernetesProtectionApi.read_node_enrichment",
|
2985
|
-
:header_params => header_params,
|
2986
|
-
:query_params => query_params,
|
2987
|
-
:form_params => form_params,
|
2988
|
-
:body => post_body,
|
2989
|
-
:auth_names => auth_names,
|
2990
|
-
:return_type => return_type
|
2991
|
-
)
|
2992
|
-
|
2993
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
2994
|
-
if @api_client.config.debugging
|
2995
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_node_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2996
|
-
end
|
2997
|
-
return data, status_code, headers
|
2998
|
-
end
|
2999
|
-
|
3000
|
-
# Bucket nodes by cloud providers
|
3001
|
-
# @param [Hash] opts the optional parameters
|
3002
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3003
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
3004
|
-
def read_nodes_by_cloud_count(opts = {})
|
3005
|
-
data, _status_code, _headers = read_nodes_by_cloud_count_with_http_info(opts)
|
3006
|
-
data
|
3007
|
-
end
|
3008
|
-
|
3009
|
-
# Bucket nodes by cloud providers
|
3010
|
-
# @param [Hash] opts the optional parameters
|
3011
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3012
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3013
|
-
def read_nodes_by_cloud_count_with_http_info(opts = {})
|
3014
|
-
if @api_client.config.debugging
|
3015
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_nodes_by_cloud_count ...'
|
3016
|
-
end
|
3017
|
-
# resource path
|
3018
|
-
local_var_path = '/container-security/aggregates/nodes/count-by-cloud/v1'
|
3019
|
-
|
3020
|
-
# query parameters
|
3021
|
-
query_params = opts[:query_params] || {}
|
3022
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3023
|
-
|
3024
|
-
# header parameters
|
3025
|
-
header_params = opts[:header_params] || {}
|
3026
|
-
# HTTP header 'Accept' (if needed)
|
3027
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3028
|
-
|
3029
|
-
# form parameters
|
3030
|
-
form_params = opts[:form_params] || {}
|
3031
|
-
|
3032
|
-
# http body (model)
|
3033
|
-
post_body = opts[:debug_body]
|
3034
|
-
|
3035
|
-
# return_type
|
3036
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3037
|
-
|
3038
|
-
# auth_names
|
3039
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3040
|
-
|
3041
|
-
new_options = opts.merge(
|
3042
|
-
:operation => :"KubernetesProtectionApi.read_nodes_by_cloud_count",
|
3043
|
-
:header_params => header_params,
|
3044
|
-
:query_params => query_params,
|
3045
|
-
:form_params => form_params,
|
3046
|
-
:body => post_body,
|
3047
|
-
:auth_names => auth_names,
|
3048
|
-
:return_type => return_type
|
3049
|
-
)
|
3050
|
-
|
3051
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3052
|
-
if @api_client.config.debugging
|
3053
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_nodes_by_cloud_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3054
|
-
end
|
3055
|
-
return data, status_code, headers
|
3056
|
-
end
|
3057
|
-
|
3058
|
-
# Bucket nodes by their container engine version
|
3059
|
-
# @param [Hash] opts the optional parameters
|
3060
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3061
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
3062
|
-
def read_nodes_by_container_engine_version_count(opts = {})
|
3063
|
-
data, _status_code, _headers = read_nodes_by_container_engine_version_count_with_http_info(opts)
|
3064
|
-
data
|
3065
|
-
end
|
3066
|
-
|
3067
|
-
# Bucket nodes by their container engine version
|
3068
|
-
# @param [Hash] opts the optional parameters
|
3069
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3070
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3071
|
-
def read_nodes_by_container_engine_version_count_with_http_info(opts = {})
|
3072
|
-
if @api_client.config.debugging
|
3073
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_nodes_by_container_engine_version_count ...'
|
3074
|
-
end
|
3075
|
-
# resource path
|
3076
|
-
local_var_path = '/container-security/aggregates/nodes/count-by-container-engine-version/v1'
|
3077
|
-
|
3078
|
-
# query parameters
|
3079
|
-
query_params = opts[:query_params] || {}
|
3080
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3081
|
-
|
3082
|
-
# header parameters
|
3083
|
-
header_params = opts[:header_params] || {}
|
3084
|
-
# HTTP header 'Accept' (if needed)
|
3085
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3086
|
-
|
3087
|
-
# form parameters
|
3088
|
-
form_params = opts[:form_params] || {}
|
3089
|
-
|
3090
|
-
# http body (model)
|
3091
|
-
post_body = opts[:debug_body]
|
3092
|
-
|
3093
|
-
# return_type
|
3094
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3095
|
-
|
3096
|
-
# auth_names
|
3097
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3098
|
-
|
3099
|
-
new_options = opts.merge(
|
3100
|
-
:operation => :"KubernetesProtectionApi.read_nodes_by_container_engine_version_count",
|
3101
|
-
:header_params => header_params,
|
3102
|
-
:query_params => query_params,
|
3103
|
-
:form_params => form_params,
|
3104
|
-
:body => post_body,
|
3105
|
-
:auth_names => auth_names,
|
3106
|
-
:return_type => return_type
|
3107
|
-
)
|
3108
|
-
|
3109
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3110
|
-
if @api_client.config.debugging
|
3111
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_nodes_by_container_engine_version_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3112
|
-
end
|
3113
|
-
return data, status_code, headers
|
3114
|
-
end
|
3115
|
-
|
3116
|
-
# Retrieve nodes by date range counts
|
3117
|
-
# @param [Hash] opts the optional parameters
|
3118
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3119
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
3120
|
-
def read_nodes_by_date_range_count(opts = {})
|
3121
|
-
data, _status_code, _headers = read_nodes_by_date_range_count_with_http_info(opts)
|
3122
|
-
data
|
3123
|
-
end
|
3124
|
-
|
3125
|
-
# Retrieve nodes by date range counts
|
3126
|
-
# @param [Hash] opts the optional parameters
|
3127
|
-
# @option opts [String] :filter Search Kubernetes nodes using a query in Falcon Query Language (FQL). Supported filters: aid,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,container_runtime_version,first_seen,image_digest,ipv4,last_seen,linux_sensor_coverage,node_name,pod_count
|
3128
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3129
|
-
def read_nodes_by_date_range_count_with_http_info(opts = {})
|
3130
|
-
if @api_client.config.debugging
|
3131
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_nodes_by_date_range_count ...'
|
3132
|
-
end
|
3133
|
-
# resource path
|
3134
|
-
local_var_path = '/container-security/aggregates/nodes/count-by-date/v1'
|
3135
|
-
|
3136
|
-
# query parameters
|
3137
|
-
query_params = opts[:query_params] || {}
|
3138
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3139
|
-
|
3140
|
-
# header parameters
|
3141
|
-
header_params = opts[:header_params] || {}
|
3142
|
-
# HTTP header 'Accept' (if needed)
|
3143
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3144
|
-
|
3145
|
-
# form parameters
|
3146
|
-
form_params = opts[:form_params] || {}
|
3147
|
-
|
3148
|
-
# http body (model)
|
3149
|
-
post_body = opts[:debug_body]
|
3150
|
-
|
3151
|
-
# return_type
|
3152
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3153
|
-
|
3154
|
-
# auth_names
|
3155
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3156
|
-
|
3157
|
-
new_options = opts.merge(
|
3158
|
-
:operation => :"KubernetesProtectionApi.read_nodes_by_date_range_count",
|
3159
|
-
:header_params => header_params,
|
3160
|
-
:query_params => query_params,
|
3161
|
-
:form_params => form_params,
|
3162
|
-
:body => post_body,
|
3163
|
-
:auth_names => auth_names,
|
3164
|
-
:return_type => return_type
|
3165
|
-
)
|
3166
|
-
|
3167
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3168
|
-
if @api_client.config.debugging
|
3169
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_nodes_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3170
|
-
end
|
3171
|
-
return data, status_code, headers
|
3172
|
-
end
|
3173
|
-
|
3174
|
-
# Retrieve kubernetes pods identified by the provided filter criteria
|
3175
|
-
# @param [Hash] opts the optional parameters
|
3176
|
-
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3177
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3178
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3179
|
-
# @option opts [String] :sort Field to sort results by
|
3180
|
-
# @return [ModelsPodEntityResponse]
|
3181
|
-
def read_pod_combined(opts = {})
|
3182
|
-
data, _status_code, _headers = read_pod_combined_with_http_info(opts)
|
3183
|
-
data
|
3184
|
-
end
|
3185
|
-
|
3186
|
-
# Retrieve kubernetes pods identified by the provided filter criteria
|
3187
|
-
# @param [Hash] opts the optional parameters
|
3188
|
-
# @option opts [String] :filter Search Kubernetes pods using a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3189
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3190
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3191
|
-
# @option opts [String] :sort Field to sort results by
|
3192
|
-
# @return [Array<(ModelsPodEntityResponse, Integer, Hash)>] ModelsPodEntityResponse data, response status code and response headers
|
3193
|
-
def read_pod_combined_with_http_info(opts = {})
|
3194
|
-
if @api_client.config.debugging
|
3195
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pod_combined ...'
|
3196
|
-
end
|
3197
|
-
# resource path
|
3198
|
-
local_var_path = '/container-security/combined/pods/v1'
|
3199
|
-
|
3200
|
-
# query parameters
|
3201
|
-
query_params = opts[:query_params] || {}
|
3202
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3203
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3204
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3205
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3206
|
-
|
3207
|
-
# header parameters
|
3208
|
-
header_params = opts[:header_params] || {}
|
3209
|
-
# HTTP header 'Accept' (if needed)
|
3210
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3211
|
-
|
3212
|
-
# form parameters
|
3213
|
-
form_params = opts[:form_params] || {}
|
3214
|
-
|
3215
|
-
# http body (model)
|
3216
|
-
post_body = opts[:debug_body]
|
3217
|
-
|
3218
|
-
# return_type
|
3219
|
-
return_type = opts[:debug_return_type] || 'ModelsPodEntityResponse'
|
3220
|
-
|
3221
|
-
# auth_names
|
3222
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3223
|
-
|
3224
|
-
new_options = opts.merge(
|
3225
|
-
:operation => :"KubernetesProtectionApi.read_pod_combined",
|
3226
|
-
:header_params => header_params,
|
3227
|
-
:query_params => query_params,
|
3228
|
-
:form_params => form_params,
|
3229
|
-
:body => post_body,
|
3230
|
-
:auth_names => auth_names,
|
3231
|
-
:return_type => return_type
|
3232
|
-
)
|
3233
|
-
|
3234
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3235
|
-
if @api_client.config.debugging
|
3236
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pod_combined\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3237
|
-
end
|
3238
|
-
return data, status_code, headers
|
3239
|
-
end
|
3240
|
-
|
3241
|
-
# Retrieve pod counts
|
3242
|
-
# @param [Hash] opts the optional parameters
|
3243
|
-
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3244
|
-
# @return [CommonCountResponse]
|
3245
|
-
def read_pod_count(opts = {})
|
3246
|
-
data, _status_code, _headers = read_pod_count_with_http_info(opts)
|
3247
|
-
data
|
3248
|
-
end
|
3249
|
-
|
3250
|
-
# Retrieve pod counts
|
3251
|
-
# @param [Hash] opts the optional parameters
|
3252
|
-
# @option opts [String] :filter Retrieve count of Kubernetes pods that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,annotations_list,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_count,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,owner_id,owner_type,pod_external_id,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user
|
3253
|
-
# @return [Array<(CommonCountResponse, Integer, Hash)>] CommonCountResponse data, response status code and response headers
|
3254
|
-
def read_pod_count_with_http_info(opts = {})
|
3255
|
-
if @api_client.config.debugging
|
3256
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pod_count ...'
|
3257
|
-
end
|
3258
|
-
# resource path
|
3259
|
-
local_var_path = '/container-security/aggregates/pods/count/v1'
|
3260
|
-
|
3261
|
-
# query parameters
|
3262
|
-
query_params = opts[:query_params] || {}
|
3263
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3264
|
-
|
3265
|
-
# header parameters
|
3266
|
-
header_params = opts[:header_params] || {}
|
3267
|
-
# HTTP header 'Accept' (if needed)
|
3268
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3269
|
-
|
3270
|
-
# form parameters
|
3271
|
-
form_params = opts[:form_params] || {}
|
3272
|
-
|
3273
|
-
# http body (model)
|
3274
|
-
post_body = opts[:debug_body]
|
3275
|
-
|
3276
|
-
# return_type
|
3277
|
-
return_type = opts[:debug_return_type] || 'CommonCountResponse'
|
3278
|
-
|
3279
|
-
# auth_names
|
3280
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3281
|
-
|
3282
|
-
new_options = opts.merge(
|
3283
|
-
:operation => :"KubernetesProtectionApi.read_pod_count",
|
3284
|
-
:header_params => header_params,
|
3285
|
-
:query_params => query_params,
|
3286
|
-
:form_params => form_params,
|
3287
|
-
:body => post_body,
|
3288
|
-
:auth_names => auth_names,
|
3289
|
-
:return_type => return_type
|
3290
|
-
)
|
3291
|
-
|
3292
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3293
|
-
if @api_client.config.debugging
|
3294
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pod_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3295
|
-
end
|
3296
|
-
return data, status_code, headers
|
3297
|
-
end
|
3298
|
-
|
3299
|
-
# Retrieve pod enrichment data
|
3300
|
-
# @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
|
3301
|
-
# @param [Hash] opts the optional parameters
|
3302
|
-
# @option opts [String] :filter Supported filters: last_seen
|
3303
|
-
# @return [K8sassetsPodEnrichmentResponse]
|
3304
|
-
def read_pod_enrichment(pod_id, opts = {})
|
3305
|
-
data, _status_code, _headers = read_pod_enrichment_with_http_info(pod_id, opts)
|
3306
|
-
data
|
3307
|
-
end
|
3308
|
-
|
3309
|
-
# Retrieve pod enrichment data
|
3310
|
-
# @param pod_id [Array<String>] One or more pod ids for which to retrieve enrichment info
|
3311
|
-
# @param [Hash] opts the optional parameters
|
3312
|
-
# @option opts [String] :filter Supported filters: last_seen
|
3313
|
-
# @return [Array<(K8sassetsPodEnrichmentResponse, Integer, Hash)>] K8sassetsPodEnrichmentResponse data, response status code and response headers
|
3314
|
-
def read_pod_enrichment_with_http_info(pod_id, opts = {})
|
3315
|
-
if @api_client.config.debugging
|
3316
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pod_enrichment ...'
|
3317
|
-
end
|
3318
|
-
# verify the required parameter 'pod_id' is set
|
3319
|
-
if @api_client.config.client_side_validation && pod_id.nil?
|
3320
|
-
fail ArgumentError, "Missing the required parameter 'pod_id' when calling KubernetesProtectionApi.read_pod_enrichment"
|
3321
|
-
end
|
3322
|
-
# resource path
|
3323
|
-
local_var_path = '/container-security/aggregates/enrichment/pods/entities/v1'
|
3324
|
-
|
3325
|
-
# query parameters
|
3326
|
-
query_params = opts[:query_params] || {}
|
3327
|
-
query_params[:'pod_id'] = @api_client.build_collection_param(pod_id, :csv)
|
3328
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3329
|
-
|
3330
|
-
# header parameters
|
3331
|
-
header_params = opts[:header_params] || {}
|
3332
|
-
# HTTP header 'Accept' (if needed)
|
3333
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3334
|
-
|
3335
|
-
# form parameters
|
3336
|
-
form_params = opts[:form_params] || {}
|
3337
|
-
|
3338
|
-
# http body (model)
|
3339
|
-
post_body = opts[:debug_body]
|
3340
|
-
|
3341
|
-
# return_type
|
3342
|
-
return_type = opts[:debug_return_type] || 'K8sassetsPodEnrichmentResponse'
|
3343
|
-
|
3344
|
-
# auth_names
|
3345
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3346
|
-
|
3347
|
-
new_options = opts.merge(
|
3348
|
-
:operation => :"KubernetesProtectionApi.read_pod_enrichment",
|
3349
|
-
:header_params => header_params,
|
3350
|
-
:query_params => query_params,
|
3351
|
-
:form_params => form_params,
|
3352
|
-
:body => post_body,
|
3353
|
-
:auth_names => auth_names,
|
3354
|
-
:return_type => return_type
|
3355
|
-
)
|
3356
|
-
|
3357
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3358
|
-
if @api_client.config.debugging
|
3359
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pod_enrichment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3360
|
-
end
|
3361
|
-
return data, status_code, headers
|
3362
|
-
end
|
3363
|
-
|
3364
|
-
# Retrieve pods by date range counts
|
3365
|
-
# @param [Hash] opts the optional parameters
|
3366
|
-
# @return [ModelsAggregateValuesByFieldResponse]
|
3367
|
-
def read_pods_by_date_range_count(opts = {})
|
3368
|
-
data, _status_code, _headers = read_pods_by_date_range_count_with_http_info(opts)
|
3369
|
-
data
|
3370
|
-
end
|
3371
|
-
|
3372
|
-
# Retrieve pods by date range counts
|
3373
|
-
# @param [Hash] opts the optional parameters
|
3374
|
-
# @return [Array<(ModelsAggregateValuesByFieldResponse, Integer, Hash)>] ModelsAggregateValuesByFieldResponse data, response status code and response headers
|
3375
|
-
def read_pods_by_date_range_count_with_http_info(opts = {})
|
3376
|
-
if @api_client.config.debugging
|
3377
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_pods_by_date_range_count ...'
|
3378
|
-
end
|
3379
|
-
# resource path
|
3380
|
-
local_var_path = '/container-security/aggregates/pods/count-by-date/v1'
|
3381
|
-
|
3382
|
-
# query parameters
|
3383
|
-
query_params = opts[:query_params] || {}
|
3384
|
-
|
3385
|
-
# header parameters
|
3386
|
-
header_params = opts[:header_params] || {}
|
3387
|
-
# HTTP header 'Accept' (if needed)
|
3388
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3389
|
-
|
3390
|
-
# form parameters
|
3391
|
-
form_params = opts[:form_params] || {}
|
3392
|
-
|
3393
|
-
# http body (model)
|
3394
|
-
post_body = opts[:debug_body]
|
3395
|
-
|
3396
|
-
# return_type
|
3397
|
-
return_type = opts[:debug_return_type] || 'ModelsAggregateValuesByFieldResponse'
|
3398
|
-
|
3399
|
-
# auth_names
|
3400
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3401
|
-
|
3402
|
-
new_options = opts.merge(
|
3403
|
-
:operation => :"KubernetesProtectionApi.read_pods_by_date_range_count",
|
3404
|
-
:header_params => header_params,
|
3405
|
-
:query_params => query_params,
|
3406
|
-
:form_params => form_params,
|
3407
|
-
:body => post_body,
|
3408
|
-
:auth_names => auth_names,
|
3409
|
-
:return_type => return_type
|
3410
|
-
)
|
3411
|
-
|
3412
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3413
|
-
if @api_client.config.debugging
|
3414
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_pods_by_date_range_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3415
|
-
end
|
3416
|
-
return data, status_code, headers
|
3417
|
-
end
|
3418
|
-
|
3419
|
-
# Retrieve images on running containers
|
3420
|
-
# @param [Hash] opts the optional parameters
|
3421
|
-
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filters: cid,hosts,image_digest,image_has_been_assessed,image_id,image_name,image_registry,image_repository,image_tag,last_seen,running_status
|
3422
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3423
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3424
|
-
# @option opts [String] :sort Field to sort results by
|
3425
|
-
# @return [ModelsContainerImage]
|
3426
|
-
def read_running_container_images(opts = {})
|
3427
|
-
data, _status_code, _headers = read_running_container_images_with_http_info(opts)
|
3428
|
-
data
|
3429
|
-
end
|
3430
|
-
|
3431
|
-
# Retrieve images on running containers
|
3432
|
-
# @param [Hash] opts the optional parameters
|
3433
|
-
# @option opts [String] :filter Retrieve list of images on running containers using a query in Falcon Query Language (FQL). Supported filters: cid,hosts,image_digest,image_has_been_assessed,image_id,image_name,image_registry,image_repository,image_tag,last_seen,running_status
|
3434
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3435
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3436
|
-
# @option opts [String] :sort Field to sort results by
|
3437
|
-
# @return [Array<(ModelsContainerImage, Integer, Hash)>] ModelsContainerImage data, response status code and response headers
|
3438
|
-
def read_running_container_images_with_http_info(opts = {})
|
3439
|
-
if @api_client.config.debugging
|
3440
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_running_container_images ...'
|
3441
|
-
end
|
3442
|
-
# resource path
|
3443
|
-
local_var_path = '/container-security/combined/container-images/v1'
|
3444
|
-
|
3445
|
-
# query parameters
|
3446
|
-
query_params = opts[:query_params] || {}
|
3447
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3448
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3449
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3450
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3451
|
-
|
3452
|
-
# header parameters
|
3453
|
-
header_params = opts[:header_params] || {}
|
3454
|
-
# HTTP header 'Accept' (if needed)
|
3455
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3456
|
-
|
3457
|
-
# form parameters
|
3458
|
-
form_params = opts[:form_params] || {}
|
3459
|
-
|
3460
|
-
# http body (model)
|
3461
|
-
post_body = opts[:debug_body]
|
3462
|
-
|
3463
|
-
# return_type
|
3464
|
-
return_type = opts[:debug_return_type] || 'ModelsContainerImage'
|
3465
|
-
|
3466
|
-
# auth_names
|
3467
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3468
|
-
|
3469
|
-
new_options = opts.merge(
|
3470
|
-
:operation => :"KubernetesProtectionApi.read_running_container_images",
|
3471
|
-
:header_params => header_params,
|
3472
|
-
:query_params => query_params,
|
3473
|
-
:form_params => form_params,
|
3474
|
-
:body => post_body,
|
3475
|
-
:auth_names => auth_names,
|
3476
|
-
:return_type => return_type
|
3477
|
-
)
|
3478
|
-
|
3479
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3480
|
-
if @api_client.config.debugging
|
3481
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_running_container_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3482
|
-
end
|
3483
|
-
return data, status_code, headers
|
3484
|
-
end
|
3485
|
-
|
3486
|
-
# Retrieve count of vulnerable images running on containers
|
3487
|
-
# @param [Hash] opts the optional parameters
|
3488
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
3489
|
-
# @return [ModelsAPIFilterResponse]
|
3490
|
-
def read_vulnerable_container_image_count(opts = {})
|
3491
|
-
data, _status_code, _headers = read_vulnerable_container_image_count_with_http_info(opts)
|
3492
|
-
data
|
3493
|
-
end
|
3494
|
-
|
3495
|
-
# Retrieve count of vulnerable images running on containers
|
3496
|
-
# @param [Hash] opts the optional parameters
|
3497
|
-
# @option opts [String] :filter Retrieve count of Kubernetes containers that match a query in Falcon Query Language (FQL). Supported filters: agent_id,agent_type,allow_privilege_escalation,cid,cloud_account_id,cloud_name,cloud_region,cluster_id,cluster_name,container_id,container_name,cve_id,detection_name,first_seen,image_detection_count,image_digest,image_has_been_assessed,image_id,image_registry,image_repository,image_tag,image_vulnerability_count,insecure_mount_source,insecure_mount_type,insecure_propagation_mode,interactive_mode,ipv4,ipv6,labels,last_seen,namespace,node_name,node_uid,package_name_version,pod_id,pod_name,port,privileged,root_write_access,run_as_root_group,run_as_root_user,running_status
|
3498
|
-
# @return [Array<(ModelsAPIFilterResponse, Integer, Hash)>] ModelsAPIFilterResponse data, response status code and response headers
|
3499
|
-
def read_vulnerable_container_image_count_with_http_info(opts = {})
|
3500
|
-
if @api_client.config.debugging
|
3501
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.read_vulnerable_container_image_count ...'
|
3502
|
-
end
|
3503
|
-
# resource path
|
3504
|
-
local_var_path = '/container-security/aggregates/containers/count-vulnerable-images/v1'
|
3505
|
-
|
3506
|
-
# query parameters
|
3507
|
-
query_params = opts[:query_params] || {}
|
3508
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3509
|
-
|
3510
|
-
# header parameters
|
3511
|
-
header_params = opts[:header_params] || {}
|
3512
|
-
# HTTP header 'Accept' (if needed)
|
3513
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3514
|
-
|
3515
|
-
# form parameters
|
3516
|
-
form_params = opts[:form_params] || {}
|
3517
|
-
|
3518
|
-
# http body (model)
|
3519
|
-
post_body = opts[:debug_body]
|
3520
|
-
|
3521
|
-
# return_type
|
3522
|
-
return_type = opts[:debug_return_type] || 'ModelsAPIFilterResponse'
|
3523
|
-
|
3524
|
-
# auth_names
|
3525
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3526
|
-
|
3527
|
-
new_options = opts.merge(
|
3528
|
-
:operation => :"KubernetesProtectionApi.read_vulnerable_container_image_count",
|
3529
|
-
:header_params => header_params,
|
3530
|
-
:query_params => query_params,
|
3531
|
-
:form_params => form_params,
|
3532
|
-
:body => post_body,
|
3533
|
-
:auth_names => auth_names,
|
3534
|
-
:return_type => return_type
|
3535
|
-
)
|
3536
|
-
|
3537
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3538
|
-
if @api_client.config.debugging
|
3539
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#read_vulnerable_container_image_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3540
|
-
end
|
3541
|
-
return data, status_code, headers
|
3542
|
-
end
|
3543
|
-
|
3544
|
-
# Regenerate API key for docker registry integrations
|
3545
|
-
# @param [Hash] opts the optional parameters
|
3546
|
-
# @return [K8sregRegenAPIKeyResp]
|
3547
|
-
def regenerate_api_key(opts = {})
|
3548
|
-
data, _status_code, _headers = regenerate_api_key_with_http_info(opts)
|
3549
|
-
data
|
3550
|
-
end
|
3551
|
-
|
3552
|
-
# Regenerate API key for docker registry integrations
|
3553
|
-
# @param [Hash] opts the optional parameters
|
3554
|
-
# @return [Array<(K8sregRegenAPIKeyResp, Integer, Hash)>] K8sregRegenAPIKeyResp data, response status code and response headers
|
3555
|
-
def regenerate_api_key_with_http_info(opts = {})
|
3556
|
-
if @api_client.config.debugging
|
3557
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.regenerate_api_key ...'
|
3558
|
-
end
|
3559
|
-
# resource path
|
3560
|
-
local_var_path = '/kubernetes-protection/entities/integration/api-key/v1'
|
3561
|
-
|
3562
|
-
# query parameters
|
3563
|
-
query_params = opts[:query_params] || {}
|
3564
|
-
|
3565
|
-
# header parameters
|
3566
|
-
header_params = opts[:header_params] || {}
|
3567
|
-
# HTTP header 'Accept' (if needed)
|
3568
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3569
|
-
|
3570
|
-
# form parameters
|
3571
|
-
form_params = opts[:form_params] || {}
|
3572
|
-
|
3573
|
-
# http body (model)
|
3574
|
-
post_body = opts[:debug_body]
|
3575
|
-
|
3576
|
-
# return_type
|
3577
|
-
return_type = opts[:debug_return_type] || 'K8sregRegenAPIKeyResp'
|
3578
|
-
|
3579
|
-
# auth_names
|
3580
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3581
|
-
|
3582
|
-
new_options = opts.merge(
|
3583
|
-
:operation => :"KubernetesProtectionApi.regenerate_api_key",
|
3584
|
-
:header_params => header_params,
|
3585
|
-
:query_params => query_params,
|
3586
|
-
:form_params => form_params,
|
3587
|
-
:body => post_body,
|
3588
|
-
:auth_names => auth_names,
|
3589
|
-
:return_type => return_type
|
3590
|
-
)
|
3591
|
-
|
3592
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3593
|
-
if @api_client.config.debugging
|
3594
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#regenerate_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3595
|
-
end
|
3596
|
-
return data, status_code, headers
|
3597
|
-
end
|
3598
|
-
|
3599
|
-
# Search Kubernetes IOM by the provided search criteria
|
3600
|
-
# @param [Hash] opts the optional parameters
|
3601
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3602
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3603
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3604
|
-
# @option opts [String] :sort The fields to sort the records on.
|
3605
|
-
# @return [K8siomsKubernetesIOMEntityResponse]
|
3606
|
-
def search_and_read_kubernetes_iom_entities(opts = {})
|
3607
|
-
data, _status_code, _headers = search_and_read_kubernetes_iom_entities_with_http_info(opts)
|
3608
|
-
data
|
3609
|
-
end
|
3610
|
-
|
3611
|
-
# Search Kubernetes IOM by the provided search criteria
|
3612
|
-
# @param [Hash] opts the optional parameters
|
3613
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3614
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3615
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3616
|
-
# @option opts [String] :sort The fields to sort the records on.
|
3617
|
-
# @return [Array<(K8siomsKubernetesIOMEntityResponse, Integer, Hash)>] K8siomsKubernetesIOMEntityResponse data, response status code and response headers
|
3618
|
-
def search_and_read_kubernetes_iom_entities_with_http_info(opts = {})
|
3619
|
-
if @api_client.config.debugging
|
3620
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.search_and_read_kubernetes_iom_entities ...'
|
3621
|
-
end
|
3622
|
-
# resource path
|
3623
|
-
local_var_path = '/container-security/combined/kubernetes-ioms/v1'
|
3624
|
-
|
3625
|
-
# query parameters
|
3626
|
-
query_params = opts[:query_params] || {}
|
3627
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3628
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3629
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3630
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3631
|
-
|
3632
|
-
# header parameters
|
3633
|
-
header_params = opts[:header_params] || {}
|
3634
|
-
# HTTP header 'Accept' (if needed)
|
3635
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3636
|
-
|
3637
|
-
# form parameters
|
3638
|
-
form_params = opts[:form_params] || {}
|
3639
|
-
|
3640
|
-
# http body (model)
|
3641
|
-
post_body = opts[:debug_body]
|
3642
|
-
|
3643
|
-
# return_type
|
3644
|
-
return_type = opts[:debug_return_type] || 'K8siomsKubernetesIOMEntityResponse'
|
3645
|
-
|
3646
|
-
# auth_names
|
3647
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3648
|
-
|
3649
|
-
new_options = opts.merge(
|
3650
|
-
:operation => :"KubernetesProtectionApi.search_and_read_kubernetes_iom_entities",
|
3651
|
-
:header_params => header_params,
|
3652
|
-
:query_params => query_params,
|
3653
|
-
:form_params => form_params,
|
3654
|
-
:body => post_body,
|
3655
|
-
:auth_names => auth_names,
|
3656
|
-
:return_type => return_type
|
3657
|
-
)
|
3658
|
-
|
3659
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3660
|
-
if @api_client.config.debugging
|
3661
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#search_and_read_kubernetes_iom_entities\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3662
|
-
end
|
3663
|
-
return data, status_code, headers
|
3664
|
-
end
|
3665
|
-
|
3666
|
-
# Search Kubernetes IOMs by the provided search criteria. this endpoint returns a list of Kubernetes IOM UUIDs matching the query
|
3667
|
-
# @param [Hash] opts the optional parameters
|
3668
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3669
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3670
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3671
|
-
# @option opts [String] :sort The fields to sort the records on.
|
3672
|
-
# @return [CommonGenericEntityResponseString]
|
3673
|
-
def search_kubernetes_ioms(opts = {})
|
3674
|
-
data, _status_code, _headers = search_kubernetes_ioms_with_http_info(opts)
|
3675
|
-
data
|
3676
|
-
end
|
3677
|
-
|
3678
|
-
# Search Kubernetes IOMs by the provided search criteria. this endpoint returns a list of Kubernetes IOM UUIDs matching the query
|
3679
|
-
# @param [Hash] opts the optional parameters
|
3680
|
-
# @option opts [String] :filter Search Kubernetes IOMs using a query in Falcon Query Language (FQL). Supported filters: cid,cis_id,cluster_id,cluster_name,containers_impacted_count,containers_impacted_ids,detection_type,name,namespace,resource_id,resource_name,resource_type,severity
|
3681
|
-
# @option opts [Integer] :limit The upper-bound on the number of records to retrieve.
|
3682
|
-
# @option opts [Integer] :offset The offset from where to begin.
|
3683
|
-
# @option opts [String] :sort The fields to sort the records on.
|
3684
|
-
# @return [Array<(CommonGenericEntityResponseString, Integer, Hash)>] CommonGenericEntityResponseString data, response status code and response headers
|
3685
|
-
def search_kubernetes_ioms_with_http_info(opts = {})
|
3686
|
-
if @api_client.config.debugging
|
3687
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.search_kubernetes_ioms ...'
|
3688
|
-
end
|
3689
|
-
# resource path
|
3690
|
-
local_var_path = '/container-security/queries/kubernetes-ioms/v1'
|
3691
|
-
|
3692
|
-
# query parameters
|
3693
|
-
query_params = opts[:query_params] || {}
|
3694
|
-
query_params[:'filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
3695
|
-
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
3696
|
-
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
3697
|
-
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
3698
|
-
|
3699
|
-
# header parameters
|
3700
|
-
header_params = opts[:header_params] || {}
|
3701
|
-
# HTTP header 'Accept' (if needed)
|
3702
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3703
|
-
|
3704
|
-
# form parameters
|
3705
|
-
form_params = opts[:form_params] || {}
|
3706
|
-
|
3707
|
-
# http body (model)
|
3708
|
-
post_body = opts[:debug_body]
|
3709
|
-
|
3710
|
-
# return_type
|
3711
|
-
return_type = opts[:debug_return_type] || 'CommonGenericEntityResponseString'
|
3712
|
-
|
3713
|
-
# auth_names
|
3714
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3715
|
-
|
3716
|
-
new_options = opts.merge(
|
3717
|
-
:operation => :"KubernetesProtectionApi.search_kubernetes_ioms",
|
3718
|
-
:header_params => header_params,
|
3719
|
-
:query_params => query_params,
|
3720
|
-
:form_params => form_params,
|
3721
|
-
:body => post_body,
|
3722
|
-
:auth_names => auth_names,
|
3723
|
-
:return_type => return_type
|
3724
|
-
)
|
3725
|
-
|
3726
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3727
|
-
if @api_client.config.debugging
|
3728
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#search_kubernetes_ioms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3729
|
-
end
|
3730
|
-
return data, status_code, headers
|
3731
|
-
end
|
3732
|
-
|
3733
|
-
# Triggers a dry run or a full scan of a customer's kubernetes footprint
|
3734
|
-
# @param scan_type [String] Scan Type to do
|
3735
|
-
# @param [Hash] opts the optional parameters
|
3736
|
-
# @return [MsaBaseEntitiesResponse]
|
3737
|
-
def trigger_scan(scan_type, opts = {})
|
3738
|
-
data, _status_code, _headers = trigger_scan_with_http_info(scan_type, opts)
|
3739
|
-
data
|
3740
|
-
end
|
3741
|
-
|
3742
|
-
# Triggers a dry run or a full scan of a customer's kubernetes footprint
|
3743
|
-
# @param scan_type [String] Scan Type to do
|
3744
|
-
# @param [Hash] opts the optional parameters
|
3745
|
-
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
3746
|
-
def trigger_scan_with_http_info(scan_type, opts = {})
|
3747
|
-
if @api_client.config.debugging
|
3748
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.trigger_scan ...'
|
3749
|
-
end
|
3750
|
-
# verify the required parameter 'scan_type' is set
|
3751
|
-
if @api_client.config.client_side_validation && scan_type.nil?
|
3752
|
-
fail ArgumentError, "Missing the required parameter 'scan_type' when calling KubernetesProtectionApi.trigger_scan"
|
3753
|
-
end
|
3754
|
-
# verify enum value
|
3755
|
-
allowable_values = ["cluster-refresh", "dry-run", "full"]
|
3756
|
-
if @api_client.config.client_side_validation && !allowable_values.include?(scan_type)
|
3757
|
-
fail ArgumentError, "invalid value for \"scan_type\", must be one of #{allowable_values}"
|
3758
|
-
end
|
3759
|
-
pattern = Regexp.new(/^(dry-run|full|cluster-refresh)$/)
|
3760
|
-
if @api_client.config.client_side_validation && scan_type !~ pattern
|
3761
|
-
fail ArgumentError, "invalid value for 'scan_type' when calling KubernetesProtectionApi.trigger_scan, must conform to the pattern #{pattern}."
|
3762
|
-
end
|
3763
|
-
|
3764
|
-
# resource path
|
3765
|
-
local_var_path = '/kubernetes-protection/entities/scan/trigger/v1'
|
3766
|
-
|
3767
|
-
# query parameters
|
3768
|
-
query_params = opts[:query_params] || {}
|
3769
|
-
query_params[:'scan_type'] = scan_type
|
3770
|
-
|
3771
|
-
# header parameters
|
3772
|
-
header_params = opts[:header_params] || {}
|
3773
|
-
# HTTP header 'Accept' (if needed)
|
3774
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3775
|
-
|
3776
|
-
# form parameters
|
3777
|
-
form_params = opts[:form_params] || {}
|
3778
|
-
|
3779
|
-
# http body (model)
|
3780
|
-
post_body = opts[:debug_body]
|
3781
|
-
|
3782
|
-
# return_type
|
3783
|
-
return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
|
3784
|
-
|
3785
|
-
# auth_names
|
3786
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3787
|
-
|
3788
|
-
new_options = opts.merge(
|
3789
|
-
:operation => :"KubernetesProtectionApi.trigger_scan",
|
3790
|
-
:header_params => header_params,
|
3791
|
-
:query_params => query_params,
|
3792
|
-
:form_params => form_params,
|
3793
|
-
:body => post_body,
|
3794
|
-
:auth_names => auth_names,
|
3795
|
-
:return_type => return_type
|
3796
|
-
)
|
3797
|
-
|
3798
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
3799
|
-
if @api_client.config.debugging
|
3800
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#trigger_scan\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3801
|
-
end
|
3802
|
-
return data, status_code, headers
|
3803
|
-
end
|
3804
|
-
|
3805
|
-
# Updates the AWS account per the query parameters provided
|
3806
|
-
# @param ids [Array<String>] AWS Account ID
|
3807
|
-
# @param [Hash] opts the optional parameters
|
3808
|
-
# @option opts [String] :region Default Region for Account Automation
|
3809
|
-
# @return [MsaBaseEntitiesResponse]
|
3810
|
-
def update_aws_account(ids, opts = {})
|
3811
|
-
data, _status_code, _headers = update_aws_account_with_http_info(ids, opts)
|
3812
|
-
data
|
3813
|
-
end
|
3814
|
-
|
3815
|
-
# Updates the AWS account per the query parameters provided
|
3816
|
-
# @param ids [Array<String>] AWS Account ID
|
3817
|
-
# @param [Hash] opts the optional parameters
|
3818
|
-
# @option opts [String] :region Default Region for Account Automation
|
3819
|
-
# @return [Array<(MsaBaseEntitiesResponse, Integer, Hash)>] MsaBaseEntitiesResponse data, response status code and response headers
|
3820
|
-
def update_aws_account_with_http_info(ids, opts = {})
|
3821
|
-
if @api_client.config.debugging
|
3822
|
-
@api_client.config.logger.debug 'Calling API: KubernetesProtectionApi.update_aws_account ...'
|
3823
|
-
end
|
3824
|
-
# verify the required parameter 'ids' is set
|
3825
|
-
if @api_client.config.client_side_validation && ids.nil?
|
3826
|
-
fail ArgumentError, "Missing the required parameter 'ids' when calling KubernetesProtectionApi.update_aws_account"
|
3827
|
-
end
|
3828
|
-
pattern = Regexp.new(/^[a-z\d-]+$/)
|
3829
|
-
if @api_client.config.client_side_validation && !opts[:'region'].nil? && opts[:'region'] !~ pattern
|
3830
|
-
fail ArgumentError, "invalid value for 'opts[:\"region\"]' when calling KubernetesProtectionApi.update_aws_account, must conform to the pattern #{pattern}."
|
3831
|
-
end
|
3832
|
-
|
3833
|
-
# resource path
|
3834
|
-
local_var_path = '/kubernetes-protection/entities/accounts/aws/v1'
|
3835
|
-
|
3836
|
-
# query parameters
|
3837
|
-
query_params = opts[:query_params] || {}
|
3838
|
-
query_params[:'ids'] = @api_client.build_collection_param(ids, :csv)
|
3839
|
-
query_params[:'region'] = opts[:'region'] if !opts[:'region'].nil?
|
3840
|
-
|
3841
|
-
# header parameters
|
3842
|
-
header_params = opts[:header_params] || {}
|
3843
|
-
# HTTP header 'Accept' (if needed)
|
3844
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3845
|
-
|
3846
|
-
# form parameters
|
3847
|
-
form_params = opts[:form_params] || {}
|
3848
|
-
|
3849
|
-
# http body (model)
|
3850
|
-
post_body = opts[:debug_body]
|
3851
|
-
|
3852
|
-
# return_type
|
3853
|
-
return_type = opts[:debug_return_type] || 'MsaBaseEntitiesResponse'
|
3854
|
-
|
3855
|
-
# auth_names
|
3856
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
3857
|
-
|
3858
|
-
new_options = opts.merge(
|
3859
|
-
:operation => :"KubernetesProtectionApi.update_aws_account",
|
3860
|
-
:header_params => header_params,
|
3861
|
-
:query_params => query_params,
|
3862
|
-
:form_params => form_params,
|
3863
|
-
:body => post_body,
|
3864
|
-
:auth_names => auth_names,
|
3865
|
-
:return_type => return_type
|
3866
|
-
)
|
3867
|
-
|
3868
|
-
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
3869
|
-
if @api_client.config.debugging
|
3870
|
-
@api_client.config.logger.debug "API called: KubernetesProtectionApi#update_aws_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3871
|
-
end
|
3872
|
-
return data, status_code, headers
|
3873
|
-
end
|
3874
|
-
end
|
3875
|
-
end
|