Interface TcpExtensionExt
- All Superinterfaces:
CyberObservableExtension,CyberObservableExtensionCommonProperties,GenericValidation,SdoDefaultValidator,StixCustomProperties
- All Known Implementing Classes:
TcpExtension
@Immutable
@DefaultTypeValue(value="tcp-ext",
groups=DefaultValuesProcessor.class)
@AllowedParents(NetworkTrafficCoo.class)
@BusinessRule(ifExp="true",
thenExp="getSrcFlagsHex().isPresent() == true || getDstFlagsHex().isPresent() == true",
errorMessage="TCP Extension MUST contain at least one property from this extension")
public interface TcpExtensionExt
extends CyberObservableExtension
tcp-ext
The TCP extension specifies a default extension for capturing network traffic properties specific to TCP.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the destination TCP flags, as the union of all TCP flags observed between the start of the traffic (as defined by the start property) and the end of the traffic (as defined by the end property).Specifies the source TCP flags, as the union of all TCP flags observed between the start of the traffic (as defined by the start property) and the end of the traffic (as defined by the end property).Methods inherited from interface security.whisper.javastix.coo.extension.CyberObservableExtensionCommonProperties
getTypeMethods inherited from interface security.whisper.javastix.validation.GenericValidation
validateEntityMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomProperties
-
Method Details
-
getSrcFlagsHex
@JsonPropertyDescription("Specifies the source TCP flags, as the union of all TCP flags observed between the start of the traffic (as defined by the start property) and the end of the traffic (as defined by the end property). ") Optional<@Pattern(regexp="^([a-fA-F0-9]{2})+$") String> getSrcFlagsHex()Specifies the source TCP flags, as the union of all TCP flags observed between the start of the traffic (as defined by the start property) and the end of the traffic (as defined by the end property). -
getDstFlagsHex
@JsonPropertyDescription("Specifies the destination TCP flags, as the union of all TCP flags observed between the start of the traffic (as defined by the start property) and the end of the traffic (as defined by the end property).") Optional<@Pattern(regexp="^([a-fA-F0-9]{2})+$") String> getDstFlagsHex()Specifies the destination TCP flags, as the union of all TCP flags observed between the start of the traffic (as defined by the start property) and the end of the traffic (as defined by the end property).
-