Module Values.CodeLocationSource

Represents a location in source code associated with a security finding.

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

    The absolute path to the file containing the code location.

    *)
  2. lineStart : Integer.t option;
    (*

    The starting line number of the code location.

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

    The ending line number of the code location.

    *)
  4. label : String_.t option;
    (*

    The role of this location in the vulnerability, such as source or sink.

    *)
}
Sourceval make : ?filePath:??? -> ?lineStart:??? -> ?lineEnd:??? -> ?label:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `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