def __init__(self, arn=None, description=None, external_id=None, name=None, local_vars_configuration=None): # noqa: E501 """AWSConnectorRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._arn = None self._description = None self._external_id = None self._name = None self.discriminator = None if arn is not None: self.arn = arn if description is not None: self.description = description if external_id is not None: self.external_id = external_id if name is not None: self.name = name
def __init__(self, account_id=None, arn=None, description=None, name=None, region=None, local_vars_configuration=None): # noqa: E501 """AWSDTO - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._account_id = None self._arn = None self._description = None self._name = None self._region = None self.discriminator = None if account_id is not None: self.account_id = account_id if arn is not None: self.arn = arn if description is not None: self.description = description if name is not None: self.name = name if region is not None: self.region = region
def __init__(self, comment=None, created=None, created_by=None, id=None, sha=None, size=None, tags=None, local_vars_configuration=None): # noqa: E501 """Layer - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._comment = None self._created = None self._created_by = None self._id = None self._sha = None self._size = None self._tags = None self.discriminator = None if comment is not None: self.comment = comment if created is not None: self.created = created if created_by is not None: self.created_by = created_by if id is not None: self.id = id if sha is not None: self.sha = sha if size is not None: self.size = size if tags is not None: self.tags = tags
def __init__(self, filters=None, name=None, on_demand=None, schedule=None, local_vars_configuration=None): # noqa: E501 """ScheduleRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._filters = None self._name = None self._on_demand = None self._schedule = None self.discriminator = None if filters is not None: self.filters = filters if name is not None: self.name = name if on_demand is not None: self.on_demand = on_demand if schedule is not None: self.schedule = schedule
def __init__(self, fix_version=None, name=None, reason=None, source=None, version=None, vulnerabilities=None, local_vars_configuration=None): # noqa: E501 """DriftSoftware - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._fix_version = None self._name = None self._reason = None self._source = None self._version = None self._vulnerabilities = None self.discriminator = None if fix_version is not None: self.fix_version = fix_version if name is not None: self.name = name if reason is not None: self.reason = reason if source is not None: self.source = source if version is not None: self.version = version if vulnerabilities is not None: self.vulnerabilities = vulnerabilities
def __init__(self, hostname=None, ip_address=None, sensor_uuid=None, uuid=None, local_vars_configuration=None): # noqa: E501 """Host - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._hostname = None self._ip_address = None self._sensor_uuid = None self._uuid = None self.discriminator = None if hostname is not None: self.hostname = hostname if ip_address is not None: self.ip_address = ip_address if sensor_uuid is not None: self.sensor_uuid = sensor_uuid if uuid is not None: self.uuid = uuid
def __init__(self, category=None, reason=None, software=None, vulnerability=None, local_vars_configuration=None): # noqa: E501 """Drift - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._category = None self._reason = None self._software = None self._vulnerability = None self.discriminator = None if category is not None: self.category = category if reason is not None: self.reason = reason if software is not None: self.software = software if vulnerability is not None: self.vulnerability = vulnerability
def __init__(self, count=None, data=None, drift_software_count_by_drift_reason=None, drift_software_count_by_severity=None, software_count_by_severity=None, local_vars_configuration=None): # noqa: E501 """SoftwarePivotListResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._count = None self._data = None self._drift_software_count_by_drift_reason = None self._drift_software_count_by_severity = None self._software_count_by_severity = None self.discriminator = None if count is not None: self.count = count if data is not None: self.data = data if drift_software_count_by_drift_reason is not None: self.drift_software_count_by_drift_reason = drift_software_count_by_drift_reason if drift_software_count_by_severity is not None: self.drift_software_count_by_severity = drift_software_count_by_severity if software_count_by_severity is not None: self.software_count_by_severity = software_count_by_severity
def __init__(self, created_container_count=None, created_container_count_for_associated_image=None, hostname=None, ip_address=None, paused_container_count=None, paused_container_count_for_associated_image=None, running_container_count=None, running_container_count_for_associated_image=None, sensor_uuid=None, stopped_container_count=None, stopped_container_count_for_associated_image=None, uuid=None, local_vars_configuration=None): # noqa: E501 """HostStats - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._created_container_count = None self._created_container_count_for_associated_image = None self._hostname = None self._ip_address = None self._paused_container_count = None self._paused_container_count_for_associated_image = None self._running_container_count = None self._running_container_count_for_associated_image = None self._sensor_uuid = None self._stopped_container_count = None self._stopped_container_count_for_associated_image = None self._uuid = None self.discriminator = None if created_container_count is not None: self.created_container_count = created_container_count if created_container_count_for_associated_image is not None: self.created_container_count_for_associated_image = created_container_count_for_associated_image if hostname is not None: self.hostname = hostname if ip_address is not None: self.ip_address = ip_address if paused_container_count is not None: self.paused_container_count = paused_container_count if paused_container_count_for_associated_image is not None: self.paused_container_count_for_associated_image = paused_container_count_for_associated_image if running_container_count is not None: self.running_container_count = running_container_count if running_container_count_for_associated_image is not None: self.running_container_count_for_associated_image = running_container_count_for_associated_image if sensor_uuid is not None: self.sensor_uuid = sensor_uuid if stopped_container_count is not None: self.stopped_container_count = stopped_container_count if stopped_container_count_for_associated_image is not None: self.stopped_container_count_for_associated_image = stopped_container_count_for_associated_image if uuid is not None: self.uuid = uuid
def __init__(self, username=None, local_vars_configuration=None): # noqa: E501 """CredentialDTO - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._username = None self.discriminator = None if username is not None: self.username = username
def __init__(self, confirmed=None, potential=None, local_vars_configuration=None): # noqa: E501 """PatchAvailability - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._confirmed = None self._potential = None self.discriminator = None if confirmed is not None: self.confirmed = confirmed if potential is not None: self.potential = potential
def __init__(self, count=None, data=None, local_vars_configuration=None): # noqa: E501 """PivotListResponseScheduleResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._count = None self._data = None self.discriminator = None if count is not None: self.count = count if data is not None: self.data = data
def __init__(self, filter=None, image_ids=None, local_vars_configuration=None): # noqa: E501 """ImageDeleteRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._filter = None self._image_ids = None self.discriminator = None if filter is not None: self.filter = filter if image_ids is not None: self.image_ids = image_ids
def __init__(self, details=None, vuln_summary=None, local_vars_configuration=None): # noqa: E501 """ImageVulnResponseFacade - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._details = None self._vuln_summary = None self.discriminator = None if details is not None: self.details = details if vuln_summary is not None: self.vuln_summary = vuln_summary
def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): if configuration is None: configuration = Configuration() self.configuration = configuration self.pool_threads = pool_threads self.rest_client = rest.RESTClientObject(configuration) self.default_headers = {} if header_name is not None: self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. self.user_agent = 'OpenAPI-Generator/1.6.1/python' self.client_side_validation = configuration.client_side_validation
def __init__(self, associated_containers_count=None, associated_hosts_count=None, created=None, image_id=None, is_docker_hub_official=None, last_scanned=None, registry_uuid=None, repo=None, sha=None, size=None, source=None, uuid=None, vulnerabilities=None, local_vars_configuration=None): # noqa: E501 """AbstractImage - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._associated_containers_count = None self._associated_hosts_count = None self._created = None self._image_id = None self._is_docker_hub_official = None self._last_scanned = None self._registry_uuid = None self._repo = None self._sha = None self._size = None self._source = None self._uuid = None self._vulnerabilities = None self.discriminator = None if associated_containers_count is not None: self.associated_containers_count = associated_containers_count if associated_hosts_count is not None: self.associated_hosts_count = associated_hosts_count if created is not None: self.created = created if image_id is not None: self.image_id = image_id if is_docker_hub_official is not None: self.is_docker_hub_official = is_docker_hub_official if last_scanned is not None: self.last_scanned = last_scanned if registry_uuid is not None: self.registry_uuid = registry_uuid if repo is not None: self.repo = repo if sha is not None: self.sha = sha if size is not None: self.size = size if source is not None: self.source = source if uuid is not None: self.uuid = uuid if vulnerabilities is not None: self.vulnerabilities = vulnerabilities
def __init__(self, base_score=None, temporal_score=None, local_vars_configuration=None): # noqa: E501 """Cvss3Info - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._base_score = None self._temporal_score = None self.discriminator = None if base_score is not None: self.base_score = base_score if temporal_score is not None: self.temporal_score = temporal_score
def __init__(self, container_ids=None, filter=None, local_vars_configuration=None): # noqa: E501 """ContainerDeleteRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._container_ids = None self._filter = None self.discriminator = None if container_ids is not None: self.container_ids = container_ids if filter is not None: self.filter = filter
def __init__(self, drift_vulns=None, vulns=None, local_vars_configuration=None): # noqa: E501 """ContainerVulnList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._drift_vulns = None self._vulns = None self.discriminator = None if drift_vulns is not None: self.drift_vulns = drift_vulns if vulns is not None: self.vulns = vulns
def __init__(self, account_id=None, external_id=None, local_vars_configuration=None): # noqa: E501 """AWSBase - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._account_id = None self._external_id = None self.discriminator = None if account_id is not None: self.account_id = account_id if external_id is not None: self.external_id = external_id
def __init__(self, key=None, value=None, local_vars_configuration=None): # noqa: E501 """Label - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._key = None self._value = None self.discriminator = None if key is not None: self.key = key if value is not None: self.value = value
def __init__(self, registry=None, repository=None, tag=None, local_vars_configuration=None): # noqa: E501 """Repo - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._registry = None self._repository = None self._tag = None self.discriminator = None if registry is not None: self.registry = registry if repository is not None: self.repository = repository if tag is not None: self.tag = tag
def __init__(self, repo_name=None, total_images=None, total_scanned_images=None, total_vulnerable_images=None, local_vars_configuration=None): # noqa: E501 """RegistryRepoResponse - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._repo_name = None self._total_images = None self._total_scanned_images = None self._total_vulnerable_images = None self.discriminator = None if repo_name is not None: self.repo_name = repo_name if total_images is not None: self.total_images = total_images if total_scanned_images is not None: self.total_scanned_images = total_scanned_images if total_vulnerable_images is not None: self.total_vulnerable_images = total_vulnerable_images
def __init__(self, host_ip=None, host_port=None, port=None, protocol=None, local_vars_configuration=None): # noqa: E501 """PortMapping - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._host_ip = None self._host_port = None self._port = None self._protocol = None self.discriminator = None if host_ip is not None: self.host_ip = host_ip if host_port is not None: self.host_port = host_port if port is not None: self.port = port if protocol is not None: self.protocol = protocol
def __init__(self, description=None, name=None, status=None, local_vars_configuration=None): # noqa: E501 """ServiceDetails - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._description = None self._name = None self._status = None self.discriminator = None if description is not None: self.description = description if name is not None: self.name = name if status is not None: self.status = status
def __init__(self, context_params=None, error_code=None, error_message=None, local_vars_configuration=None): # noqa: E501 """CMSError - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._context_params = None self._error_code = None self._error_message = None self.discriminator = None if context_params is not None: self.context_params = context_params if error_code is not None: self.error_code = error_code if error_message is not None: self.error_message = error_message
def __init__(self, aws=None, credential=None, credential_type=None, docker_hub_org_name=None, registry_type=None, registry_uri=None, registry_uuid=None, local_vars_configuration=None): # noqa: E501 """RegistryRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._aws = None self._credential = None self._credential_type = None self._docker_hub_org_name = None self._registry_type = None self._registry_uri = None self._registry_uuid = None self.discriminator = None if aws is not None: self.aws = aws if credential is not None: self.credential = credential if credential_type is not None: self.credential_type = credential_type if docker_hub_org_name is not None: self.docker_hub_org_name = docker_hub_org_name if registry_type is not None: self.registry_type = registry_type if registry_uri is not None: self.registry_uri = registry_uri if registry_uuid is not None: self.registry_uuid = registry_uuid
def __init__(self, age_in_days=None, auth_type=None, category=None, customer_severity=None, cveids=None, cvss3_info=None, cvss_info=None, discovery_type=None, first_found=None, fixed=None, last_found=None, non_exploitable_config=None, non_running_kernel=None, os=None, patch_available=None, port=None, product=None, published=None, qid=None, result=None, risk=None, running_service=None, severity=None, software=None, status=None, supported_by=None, threat_intel=None, title=None, type_detected=None, vendor=None, vulnerability=None, local_vars_configuration=None): # noqa: E501 """ServiceVulnerabilityDetails - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._age_in_days = None self._auth_type = None self._category = None self._customer_severity = None self._cveids = None self._cvss3_info = None self._cvss_info = None self._discovery_type = None self._first_found = None self._fixed = None self._last_found = None self._non_exploitable_config = None self._non_running_kernel = None self._os = None self._patch_available = None self._port = None self._product = None self._published = None self._qid = None self._result = None self._risk = None self._running_service = None self._severity = None self._software = None self._status = None self._supported_by = None self._threat_intel = None self._title = None self._type_detected = None self._vendor = None self._vulnerability = None self.discriminator = None if age_in_days is not None: self.age_in_days = age_in_days if auth_type is not None: self.auth_type = auth_type if category is not None: self.category = category if customer_severity is not None: self.customer_severity = customer_severity if cveids is not None: self.cveids = cveids if cvss3_info is not None: self.cvss3_info = cvss3_info if cvss_info is not None: self.cvss_info = cvss_info if discovery_type is not None: self.discovery_type = discovery_type if first_found is not None: self.first_found = first_found if fixed is not None: self.fixed = fixed if last_found is not None: self.last_found = last_found if non_exploitable_config is not None: self.non_exploitable_config = non_exploitable_config if non_running_kernel is not None: self.non_running_kernel = non_running_kernel if os is not None: self.os = os if patch_available is not None: self.patch_available = patch_available if port is not None: self.port = port if product is not None: self.product = product if published is not None: self.published = published if qid is not None: self.qid = qid if result is not None: self.result = result if risk is not None: self.risk = risk if running_service is not None: self.running_service = running_service if severity is not None: self.severity = severity if software is not None: self.software = software if status is not None: self.status = status if supported_by is not None: self.supported_by = supported_by if threat_intel is not None: self.threat_intel = threat_intel if title is not None: self.title = title if type_detected is not None: self.type_detected = type_detected if vendor is not None: self.vendor = vendor if vulnerability is not None: self.vulnerability = vulnerability
def __init__(self, arguments=None, command=None, container_id=None, created=None, customer_uuid=None, drift=None, environment=None, host=None, hostname=None, image_id=None, image_sha=None, image_uuid=None, ipv4=None, ipv6=None, is_drift=None, is_root=None, label=None, last_scanned=None, mac_address=None, name=None, operating_system=None, path=None, port_mapping=None, privileged=None, sensor_uuid=None, services=None, sha=None, softwares=None, source=None, state=None, state_changed=None, users=None, uuid=None, vulnerabilities=None, local_vars_configuration=None): # noqa: E501 """ContainerDetails - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._arguments = None self._command = None self._container_id = None self._created = None self._customer_uuid = None self._drift = None self._environment = None self._host = None self._hostname = None self._image_id = None self._image_sha = None self._image_uuid = None self._ipv4 = None self._ipv6 = None self._is_drift = None self._is_root = None self._label = None self._last_scanned = None self._mac_address = None self._name = None self._operating_system = None self._path = None self._port_mapping = None self._privileged = None self._sensor_uuid = None self._services = None self._sha = None self._softwares = None self._source = None self._state = None self._state_changed = None self._users = None self._uuid = None self._vulnerabilities = None self.discriminator = None if arguments is not None: self.arguments = arguments if command is not None: self.command = command if container_id is not None: self.container_id = container_id if created is not None: self.created = created if customer_uuid is not None: self.customer_uuid = customer_uuid if drift is not None: self.drift = drift if environment is not None: self.environment = environment if host is not None: self.host = host if hostname is not None: self.hostname = hostname if image_id is not None: self.image_id = image_id if image_sha is not None: self.image_sha = image_sha if image_uuid is not None: self.image_uuid = image_uuid if ipv4 is not None: self.ipv4 = ipv4 if ipv6 is not None: self.ipv6 = ipv6 if is_drift is not None: self.is_drift = is_drift if is_root is not None: self.is_root = is_root if label is not None: self.label = label if last_scanned is not None: self.last_scanned = last_scanned if mac_address is not None: self.mac_address = mac_address if name is not None: self.name = name if operating_system is not None: self.operating_system = operating_system if path is not None: self.path = path if port_mapping is not None: self.port_mapping = port_mapping if privileged is not None: self.privileged = privileged if sensor_uuid is not None: self.sensor_uuid = sensor_uuid if services is not None: self.services = services if sha is not None: self.sha = sha if softwares is not None: self.softwares = softwares if source is not None: self.source = source if state is not None: self.state = state if state_changed is not None: self.state_changed = state_changed if users is not None: self.users = users if uuid is not None: self.uuid = uuid if vulnerabilities is not None: self.vulnerabilities = vulnerabilities
def __init__(self, activation_uuid=None, binary_version=None, configuration_profile=None, container_ipv4=None, container_ipv6=None, container_mac_address=None, created=None, customer_uuid=None, docker_version=None, host_uuid=None, hostname=None, image_id=None, image_sha=None, ipv4=None, ipv6=None, label=None, last_checked_in=None, mac_address=None, name=None, os=None, platform=None, privileged=None, registry=None, sensor_id=None, sensor_type=None, sensor_version=None, sha=None, status=None, uuid=None, vuln_sig_version=None, local_vars_configuration=None): # noqa: E501 """Sensor - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration self._activation_uuid = None self._binary_version = None self._configuration_profile = None self._container_ipv4 = None self._container_ipv6 = None self._container_mac_address = None self._created = None self._customer_uuid = None self._docker_version = None self._host_uuid = None self._hostname = None self._image_id = None self._image_sha = None self._ipv4 = None self._ipv6 = None self._label = None self._last_checked_in = None self._mac_address = None self._name = None self._os = None self._platform = None self._privileged = None self._registry = None self._sensor_id = None self._sensor_type = None self._sensor_version = None self._sha = None self._status = None self._uuid = None self._vuln_sig_version = None self.discriminator = None if activation_uuid is not None: self.activation_uuid = activation_uuid if binary_version is not None: self.binary_version = binary_version if configuration_profile is not None: self.configuration_profile = configuration_profile if container_ipv4 is not None: self.container_ipv4 = container_ipv4 if container_ipv6 is not None: self.container_ipv6 = container_ipv6 if container_mac_address is not None: self.container_mac_address = container_mac_address if created is not None: self.created = created if customer_uuid is not None: self.customer_uuid = customer_uuid if docker_version is not None: self.docker_version = docker_version if host_uuid is not None: self.host_uuid = host_uuid if hostname is not None: self.hostname = hostname if image_id is not None: self.image_id = image_id if image_sha is not None: self.image_sha = image_sha if ipv4 is not None: self.ipv4 = ipv4 if ipv6 is not None: self.ipv6 = ipv6 if label is not None: self.label = label if last_checked_in is not None: self.last_checked_in = last_checked_in if mac_address is not None: self.mac_address = mac_address if name is not None: self.name = name if os is not None: self.os = os if platform is not None: self.platform = platform if privileged is not None: self.privileged = privileged if registry is not None: self.registry = registry if sensor_id is not None: self.sensor_id = sensor_id if sensor_type is not None: self.sensor_type = sensor_type if sensor_version is not None: self.sensor_version = sensor_version if sha is not None: self.sha = sha if status is not None: self.status = status if uuid is not None: self.uuid = uuid if vuln_sig_version is not None: self.vuln_sig_version = vuln_sig_version