Module Values.FilePathSource

Information about the location of security vulnerabilities that Amazon CodeGuru Security detected in your code.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    The name of the file.

    *)
  2. path : String_.t option;
    (*

    The path to the resource with the security vulnerability.

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

    The first line number of the code snippet where the security vulnerability appears in your code.

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

    The last line number of the code snippet where the security vulnerability appears in your code.

    *)
  5. codeSnippet : CodeSnippet.t option;
    (*

    A list of CodeLine objects that describe where the security vulnerability appears in your code.

    *)
}
Sourceval make : ?name:??? -> ?path:??? -> ?startLine:??? -> ?endLine:??? -> ?codeSnippet:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ] list | `String of String_.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