cdx-proto
    Preparing search index...

    Type Alias AttachedText

    AttachedText: Message<"cyclonedx.v1_7.AttachedText"> & {
        contentType?: string;
        encoding?: string;
        value: string;
    }

    Specifies attributes of the text

    Type Declaration

    • OptionalcontentType?: string

      Specifies the format and nature of the data being attached, helping systems correctly interpret and process the content. Common content type examples include application/json for JSON data and text/plain for plan text documents. RFC 2045 section 5.1 outlines the structure and use of content types. For a comprehensive list of registered content types, refer to the IANA media types registry.

      from field: optional string content_type = 1;

    • Optionalencoding?: string

      Specifies the encoding the text is represented in

      from field: optional string encoding = 2;

    • value: string

      SimpleContent value of element. Proactive controls such as input validation and sanitization should be employed to prevent misuse of attachment text.

      from field: string value = 3;

    from message cyclonedx.v1_7.AttachedText