Module Values.CodeVulnerabilitiesFilePathSource

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

Sourcetype nonrec t = {
  1. endLine : Integer.t option;
    (*

    The line number of the last line of code in which the vulnerability is located.

    *)
  2. fileName : NonEmptyString.t option;
    (*

    The name of the file in which the code vulnerability is located.

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

    The file path to the code in which the vulnerability is located.

    *)
  4. startLine : Integer.t option;
    (*

    The line number of the first line of code in which the vulnerability is located.

    *)
}
Sourceval make : ?endLine:??? -> ?fileName:??? -> ?filePath:??? -> ?startLine:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) 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