Module Values.VulnerabilityCodeVulnerabilitiesSource

Provides details about the vulnerabilities found in your Lambda function code. This field pertains to findings that Security Hub CSPM receives from Amazon Inspector.

Sourcetype nonrec t = {
  1. cwes : TypeList.t option;
    (*

    The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.

    *)
  2. filePath : CodeVulnerabilitiesFilePath.t option;
    (*

    Provides details about where a code vulnerability is located in your Lambda function.

    *)
  3. sourceArn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.

    *)
}
Sourceval make : ?cwes:??? -> ?filePath:??? -> ?sourceArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of NonEmptyString.t ] list | `String of NonEmptyString.t | `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t