cdx-proto
    Preparing search index...

    Type Alias AttachedText

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

    Specifies attributes of the text

    Type declaration

    • OptionalcontentType?: string

      Specifies the content type of the text. Defaults to 'text/plain' if not specified.

      from field: optional string content_type = 1;

    • Optionalencoding?: string

      Specifies the optional 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_5.AttachedText