import { MappedRelationship, TargetEntityProperties } from '@jupiterone/integration-sdk-core'; import { vmpc } from '../../provider/client'; import { CveList } from '../../provider/client/types/vmpc/listVulnerabilities'; /** * Creates N mapped relationships, one for each `TargetEntityProperties` * provided. * * @param findingEntity the Entity representing the host detection Finding * @param targetEntityProperties an Array of `TargetEntityProperties` * representing each vulnerability associated with the Finding */ export declare function createFindingVulnerabilityMappedRelationships(findingKey: string, targetEntityProperties: TargetEntityProperties[]): { relationships: MappedRelationship[]; duplicates: MappedRelationship[]; }; /** * Creates a set of mapped relationship target entities for each Vulnerability. * * When a vuln is related to one or more CVEs, the properties will map to * `_type: ENTITY_TYPE_CVE_VULNERABILITY, _key: ''`. In the case where a * vulnerability has no CVEs, the properties will map to `_type: * ENTITY_TYPE_QUALYS_VULNERABILITY, _key: 'vuln-qid:'`. * * @param qualysHost the host name of the Qualys server, i.e. * qg3.apps.qualys.com, to be used in building `webLink` values to the Qualys UI * @param vuln the vulnerability data from the Qualys Knowledgebase */ export declare function createVulnerabilityTargetEntities(qualysHost: string, vuln: vmpc.Vuln): TargetEntityProperties[]; export declare function cveListToCveIds(cveList: CveList | undefined | null): string[]; //# sourceMappingURL=converters.d.ts.map