Package security.whisper.javastix.common
Interface StixCustomProperties
- All Known Subinterfaces:
ArchiveFileExtensionExt,ArtifactCoo,AttackPatternSdo,AutonomousSystemCoo,BundleObject,CampaignSdo,CourseOfActionSdo,CyberObservableExtension,CyberObservableObject,DirectoryCoo,DomainNameCoo,DomainObject,EmailAddressCoo,EmailMessageCoo,ExtensionDefinition,ExternalReferenceType,FileCoo,GranularMarkingDm,GroupingSdo,HttpRequestExtensionExt,IcmpExtensionExt,IdentitySdo,IncidentSdo,IndicatorSdo,InfrastructureSdo,IntrusionSetSdo,Ipv4AddressCoo,Ipv6AddressCoo,KillChainPhaseType,LanguageContent,LocationSdo,MacAddressCoo,MalwareAnalysisSdo,MalwareSdo,MarkingDefinitionDm,MimePartTypeObj,MutexCoo,NetworkSocketExtensionExt,NetworkTrafficCoo,NoteSdo,NtfsAlternateDataStreamObj,NtfsFileExtenstionExt,ObservedDataSdo,OpinionSdo,PdfFileExtensionExt,ProcessCoo,RasterImageFileExtensionExt,RelationshipObject,RelationshipSro,ReportSdo,SightingSro,SoftwareCoo,StatementMarkingObject,StixMarkingObject,TcpExtensionExt,ThreatActorSdo,TlpMarkingObject,ToolSdo,UnixAccountExtensionExt,UrlCoo,UserAccountCoo,VulnerabilitySdo,WindowsPeBinaryFileExtensionExt,WindowsPeOptionalHeaderObj,WindowsPeSectionObj,WindowsProcessExtensionExt,WindowsRegistryKeyCoo,WindowsRegistryValueObj,WindowsServiceExtensionExt,X509CertificateCoo,X509v3ExtensionsObj
- All Known Implementing Classes:
ArchiveFileExtension,Artifact,AttackPattern,AutonomousSystem,Bundle,Campaign,CourseOfAction,Directory,DomainName,EmailAddress,EmailMessage,ExtensionDefinitionObject,ExternalReference,File,GranularMarking,Grouping,HttpRequestExtension,IcmpExtension,Identity,Incident,Indicator,Infrastructure,IntrusionSet,Ipv4Address,Ipv6Address,KillChainPhase,LanguageContentObject,Location,MacAddress,Malware,MalwareAnalysis,MarkingDefinition,MimePartType,Mutex,NetworkSocketExtension,NetworkTraffic,Note,NtfsAlternateDataStream,NtfsFileExtenstion,ObservedData,Opinion,PdfFileExtension,Process,RasterImageFileExtension,Relationship,Report,Sighting,Software,Statement,TcpExtension,ThreatActor,Tlp,Tool,UnixAccountExtension,Url,UserAccount,Vulnerability,WindowsPeBinaryFileExtension,WindowsPeOptionalHeader,WindowsPeSection,WindowsProcessExtension,WindowsRegistryKey,WindowsRegistryValue,WindowsServiceExtension,X509Certificate,X509v3Extensions
public interface StixCustomProperties
Stix Custom Properties
-
Method Summary
Modifier and TypeMethodDescriptionMap<@StartsWith @Length(min=3,max=250,message="STIX Custom Properties must have a min key length of 3 and max of 250") String, Object> Custom Properties for STIX Objects.
-
Method Details
-
getCustomProperties
Map<@StartsWith @Length(min=3,max=250,message="STIX Custom Properties must have a min key length of 3 and max of 250") String,Object> getCustomProperties()Custom Properties for STIX Objects. Any object that supports custom properties will have a validation of the custom property prefix (typically "x_"). If the additional property in the JSON does not meet the StartsWith condition, then the JSON will be rejected.- Returns:
- Map of custom properties
Map<String, Object>
-