Module Values.AddArtifactInputSource

Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.

Sourcetype nonrec t = {
  1. agentSpaceId : AgentSpaceId.t;
    (*

    The unique identifier of the agent space to add the artifact to.

    *)
  2. artifactContent : Blob.t;
    (*

    The binary content of the artifact to upload.

    *)
  3. artifactType : ArtifactType.t;
    (*

    The file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.

    *)
  4. fileName : String_.t;
    (*

    The file name of the artifact.

    *)
}
Sourceval context_ : string
Sourceval make : agentSpaceId:AgentSpaceId.t -> artifactContent:Blob.t -> artifactType:ArtifactType.t -> fileName:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Blob.t | `Enum of string | `String of AgentSpaceId.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