Interface HttpRequestExtensionExt

All Superinterfaces:
CyberObservableExtension, CyberObservableExtensionCommonProperties, GenericValidation, SdoDefaultValidator, StixCustomProperties
All Known Implementing Classes:
HttpRequestExtension

@Immutable @DefaultTypeValue(value="http-request-ext", groups=DefaultValuesProcessor.class) @AllowedParents(NetworkTrafficCoo.class) public interface HttpRequestExtensionExt extends CyberObservableExtension
http-request-ext

The HTTP request extension specifies a default extension for capturing network traffic properties specific to HTTP requests.

  • Method Details

    • getRequestMethod

      @JsonPropertyDescription("Specifies the HTTP method portion of the HTTP request line, as a lowercase string.") @NotNull @NotNull String getRequestMethod()
    • getRequestValue

      @JsonPropertyDescription("Specifies the value (typically a resource path) portion of the HTTP request line.") @NotNull @NotNull String getRequestValue()
    • getRequestVersion

      @JsonPropertyDescription("Specifies the HTTP version portion of the HTTP request line, as a lowercase string.") Optional<String> getRequestVersion()
    • getRequestHeader

      @JsonPropertyDescription("Specifies all of the HTTP header fields that may be found in the HTTP client request, as a dictionary.") Map<String,String> getRequestHeader()
      Currently only supports non-duplicate keys: https://github.com/oasis-tcs/cti-stix2/issues/137
    • getMessageBodyLength

      @JsonPropertyDescription("Specifies the length of the HTTP message body, if included, in bytes.") Optional<Long> getMessageBodyLength()
    • getMessageBodyDataRef

      @JsonPropertyDescription("Specifies the data contained in the HTTP message body, if included.") Optional<String> getMessageBodyDataRef()