Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.6 KB

File metadata and controls

45 lines (36 loc) · 2.6 KB

CommandMetadata

Properties

Name Type Description Notes
direction str The direction of the strike [optional]
is_banner bool Indicates that this is a command that is required, can only be add once and also must be the first [optional]
is_for_app_traffic_only bool Indicates that this is a command that can only be used in application traffic and cannot be mixed with attack traffic [optional]
is_streaming bool Indicates if the application's traffic is a UDP stream [optional]
keywords List[AppsecAppMetadataKeywordsInner] The keywords of the strike [optional]
legacy_names List[str] The names of the equivalent application/strike [optional]
no_multi_flow_support bool If true, only a single application with this protocol id can be present in the configuration [optional]
protocol str The protocol of the strike [optional]
rtp_profile_meta RTPProfileMeta [optional]
references List[Reference] The references of the strike [optional]
requires_uniqueness bool If true, for applications with the same protocol id, application/attack must have been uniquely identified in previous commands [optional]
severity str The severity of the strike [optional]
skip_attack_generation bool If true, don't generate an attack for this strike [optional]
sort_severity str The field by which the severity is sorted [optional]
static bool If true, the application/strike is managed directly by the controller [optional]
supported_apps List[str] The apps that this strike can be used with [optional]
year str The year of the strike [optional]

Example

from cyperf.models.command_metadata import CommandMetadata

# TODO update the JSON string below
json = "{}"
# create an instance of CommandMetadata from a JSON string
command_metadata_instance = CommandMetadata.from_json(json)
# print the JSON string representation of the object
print(CommandMetadata.to_json())

# convert the object into a dict
command_metadata_dict = command_metadata_instance.to_dict()
# create an instance of CommandMetadata from a dict
command_metadata_from_dict = CommandMetadata.from_dict(command_metadata_dict)

[Back to Model list] [Back to API list] [Back to README]