F5 Application Security Manager (WAF)
F5 firewall Pack.#
This Integration is part of theUse the F5 ASM integration to read information and to manage F5 firewall. This integration was integrated and tested with version 15.1.0 of F5 ASM
#
Configure F5 ASM in CortexParameter | Description | Required |
---|---|---|
url | Server URL (e.g., 8.8.8.8) | True |
credentials | Username | True |
insecure | Trust any certificate (not secure) | False |
proxy | Use system proxy settings | False |
#
CommandsYou can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
f5-asm-policy-listLists all F5 Application Security Manager (ASM) policies.
#
Base Commandf5-asm-policy-list
#
InputArgument Name | Description | Required |
---|---|---|
self_link | A link to this resource. | Optional |
kind | A unique type identifier. | Optional |
items | items | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Policy.name | String | Display name of the policy. |
f5.Policy.active | Boolean | Indicates if the policy is active. |
f5.Policy.creatorName | String | The name of the user who created the policy. |
f5.Policy.createdTime | String | The time that the policy was created. |
f5.Policy.enforcementMode | Boolean | Indicates if the policy is in enforcement mode. |
f5.Policy.type | String | The policy type. |
#
Command Example!f5-asm-policy-list
#
Context Example#
Human Readable Output#
f5 data for listing policies:
name id type enforcementMode selfLink creatorName active policy_to_delete d2wbyiegGUJDigyNPELJuQ parent https://localhost/mgmt/tm/asm/policies/d2wbyiegGUJDigyNPELJuQ?ver=15.1.0 admin technologies WS7SYdAM7F3yexKVGPrm8w security transparent https://localhost/mgmt/tm/asm/policies/WS7SYdAM7F3yexKVGPrm8w?ver=15.1.0 admin false server-tech 7FWxqE2a-3bbpJimP4amtA security blocking https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA?ver=15.1.0 admin false Test_Policy kpD2qFaUlGAbw8RhN5IFQA security blocking https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA?ver=15.1.0 admin true Lior-test eTzNEnVBWVG87KIljElZIw security blocking https://localhost/mgmt/tm/asm/policies/eTzNEnVBWVG87KIljElZIw?ver=15.1.0 admin false
#
f5-asm-policy-createCreates a new ASM policy.
#
Base Commandf5-asm-policy-create
#
InputArgument Name | Description | Required |
---|---|---|
name | Display name of the policy. | Required |
description | Optional description for the policy. | Optional |
kind | The type of the policy. Possible values are: "parent" and "child". Default is "parent". | Required |
parent | The parent path if the policy is a security policy. | Optional |
enforcement_mode | The enforcement mode of the policy. Possible values are: "transparent" and "blocking". Default is "transparent". | Optional |
protocol_independent | Whether the policy is protocol independent. Default is "true". | Optional |
allow | Whether to allow the new policy. | Optional |
active | Whether to activate the new policy. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Policy.name | String | Display name of the policy. |
f5.Policy.id | String | ID of the policy. |
f5.Policy.fullPath | String | Full path of the policy. |
f5.Policy.description | String | Description of the policy. |
f5.Policy.type | String | Type of the policy. |
f5.Policy.versionDatetime | String | The creation time of the policy. |
f5.Policy.selfLink | String | Policy self link |
#
Command Example!f5-asm-policy-create name=Test_Policy_1 kind=parent
#
Context Example#
Human Readable Output#
f5 data for creating policy:
name id fullPath type versionDatetime Test_Policy_1 qB5caokejf-8DZiNe_1VKw /Common/Test_Policy_1 parent 2020-10-06T11:00:44Z
#
f5-asm-policy-applyApplies a policy in the application security manager.
#
Base Commandf5-asm-policy-apply
#
InputArgument Name | Description | Required |
---|---|---|
policy_reference_link | Link to the policy to apply. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Policy.id | String | The policy ID. |
f5.Policy.kind | String | The type of the policy. |
f5.Policy.policyReference | String | The policy reference link. |
f5.Policy.status | String | The status of the policy. |
f5.Policy.startTime | String | The start time of the policy. |
#
Command Example!f5-asm-policy-apply policy_reference_link="https://192.168.30.76/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA?ver=15.1.0"
#
Context Example#
Human Readable Output#
f5 data for applying policy:
policyReference status id startTime kind https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA?ver=15.1.0 NEW eUa5aK7Ym-V3jgYV6C4wuw 2020-10-06T11:00:46Z tm:asm:tasks:apply-policy:apply-policy-taskstate
#
f5-asm-policy-export-fileExports a policy file.
#
Base Commandf5-asm-policy-export-file
#
InputArgument Name | Description | Required |
---|---|---|
filename | The name of the file to export the policy to. | Required |
policy_reference_link | The link to the policy to export. | Required |
minimal | Indicates whether to export only custom settings. Default is "true". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Policy.kind | String | The type of the policy. |
f5.Policy.format | String | The format of the policy. |
f5.Policy.filename | String | The filename of the exported file. |
f5.Policy.policyReference | String | The reference link to the policy. |
f5.Policy.id | String | The ID of the policy. |
f5.Policy.startTime | String | The start time of the policy. |
f5.Policy.status | String | The status of the policy. |
#
Command Example!f5-asm-policy-export-file filename="exported_file.xml" policy_reference_link="https://192.168.30.76/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA?ver=15.1.0"
#
Context Example#
Human Readable Output#
f5 data for exporting policy:
policyReference status id startTime kind format filename https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA?ver=15.1.0 NEW WGIZaXwino-Kj0SBRfagHw 2020-10-06T11:00:48Z tm:asm:tasks:export-policy:export-policy-taskstate xml exported_file.xml
#
f5-asm-policy-methods-listLists the HTTP methods that are enforced in the security policy.
#
Base Commandf5-asm-policy-methods-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 hash using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.PolicyMethods.name | String | The name of the method. |
f5.PolicyMethods.actAsMethod | String | The functionality of the method. |
f5.PolicyMethods.id | String | The ID of the method. |
f5.PolicyMethods.selfLink | String | The self link to the method. |
f5.PolicyMethods.kind | String | The type of endpoint. |
f5.PolicyMethods.lastUpdateMicros | String | The datetime the policy method was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-methods-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 data for listing policy methods:
name id actAsMethod selfLink lastUpdateMicros new_method_04 mxy58ouQBKYZ7AsujHtdNQ POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/mxy58ouQBKYZ7AsujHtdNQ?ver=15.1.0 2020-10-05T15:59:44Z new_method_03 gbcCSqQgfttFwDszpHR8vg POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/gbcCSqQgfttFwDszpHR8vg?ver=15.1.0 2020-09-30T12:20:51Z new_method_02 p773WZAfmkgA-fTq6aqYzQ POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/p773WZAfmkgA-fTq6aqYzQ?ver=15.1.0 2020-09-30T12:20:28Z new_name_0101 g1NIB_pTaAlM6YcpKrTFLg POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/g1NIB_pTaAlM6YcpKrTFLg?ver=15.1.0 2020-09-30T12:19:08Z new_method_01 qBX6xVxyjS3v4faysUuE6A POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/qBX6xVxyjS3v4faysUuE6A?ver=15.1.0 2020-09-30T12:02:58Z test_get_2 QB1BzVdfL5WfSHrpP_2MOQ POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/QB1BzVdfL5WfSHrpP_2MOQ?ver=15.1.0 2020-08-11T12:32:56Z test_get fY-VmdD8p450Aqd86HMKtQ GET https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/fY-VmdD8p450Aqd86HMKtQ?ver=15.1.0 2020-08-11T12:30:44Z getty 9l8WogEiTHYEa8UzGruaBg GET https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/9l8WogEiTHYEa8UzGruaBg?ver=15.1.0 2020-08-05T21:07:26Z HEAD 4V4hb8HGOfeHsSMezfob-A GET https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/4V4hb8HGOfeHsSMezfob-A?ver=15.1.0 2020-08-05T20:58:48Z POST oCQ57CKdi-DnSwwWAjkjEA POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/oCQ57CKdi-DnSwwWAjkjEA?ver=15.1.0 2020-08-05T20:58:48Z GET dSgDWpPuac7bHb3bLwv8yA GET https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/dSgDWpPuac7bHb3bLwv8yA?ver=15.1.0 2020-08-05T20:58:48Z
#
f5-asm-policy-file-types-listLists the file types that are allowed or not allowed in the security policy.
#
Base Commandf5-asm-policy-file-types-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 hash using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.FileType.name | String | The name of the file type. |
f5.FileType.id | String | The ID of the file type. |
f5.FileType.selfLink | String | The self link to the file type. |
f5.FileType.kind | String | The type of endpoint. |
f5.FileType.lastUpdateMicros | String | The datetime the file type was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
f5.FileType.queryStringLength | String | The length of the query string. |
f5.FileType.checkRequestLength | String | The length of the request. |
f5.FileType.allowed | Boolean | Indicates if the file type is allowed. |
#
Command Example!f5-asm-policy-file-types-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 data for listing policy file types:
name id type selfLink checkRequestLength performStaging allowed lastUpdateMicros Q3F1ukGRIQ7gBOHZN0lNCQ explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/Q3F1ukGRIQ7gBOHZN0lNCQ?ver=15.1.0 true false true 2020-09-14T12:31:25Z csv Yoy1Z1_1JPPnGbeqLoj-Pw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/Yoy1Z1_1JPPnGbeqLoj-Pw?ver=15.1.0 true false true 2020-09-03T14:25:22Z yml F2o7I8XjkrtcBH1IGTi9ew explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/F2o7I8XjkrtcBH1IGTi9ew?ver=15.1.0 true false true 2020-09-03T14:22:09Z xml D2NdDg84dP_4tYHBMubHpw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/D2NdDg84dP_4tYHBMubHpw?ver=15.1.0 true false true 2020-08-18T17:04:01Z py 3-1bwXe4erMXxYTgZWatxg explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/3-1bwXe4erMXxYTgZWatxg?ver=15.1.0 true false true 2020-08-05T21:05:35Z exe mOgzedRVODecKsTkfDvoHQ explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/mOgzedRVODecKsTkfDvoHQ?ver=15.1.0 true false true 2020-08-05T21:05:11Z * M4na42GvebBMnI5wV_YMxg wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/M4na42GvebBMnI5wV_YMxg?ver=15.1.0 true false true 2020-08-23T10:24:11Z
#
f5-asm-policy-methods-addAdds a new allowed method.
#
Base Commandf5-asm-policy-methods-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy to which to add the method. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
new_method_name | The display name of the new method. | Required |
act_as_method | Functionality of the new method. Possible values are: "GET" and "POST". Default is "GET". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.PolicyMethods.name | String | The name of the new method. |
f5.PolicyMethods.id | String | The ID of the new method. |
f5.PolicyMethods.actAsMethod | String | The functionality of the new method. |
f5.PolicyMethods.selfLink | String | The self link to the method. |
f5.PolicyMethods.kind | String | The type of method. |
#
Command Example!f5-asm-policy-methods-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA new_method_name="Posty" act_as_method="POST"
#
Context Example#
Human Readable Output#
f5 data for adding policy methods:
name id actAsMethod selfLink lastUpdateMicros Posty cwMuAdnzCUXmGBTc552zvQ POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/cwMuAdnzCUXmGBTc552zvQ?ver=15.1.0 2020-10-06T11:00:58Z
#
f5-asm-policy-methods-updateUpdates a policy method.
#
Base Commandf5-asm-policy-methods-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy in which to update the method. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
method_id | The ID of the method to update. The method_ID or method_name arguments must be filled. Default is "None". | Optional |
method_name | Display name of the method to update. The method_ID or method_name argument must be filled. Default is "None". | Optional |
act_as_method | Functionality of the updated method. Possible values are: "GET" and "POST". | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.PolicyMethods.name | String | The name of the updated method. |
f5.PolicyMethods.id | String | The ID of the updated method. |
f5.PolicyMethods.actAsMethod | String | The functionality of the updated method. |
f5.PolicyMethods.selfLink | String | The self link to the updated method. |
f5.PolicyMethods.kind | String | The type of method. |
#
Command Example!f5-asm-policy-methods-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA method_name="Posty" act_as_method="POST"
#
Context Example#
Human Readable Output#
f5 data for updating policy methods:
name id actAsMethod selfLink lastUpdateMicros Posty cwMuAdnzCUXmGBTc552zvQ POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/cwMuAdnzCUXmGBTc552zvQ?ver=15.1.0 2020-10-06T11:00:58Z
#
f5-asm-policy-methods-deleteDeletes a method from a given policy.
#
Base Commandf5-asm-policy-methods-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy from which to delete the method. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
method_id | The ID of the method to delete. The method_ID or method_name argument must be filled. Default is "None". | Optional |
method_name | The display name of the method to delete. The method_ID or method_name argument must be filled. Default is "None". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.PolicyMethods.name | String | The name of the deleted method. |
f5.PolicyMethods.id | String | The ID of the deleted method. |
f5.PolicyMethods.actAsMethod | String | The functionality of the deleted method. |
f5.PolicyMethods.selfLink | String | The self link to the deleted method. |
f5.PolicyMethods.kind | String | The type of the deleted method. |
#
Command Example!f5-asm-policy-methods-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA method_name="Posty"
#
Context Example#
Human Readable Output#
f5 data for deleting policy methods:
name id actAsMethod selfLink lastUpdateMicros Posty cwMuAdnzCUXmGBTc552zvQ POST https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/methods/cwMuAdnzCUXmGBTc552zvQ?ver=15.1.0 2020-10-06T11:00:58Z
#
f5-asm-policy-file-types-addadd new file type
#
Base Commandf5-asm-policy-file-types-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy to which you want to add the new file type. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
new_file_type | The new file type to add. | Required |
query_string_length | The length of the query string. Default is "100". | Optional |
check_post_data_length | Whether to check the length of the data in the post method. Default is "true". | Optional |
response_check | Whether to check the response. Default is "true". | Optional |
check_request_length | Whether to check the length of the request. Default is "true". | Optional |
post_data_length | The post data length. Default is "100". | Optional |
perform_staging | Whether to stage the new file type. Default is "false". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.FileType.name | String | The name of the file type. |
f5.FileType.id | String | The ID of the file type. |
f5.FileType.queryStringLength | Number | The length of the query string. |
f5.FileType.selfLink | String | The self link to the file type. |
f5.FileType.lastUpdateMicros | String | The datetime the file type was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
f5.FileType.responseCheck | Boolean | Indicates if user wanted to check the response. |
f5.FileType.checkRequestLength | String | The length of the request. |
f5.FileType.allowed | Boolean | Indicates if the file type is allowed. |
f5.FileType.check-url-length | Boolean | Indicates whether to check the URL length. |
f5.FileType.postDataLength | Number | The length of the post data. |
f5.FileType.urlLength | Number | The length of the URL. |
f5.FileType.performStaging | Boolean | Indicates whether the file type should be staged. |
#
Command Example!f5-asm-policy-file-types-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA new_file_type="txt"
#
Context Example#
Human Readable Output#
f5 data for adding policy file types:
name id type selfLink checkRequestLength responseCheck checkUrlLength postDataLength performStaging allowed lastUpdateMicros txt x4JPPU1fey8i0DR1jB6UVA explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/x4JPPU1fey8i0DR1jB6UVA?ver=15.1.0 true true false 100 false true 2020-10-06T11:01:08Z
#
f5-asm-policy-file-types-updateUpdates the policy file type.
#
Base Commandf5-asm-policy-file-types-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
file_type_id | ID of the file type. The ID or display name must be filled. Default is "None". | Optional |
file_type_name | Display name of the file type. The ID or display name must be filled. Default is "None". | Optional |
query_string_length | The length of the query string. Default is "100". | Optional |
check_post_data_length | Whether to check the length of the data in the post method. Default is "True". | Optional |
response_check | Whether to check the response. Default is "true". | Optional |
check_request_length | Whether to check the length of the request. Default is "true". | Optional |
post_data_length | The post data length. Default is "100". | Optional |
perform_staging | Whether to stage the updated file type. Default is "false". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.FileType.name | String | The name of the file type. |
f5.FileType.id | String | The ID of the file type. |
f5.FileType.queryStringLength | Number | The length of the query string. |
f5.FileType.selfLink | String | The self link to the file type. |
f5.FileType.lastUpdateMicros | String | The datetime the file type was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
f5.FileType.responseCheck | Boolean | Indicates whether the user wanted to check the response. |
f5.FileType.checkRequestLength | String | The length of the request. |
f5.FileType.allowed | Boolean | Indicates if the file type is allowed. |
f5.FileType.check-url-length | Boolean | Indicates whether the user wanted to check the URL length. |
f5.FileType.postDataLength | Number | The length of the post data. |
f5.FileType.urlLength | Number | The length of the URL. |
f5.FileType.performStaging | Boolean | Indicates whether the file type should be staged. |
#
Command Example!f5-asm-policy-file-types-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA file_type_name="txt"
#
Context Example#
Human Readable Output#
f5 data for updating policy methods:
name id type selfLink checkRequestLength responseCheck checkUrlLength postDataLength performStaging allowed lastUpdateMicros txt x4JPPU1fey8i0DR1jB6UVA explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/x4JPPU1fey8i0DR1jB6UVA?ver=15.1.0 true true false 100 false true 2020-10-06T11:01:08Z
#
f5-asm-policy-file-types-deleteDeletes the policy file type.
#
Base Commandf5-asm-policy-file-types-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
file_type_id | ID of the file type. The ID or display name must be filled. Default is "None". | Optional |
file_type_name | Display name of the file type. The ID or display name must be filled. Default is "None". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.FileType.name | String | Display name of the policy. |
f5.FileType.id | String | ID of the policy that was deleted. |
f5.FileType.selfLink | String | The self link to the deleted policy. |
#
Command Example!f5-asm-policy-file-types-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA file_type_name="txt"
#
Context Example#
Human Readable Output#
f5 data for deleting policy file type:
name id type selfLink checkRequestLength responseCheck checkUrlLength postDataLength performStaging allowed lastUpdateMicros txt x4JPPU1fey8i0DR1jB6UVA explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/filetypes/x4JPPU1fey8i0DR1jB6UVA?ver=15.1.0 true true false 100 false true 2020-10-06T11:01:08Z
#
f5-asm-policy-deleteDeletes a policy.
#
Base Commandf5-asm-policy-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Policy.name | String | Display name of the deleted policy. |
f5.Policy.id | String | ID of the deleted policy. |
f5.Policy.selfLink | String | The self link to the deleted policy. |
#
Command Example!f5-asm-policy-delete policy_md5=d2wbyiegGUJDigyNPELJuQ
#
Context Example#
Human Readable Output#
f5 data for deleting policy:
name id selfLink policy_to_delete d2wbyiegGUJDigyNPELJuQ https://localhost/mgmt/tm/asm/policies/d2wbyiegGUJDigyNPELJuQ?ver=15.1.0
#
f5-asm-policy-hostnames-listLists the hostnames of the policy.
#
Base Commandf5-asm-policy-hostnames-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Hostname.name | String | The hostname of the policy. |
f5.Hostname.id | String | The ID of the hostname. |
f5.Hostname.createdBy | String | The interface used to create the hostname. |
f5.Hostname.selfLink | String | The self link to the specific hostname. |
f5.Hostname.includeSubdomains | Boolean | Indicates whether to include subdomains. |
f5.Hostname.lastUpdateMicros | String | The datetime the hostname was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-hostnames-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 data for listing policy hostname:
name id selfLink includeSubdomains createdBy lastUpdateMicros example.com Wrq9YDsieAMC3Y2DSY5Rcg https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/Wrq9YDsieAMC3Y2DSY5Rcg?ver=15.1.0 true GUI 2020-09-01T12:22:17Z qmasters.co.il tM6UhfuSaPYYRnUS6-k2vg https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/tM6UhfuSaPYYRnUS6-k2vg?ver=15.1.0 false GUI 2020-09-01T12:36:37Z cnn _3pBVxU6gHchLIdX_Tm4vQ https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/_3pBVxU6gHchLIdX_Tm4vQ?ver=15.1.0 false GUI 2020-08-05T21:09:06Z google.com HVkg9LRLJ6gCvXfE8FNvWg https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/HVkg9LRLJ6gCvXfE8FNvWg?ver=15.1.0 false GUI 2020-08-05T21:08:39Z
#
f5-asm-policy-hostnames-addAdds a new hostname to a policy.
#
Base Commandf5-asm-policy-hostnames-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
name | The hostname to add to the policy. | Required |
include_subdomains | Whether to include subdomains in the policy. Default is "false". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Hostname.name | String | The policy hostname. |
f5.Hostname.id | String | The policy ID. |
f5.Hostname.createdBy | String | The interface used to create the hostname. |
f5.Hostname.selfLink | String | The self link to the specific hostname. |
f5.Hostname.includeSubdomains | Boolean | Indicates whether to include subdomains. |
f5.Hostname.lastUpdateMicros | String | The datetime the hostname was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-hostnames-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA name=qmasters.co
#
Context Example#
Human Readable Output#
f5 data for adding policy hostname:
name id selfLink includeSubdomains createdBy lastUpdateMicros qmasters.co dsblcoDkMkFb_A_H6BS6eA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/dsblcoDkMkFb_A_H6BS6eA?ver=15.1.0 false GUI 2020-10-06T11:01:25Z
#
f5-asm-policy-hostnames-updateUpdates an existing policy hostname.
#
Base Commandf5-asm-policy-hostnames-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
hostname_id | ID of the hostname. ID or display name must be filled. Default is "None". | Optional |
hostname_name | Display name of the hostname. ID or display name must be filled. Default is "None". | Optional |
include_subdomains | Whether to include subdomains. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Hostname.name | String | The policy hostname. |
f5.Hostname.id | String | The policy ID. |
f5.Hostname.createdBy | String | The interface used to create the hostname. |
f5.Hostname.selfLink | String | The self link to the specific hostname. |
f5.Hostname.includeSubdomains | Boolean | Indicates whether subdomains are included. |
f5.Hostname.lastUpdateMicros | String | The datetime the hostname was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-hostnames-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA hostname_name=qmasters.co include_subdomains=true
#
Context Example#
Human Readable Output#
f5 data for updating hostname:
name id selfLink includeSubdomains createdBy lastUpdateMicros qmasters.co dsblcoDkMkFb_A_H6BS6eA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/dsblcoDkMkFb_A_H6BS6eA?ver=15.1.0 true GUI 2020-10-06T11:01:27Z
#
f5-asm-policy-hostnames-deleteDeletes a hostname from a policy.
#
Base Commandf5-asm-policy-hostnames-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
hostname_id | The ID of the hostname. The ID or display name must be filled. Default is "None". | Optional |
hostname_name | The display name of the hostname. The ID or display name must be filled. Default is "None". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Hostname.name | String | The policy hostname. |
f5.Hostname.id | String | The policy ID. |
f5.Hostname.createdBy | String | The interface used to create the hostname. |
f5.Hostname.selfLink | String | The self link to the specific hostname. |
f5.Hostname.includeSubdomains | Boolean | Whether to include subdomains. |
f5.Hostname.lastUpdateMicros | String | The datetime the hostname was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-hostnames-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA hostname_name=qmasters.co
#
Context Example#
Human Readable Output#
f5 data for deleting hostname:
name id selfLink includeSubdomains createdBy lastUpdateMicros qmasters.co dsblcoDkMkFb_A_H6BS6eA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/host-names/dsblcoDkMkFb_A_H6BS6eA?ver=15.1.0 true GUI 2020-10-06T11:01:27Z
#
f5-asm-policy-cookies-listLists all cookies of a given policy.
#
Base Commandf5-asm-policy-cookies-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Cookies.name | String | The name of the cookie. |
f5.Cookies.id | String | The ID of the cookie. |
f5.Cookies.selfLink | String | The self link to the specific cookie. |
f5.Cookies.enforcementType | String | The enforcement type of the cookie. |
f5.Cookies.performStaging | Boolean | Indicates whether the cookie should be staged. |
f5.Cookies.kind | String | The cookie type. |
f5.Cookies.isBase64 | Boolean | Indicates if the cookie is encoded in base64. |
f5.Cookies.createdBy | String | Indicates which user created this cookie. |
#
Command Example!f5-asm-policy-cookies-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 data for listing policy cookies:
name id type selfLink enforcementType attackSignaturesCheck isBase64 performStaging createdBy lastUpdateMicros not_mal 6qrK8k_J8uIbW-r9fgQiCw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/6qrK8k_J8uIbW-r9fgQiCw?ver=15.1.0 allow true false false GUI 2020-09-22T11:37:17Z chocolate w3iYXWKemaToYhPbDNXnDQ wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/w3iYXWKemaToYhPbDNXnDQ?ver=15.1.0 allow true false false GUI 2020-10-01T16:48:41Z yummy E1g7FVU2CYuY30F-Rp_MUw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/E1g7FVU2CYuY30F-Rp_MUw?ver=15.1.0 allow true false false GUI 2020-08-05T21:04:51Z yum HeC08NE594GztN6H7bTecA explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/HeC08NE594GztN6H7bTecA?ver=15.1.0 allow true false false GUI 2020-08-05T21:04:43Z * M4na42GvebBMnI5wV_YMxg wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/M4na42GvebBMnI5wV_YMxg?ver=15.1.0 allow true false false GUI 2020-08-23T10:24:10Z
#
f5-asm-policy-blocking-settings-listRetrieves a blocking-settings list from a selected policy.
#
Base Commandf5-asm-policy-blocking-settings-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
endpoint | Sub-path of the blocking- settings element. Possible values are: "violations", "evasions", "http-protocols", and "web-services-securities". | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.BlockingSettings.description | String | Description of the element. |
f5.BlockingSettings.learn | Boolean | Indicates whether the element is learning. |
f5.BlockingSettings.id | String | The element ID. |
f5.BlockingSettings.kind | String | The type of element. |
f5.BlockingSettings.enabled | Boolean | Whether the element is enabled. |
f5.BlockingSettings.selfLink | String | The self link to the specific element. |
f5.BlockingSettings.reference | String | Reference to the element. |
f5.BlockingSettings.lastUpdateMicros | String | The datetime the element was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
f5.BlockingSettings.section-reference | String | Section reference to the element. |
f5.BlockingSettings.alarm | Boolean | Whether the system records requests that trigger the violation. |
f5.BlockingSettings.block | Boolean | Whether the element blocks the request that triggers the violation. |
#
Command Example!f5-asm-policy-blocking-settings-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA endpoint=evasions
#
Context Example#
Human Readable Output#
Evasions for selected policy
id description enabled learn kind reference selfLink lastUpdateMicros 9--k-GSum4jUNSf0sU91Dw Bad unescape false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/9--k-GSum4jUNSf0sU91Dw?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/9--k-GSum4jUNSf0sU91Dw?ver=15.1.0 2020-08-16T10:18:55Z Ahu8fuILcRNNU-ICBr1v6w Apache whitespace false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/Ahu8fuILcRNNU-ICBr1v6w?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/Ahu8fuILcRNNU-ICBr1v6w?ver=15.1.0 2020-08-05T20:58:49Z EKfN2XD-E1z097tVwOO1nw Bare byte decoding false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/EKfN2XD-E1z097tVwOO1nw?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/EKfN2XD-E1z097tVwOO1nw?ver=15.1.0 2020-08-05T20:58:49Z dtxhHW66r8ZswIeccbXbXA IIS Unicode codepoints false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/dtxhHW66r8ZswIeccbXbXA?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/dtxhHW66r8ZswIeccbXbXA?ver=15.1.0 2020-08-05T20:58:49Z 6l0vHEYIIy4H06o9mY5RNQ IIS backslashes false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/6l0vHEYIIy4H06o9mY5RNQ?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/6l0vHEYIIy4H06o9mY5RNQ?ver=15.1.0 2020-08-05T20:58:49Z Y2TT8PSVtqudz407XG4LAQ %u decoding false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/Y2TT8PSVtqudz407XG4LAQ?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/Y2TT8PSVtqudz407XG4LAQ?ver=15.1.0 2020-08-05T20:58:49Z x02XsB6uJX5Eqp1brel7rw Multiple decoding false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/x02XsB6uJX5Eqp1brel7rw?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/x02XsB6uJX5Eqp1brel7rw?ver=15.1.0 2020-08-05T20:58:49Z qH_2eaLz5x2RgaZ7dUISLA Directory traversals false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/qH_2eaLz5x2RgaZ7dUISLA?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/qH_2eaLz5x2RgaZ7dUISLA?ver=15.1.0 2020-08-05T20:58:49Z
#
f5-asm-policy-blocking-settings-updateUpdates a blocking-settings element.
#
Base Commandf5-asm-policy-blocking-settings-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
endpoint | Sub-path of the blocking- settings element. Possible values are: "violations", "evasions", "http-protocols", and "web-services-securities". | Required |
description | Description (or name) of the element. | Required |
learn | Whether the element should learn. | Optional |
alarm | Whether the system records requests that trigger the violation. | Optional |
block | Whether the element blocks the request that triggers the violation. | Optional |
enabled | Whether the element should be enabled. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.BlockingSettings.description | String | The description of the element. |
f5.BlockingSettings.learn | Boolean | Whether the element is learning. |
f5.BlockingSettings.id | String | The ID of the element. |
f5.BlockingSettings.kind | String | The type of element. |
f5.BlockingSettings.enabled | Boolean | Whether the element is enabled. |
f5.BlockingSettings.selfLink | String | The self link to the specific element. |
f5.BlockingSettings.reference | String | The reference to the element. |
f5.BlockingSettings.lastUpdateMicros | String | The datetime the resource was last updated represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
f5.BlockingSettings.section-reference | String | The section reference to the element. |
f5.BlockingSettings.alarm | Boolean | Whether the system records requests that trigger the violation. |
f5.BlockingSettings.block | Boolean | Whether the element blocks the request that triggers the violation. |
#
Command Example!f5-asm-policy-blocking-settings-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA endpoint=evasions description="Bad unescape"
#
Context Example#
Human Readable Output#
Modified evasions
id description enabled learn kind reference selfLink lastUpdateMicros 9--k-GSum4jUNSf0sU91Dw Bad unescape false true tm:asm:policies:blocking-settings:evasions:evasionstate https://localhost/mgmt/tm/asm/sub-violations/evasions/9--k-GSum4jUNSf0sU91Dw?ver=15.1.0 https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/blocking-settings/evasions/9--k-GSum4jUNSf0sU91Dw?ver=15.1.0 2020-08-16T10:18:55Z
#
f5-asm-policy-urls-listLists all policy URLs.
#
Base Commandf5-asm-policy-urls-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Url.id | String | The ID of the URL. |
f5.Url.name | String | The name of the URL. |
f5.Url.description | String | A description of the URL. |
f5.Url.protocol | String | The protocol the URL uses. |
f5.Url.type | String | Whether the URL is explicit or a wildcard. |
f5.Url.method | String | The allowed method (or all methods) of the URL. |
f5.Url.isAllowed | Boolean | Whether the URL is allowed. |
f5.Url.clickjackingProtection | Boolean | Whether clickjacking protection is enabled in the URL. |
f5.Url.performStaging | Boolean | Indicates whether the URL should be staged. |
f5.Url.mandatoryBody | Boolean | Whether a request body is mandatory. |
f5.Url.selfLink | String | The self link to the URL in the API. |
f5.Url.lastUpdateMicros | String | The datetime the last update was committed to the URL represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-urls-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 data for listing policy url:
name id type protocol method selfLink mandatoryBody clickjackingProtection attackSignaturesCheck performStaging isAllowed createdBy lastUpdateMicros /http_example_2 h89DiM-YtWptqKb9c0egbA explicit http * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/h89DiM-YtWptqKb9c0egbA?ver=15.1.0 false false true false true GUI 2020-08-18T15:04:39Z /http_example q_O5IGzUqSmFYZhlkA1CpQ explicit http * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/q_O5IGzUqSmFYZhlkA1CpQ?ver=15.1.0 false false true false true GUI 2020-08-18T14:55:47Z /http_examplel 2lQ1Z3wue9pdEjZxE-L_ZQ explicit http * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/2lQ1Z3wue9pdEjZxE-L_ZQ?ver=15.1.0 false false true false true GUI 2020-08-11T17:06:05Z /http 6ER7SOq208zow5rraOzwyQ explicit http * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/6ER7SOq208zow5rraOzwyQ?ver=15.1.0 true false GUI 2020-08-11T14:00:44Z * faiefv884qtHRU3Qva2AbQ wildcard http * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/faiefv884qtHRU3Qva2AbQ?ver=15.1.0 false false true false true GUI 2020-08-20T15:24:11Z * N_a3D1S7OKDehYEPb-mgCg wildcard https * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/N_a3D1S7OKDehYEPb-mgCg?ver=15.1.0 false false true false true GUI 2020-08-20T15:24:11Z
#
f5-asm-policy-cookies-addAdds a new cookie to a specific policy.
#
Base Commandf5-asm-policy-cookies-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
new_cookie_name | The new cookie name to add. | Required |
perform_staging | Whether to stage the new cookie. Default is "false". | Optional |
parameter_type | Type of the new parameter. Possible values are: "explicit" and "wildcard". Default is "explicit". | Optional |
enforcement_type | The enforcement type. Possible values are: "allow" and "enforce". Default is "allow". | Optional |
attack_signatures_check | Whether attack signatures should be checked. Default is "true". If the enforcement type is set to "enforce", this field will not get any value. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Cookies.name | String | The name of the cookie. |
f5.Cookies.id | String | The ID of the cookie. |
f5.Cookies.selfLink | String | The self link to the specific cookie. |
f5.Cookies.enforcementType | String | The enforcement type. |
f5.Cookies.performStaging | Boolean | Indicates whether the cookie should be staged. |
f5.Cookies.type | String | The type of the cookie. |
f5.Cookies.isBase64 | Boolean | Indicates if the cookie is encoded in base64. |
f5.Cookies.createdBy | String | Indicates who created the cookie. |
#
Command Example!f5-asm-policy-cookies-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA new_cookie_name=new_cookie
#
Context Example#
Human Readable Output#
f5 data for adding policy cookie: new_cookie
name id type selfLink enforcementType isBase64 attackSignaturesCheck createdBy performStaging lastUpdateMicros new_cookie 7t_U2dbYEAQp89Wp0m_QoA explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/7t_U2dbYEAQp89Wp0m_QoA?ver=15.1.0 allow false true GUI false 2020-10-06T11:01:17Z
#
f5-asm-policy-urls-addAdds a new URL to a policy.
#
Base Commandf5-asm-policy-urls-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
protocol | The communication protocol. Possible values are: "http" and "https". | Required |
name | Display name of the new URL. | Required |
description | An optional description for the URL. | Optional |
url_type | The type of URL. Possible values are: "explicit" and "wildcard". | Optional |
is_allowed | Whether the URL is allowed. Default is "true". | Optional |
method | The method to use in the URL. | Optional |
clickjacking_protection | Whether clickjacking protection is enabled in the URL. | Optional |
perform_staging | Whether to stage the URL. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Url.id | String | The ID of the URL. |
f5.Url.name | String | The name of the URL. |
f5.Url.description | String | A description of the URL. |
f5.Url.protocol | String | The protocol the URL uses. |
f5.Url.type | String | Whether the URL is explicit or wildcard. |
f5.Url.method | String | The allowed method (or all) of the URL. |
f5.Url.isAllowed | Boolean | Whether the URL is allowed. |
f5.Url.clickjackingProtection | Boolean | Whether clickjacking protection is enabled in the URL. |
f5.Url.performStaging | Boolean | Indicates whether the URL should be staged. |
f5.Url.mandatoryBody | Boolean | Whether a request body is mandatory. |
f5.Url.selfLink | String | The self link to the specific URL in the API. |
f5.Url.lastUpdateMicros | String | The datetime the last update was committed to the URL represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-urls-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA protocol=https name=validation
#
Context Example#
Human Readable Output#
f5 data for adding policy url:
name id type protocol method selfLink clickjackingProtection attackSignaturesCheck createdBy performStaging isAllowed lastUpdateMicros /validation Q6tL31BrUl-vlY0yKsNSqA explicit https * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/Q6tL31BrUl-vlY0yKsNSqA?ver=15.1.0 false true GUI false true 2020-10-06T11:01:46Z
#
f5-asm-policy-urls-updateUpdates an existing policy URL.
#
Base Commandf5-asm-policy-urls-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
url_id | The ID of the URL. The ID or display name must be filled. Default is "None". | Optional |
url_name | The display name of the URL. The ID or display name must be filled. Default is "None". | Optional |
perform_staging | Whether to stage the URL. | Optional |
description | Optional new description for the URL. | Optional |
mandatory_body | Whether a body is mandatory. | Optional |
url_isreferrer | Whether the URL is a referrer. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Url.id | String | the ID of the URL. |
f5.Url.name | String | The name of the URL. |
f5.Url.description | String | A description of the URL. |
f5.Url.protocol | String | The protocol the URL uses. |
f5.Url.type | String | Whether the URL is explicit or wildcard. |
f5.Url.method | String | The allowed method (or all) of the URL. |
f5.Url.isAllowed | Boolean | Whether the URL is allowed. |
f5.Url.clickjackingProtection | Boolean | Whether clickjacking protection is enabled in the URL. |
f5.Url.performStaging | Boolean | Indicates whether the URL should be staged. |
f5.Url.mandatoryBody | Boolean | Whether a request body is mandatory. |
f5.Url.selfLink | String | The self link to the specific URL in the API. |
f5.Url.lastUpdateMicros | String | The datetime the last update was committed to the URL represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-urls-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA url_name=/validation
#
Context Example#
Human Readable Output#
f5 data for updating url:
name id type protocol method selfLink clickjackingProtection attackSignaturesCheck createdBy performStaging isAllowed lastUpdateMicros /validation Q6tL31BrUl-vlY0yKsNSqA explicit https * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/Q6tL31BrUl-vlY0yKsNSqA?ver=15.1.0 false true GUI false true 2020-10-06T11:01:46Z
#
f5-asm-policy-urls-deleteDeletes a URL from a policy.
#
Base Commandf5-asm-policy-urls-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
url_id | The ID of the URL. The ID or display name must be filled. Default is "None". | Optional |
url_name | The display name of the URL. The ID or display name must be filled. Default is "None". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Url.id | String | The ID of the URL. |
f5.Url.name | String | The name of the URL. |
f5.Url.description | String | A description of the URL. |
f5.Url.protocol | String | The protocol the URL uses. |
f5.Url.type | String | Whether the URL is explicit or wildcard. |
f5.Url.method | String | The allowed method (or all) of the URL. |
f5.Url.isAllowed | Boolean | Whether the URL is allowed. |
f5.Url.clickjackingProtection | Boolean | Whether clickjacking protection is enabled in the URL. |
f5.Url.performStaging | Boolean | Indicates whether the URL should be staged. |
f5.Url.mandatoryBody | Boolean | Whether a request body is mandatory. |
f5.Url.selfLink | String | The self link to the specific URL in the API. |
f5.Url.lastUpdateMicros | String | The datetime the last update was committed to the URL represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-urls-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA url_name=/validation
#
Context Example#
Human Readable Output#
f5 data for deleting url:
name id type protocol method selfLink clickjackingProtection attackSignaturesCheck createdBy performStaging isAllowed lastUpdateMicros /validation Q6tL31BrUl-vlY0yKsNSqA explicit https * https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/urls/Q6tL31BrUl-vlY0yKsNSqA?ver=15.1.0 false true GUI false true 2020-10-06T11:01:46Z
#
f5-asm-policy-cookies-updateUpdates a cookie object.
#
Base Commandf5-asm-policy-cookies-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
cookie_id | The ID of the cookie. The ID or display name must be filled. Default is "None". | Optional |
cookie_name | The display name of the cookie. The ID or display name must be filled. Default is "None". | Optional |
perform_staging | Whether to stage the updated cookie. Default is "false". | Optional |
parameter_type | The type of the new parameter. Possible values are: "wildcard" and "explicit". Default is "wildcard". | Optional |
enforcement_type | The enforcement type. Possible values are: "allow" and "enforce".Default is "allow". | Optional |
attack_signatures_check | Whether attack signatures should be checked. Default is "true". If the enforcement type is set to "enforce", this field will not get any value. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Cookies.name | String | The name of the cookie. |
f5.Cookies.id | String | The ID of the cookie. |
f5.Cookies.selfLink | String | The self link to the specific cookie. |
f5.Cookies.enforcementType | String | The enforcement type. |
f5.Cookies.performStaging | Boolean | Indicates whether the cookie should be staged. |
f5.Cookies.type | String | The type of the cookie. |
f5.Cookies.isBase64 | Boolean | Indicates if the cookie is encoded in base64. |
f5.Cookies.createdBy | String | Indicates who created the cookie. |
#
Command Example!f5-asm-policy-cookies-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA cookie_name=new_cookie
#
Context Example#
Human Readable Output#
f5 data for updating cookie: new_cookie
name id type selfLink enforcementType isBase64 attackSignaturesCheck createdBy performStaging lastUpdateMicros new_cookie 7t_U2dbYEAQp89Wp0m_QoA wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/7t_U2dbYEAQp89Wp0m_QoA?ver=15.1.0 allow false true GUI false 2020-10-06T11:01:18Z
#
f5-asm-policy-cookies-deleteDeletes a cookie.
#
Base Commandf5-asm-policy-cookies-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
cookie_id | The ID of the cookie. The ID or display name must be filled. Default is "None". | Optional |
cookie_name | The display name of the cookie. The ID or display name must be filled. Default is "None". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Cookies.name | String | The name of the cookie. |
f5.Cookies.id | String | The ID of the cookie. |
f5.Cookies.selfLink | String | The self link to the specific cookie. |
f5.Cookies.enforcementType | String | The enforcement type. |
f5.Cookies.performStaging | Boolean | Indicates whether the cookie should be staged. |
f5.Cookies.type | String | The type of the cookie. |
f5.Cookies.isBase64 | Boolean | Indicates if the cookie is encoded in base64. |
f5.Cookies.createdBy | String | Indicates who created the cookie. |
#
Command Example!f5-asm-policy-cookies-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA cookie_name=new_cookie
#
Context Example#
Human Readable Output#
f5 data for deleting cookie:
name id type selfLink enforcementType isBase64 attackSignaturesCheck createdBy performStaging lastUpdateMicros new_cookie 7t_U2dbYEAQp89Wp0m_QoA wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/cookies/7t_U2dbYEAQp89Wp0m_QoA?ver=15.1.0 allow false true GUI false 2020-10-06T11:01:18Z
#
f5-asm-policy-whitelist-ips-listLists all IP address on allow list for a policy.
#
Base Commandf5-asm-policy-whitelist-ips-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.WhitelistIP.id | String | The ID of the IP address on allow list. |
f5.WhitelistIP.ipAddress | String | The IP address on allow list. |
f5.WhitelistIP.ipMask | String | The subnet mask of the IP address on allow list. |
f5.WhitelistIP.description | String | The description for the IP address on allow list. |
f5.WhitelistIP.blockRequests | String | How or if the IP blocks requests. |
f5.WhitelistIP.ignoreAnomalies | Boolean | Whether to ignore anomalies. |
f5.WhitelistIP.neverLogRequests | Boolean | Whether to never log requests. |
f5.WhitelistIP.neverLearnRequests | Boolean | Whether to never learn requests. |
f5.WhitelistIP.trustedByPolicyBuilder | Boolean | Whether the IP is trusted by the builder. |
f5.WhitelistIP.selfLink | String | The self link to the specific IP address on allow list. |
f5.WhitelistIP.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-whitelist-ips-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 list of all whitelist IPs:
id selfLink ipAddress ipMask blockRequests ignoreAnomalies neverLogRequests neverLearnRequests trustedByPolicyBuilder lastUpdateMicros 4CuqTmGkqfI01diFbc2PJQ https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/4CuqTmGkqfI01diFbc2PJQ?ver=15.1.0 100.100.100.100 255.255.255.255 policy-default false false false false 2020-08-05T21:13:09Z lbpOAL2E2f2C7qp7kiV3OA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/lbpOAL2E2f2C7qp7kiV3OA?ver=15.1.0 20.20.20.20 255.255.255.255 policy-default false false false false 2020-08-05T21:13:38Z Uey6PzyJhbb6Qm-w0RD__Q https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/Uey6PzyJhbb6Qm-w0RD__Q?ver=15.1.0 30.30.30.30 255.255.255.255 policy-default false false false false 2020-08-05T21:13:48Z 9lSC2hzsLvpsEgSTEpi4yw https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/9lSC2hzsLvpsEgSTEpi4yw?ver=15.1.0 11.22.33.44 255.255.255.255 policy-default false false false false 2020-08-09T15:15:56Z F2ZRy81hCYIAnYolA0fqzg https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/F2ZRy81hCYIAnYolA0fqzg?ver=15.1.0 1.2.3.44 255.255.255.255 policy-default false true false false 2020-08-11T14:32:19Z 6fatQ08fMtHzcywc4gQDJA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/6fatQ08fMtHzcywc4gQDJA?ver=15.1.0 1.2.3.144 255.255.255.255 policy-default false false true true 2020-08-11T14:31:24Z
#
f5-asm-policy-whitelist-ips-addAdds a new IP address on allow list to a policy.
#
Base Commandf5-asm-policy-whitelist-ips-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
ip_address | The new IP address. | Required |
ip_mask | Subnet mask for the new IP address. | Optional |
trusted_by_builder | Whether the IP address is trusted by the policy builder. | Optional |
ignore_brute_detection | Whether to ignore detections of brute force. | Optional |
description | Optional description for the new IP address. | Optional |
block_requests | The method of blocking requests. Possible values are: "policy-default", "never", and "always". Default is "policy-default". | Optional |
ignore_learning | Whether to ignore learning suggestions. | Optional |
never_log | Whether to never log from the IP address. | Optional |
ignore_intelligence | Whether to ignore intelligence gathered on the IP address. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.WhitelistIP.id | String | ID of the IP address on allow list. |
f5.WhitelistIP.ipAddress | String | The IP address on allow list. |
f5.WhitelistIP.ipMask | String | The subnet mask of the IP address on allow list. |
f5.WhitelistIP.description | String | A description for the IP address on allow list. |
f5.WhitelistIP.blockRequests | String | How or if the IP blocks requests. |
f5.WhitelistIP.ignoreAnomalies | Boolean | Whether to ignore anomalies. |
f5.WhitelistIP.neverLogRequests | Boolean | Whether to never log requests. |
f5.WhitelistIP.neverLearnRequests | Boolean | Whether to never learn requests. |
f5.WhitelistIP.trustedByPolicyBuilder | Boolean | Whether the IP address is trusted by the builder. |
f5.WhitelistIP.selfLink | String | The self link to the specific IP address on allow list. |
f5.WhitelistIP.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-whitelist-ips-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA ip_address=1.2.3.4
#
Context Example#
Human Readable Output#
f5 data for listing whitelist IP:
id selfLink ipAddress ipMask blockRequests ignoreAnomalies neverLogRequests neverLearnRequests trustedByPolicyBuilder lastUpdateMicros pwbUREF-1u-BDw9MrdisOA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/pwbUREF-1u-BDw9MrdisOA?ver=15.1.0 1.2.3.4 255.255.255.255 policy-default false false false false 2020-10-06T11:01:54Z
#
f5-asm-policy-whitelist-ips-updateUpdates an existing IP address on allow list.
#
Base Commandf5-asm-policy-whitelist-ips-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
ip_id | The ID of the IP address. The ID or display name must be filled. Default is "None". | Optional |
ip_address | IP address | Required |
trusted_by_builder | Whether the IP address is trusted by the policy builder. The ID or display name must be filled. | Optional |
ignore_brute_detection | Whether to ignore detections of brute force. | Optional |
description | Optional description for the new IP address. | Optional |
block_requests | The method of blocking requests. Possible values are: "policy-default", "never", and "always". Default is "policy-default". | Optional |
ignore_learning | Whether to ignore learning suggestions. | Optional |
never_log | Whether to never log from the IP address. | Optional |
ignore_intelligence | Whether to ignore intelligence gathered on the IP address. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.WhitelistIP.id | String | The ID of the IP address on allow list. |
f5.WhitelistIP.ipAddress | String | The IP address on allow list. |
f5.WhitelistIP.ipMask | String | The subnet mask of the IP address on allow list. |
f5.WhitelistIP.description | String | A description for the IP address on allow list. |
f5.WhitelistIP.blockRequests | String | How or if the IP address blocks requests. |
f5.WhitelistIP.ignoreAnomalies | Boolean | Whether to ignore anomalies. |
f5.WhitelistIP.neverLogRequests | Boolean | Whether to never log requests. |
f5.WhitelistIP.neverLearnRequests | Boolean | Whether to never learn requests. |
f5.WhitelistIP.trustedByPolicyBuilder | Boolean | Whether the IP address is trusted by the builder. |
f5.WhitelistIP.selfLink | String | The self link to the specific IP address on allow list. |
f5.WhitelistIP.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-whitelist-ips-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA ip_address=1.2.3.4
#
Context Example#
Human Readable Output#
f5 data for listing whitelist IP:
id selfLink ipAddress ipMask blockRequests ignoreAnomalies neverLogRequests neverLearnRequests trustedByPolicyBuilder lastUpdateMicros pwbUREF-1u-BDw9MrdisOA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/pwbUREF-1u-BDw9MrdisOA?ver=15.1.0 1.2.3.4 255.255.255.255 policy-default false false false false 2020-10-06T11:01:54Z
#
f5-asm-policy-whitelist-ips-deleteDeletes an existing IP address on allow list from a policy.
#
Base Commandf5-asm-policy-whitelist-ips-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
ip_id | The ID of the IP address. The ID or display name must be filled. Default is "None". | Optional |
ip_address | IP address | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.WhitelistIP.id | String | The ID of the IP address on allow list. |
f5.WhitelistIP.ipAddress | String | The IP address on allow list. |
f5.WhitelistIP.ipMask | String | The subnet mask of the IP address on allow list. |
f5.WhitelistIP.description | String | A description for the IP address on allow list. |
f5.WhitelistIP.blockRequests | String | How or if the IP address blocks requests. |
f5.WhitelistIP.ignoreAnomalies | Boolean | Whether to ignore anomalies. |
f5.WhitelistIP.neverLogRequests | Boolean | Whether to never log requests. |
f5.WhitelistIP.neverLearnRequests | Boolean | Whether to never learn requests. |
f5.WhitelistIP.trustedByPolicyBuilder | Boolean | Whether the IP address is trusted by the builder. |
f5.WhitelistIP.selfLink | String | The self link to the specific IP address on allow list. |
f5.WhitelistIP.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-whitelist-ips-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA ip_address=1.2.3.4
#
Context Example#
Human Readable Output#
f5 data for listing whitelist IP:
id selfLink ipAddress ipMask blockRequests ignoreAnomalies neverLogRequests neverLearnRequests trustedByPolicyBuilder lastUpdateMicros pwbUREF-1u-BDw9MrdisOA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/whitelist-ips/pwbUREF-1u-BDw9MrdisOA?ver=15.1.0 1.2.3.4 255.255.255.255 policy-default false false false false 2020-10-06T11:01:54Z
#
f5-asm-policy-signatures-listLists all signatures for a specified policy.
#
Base Commandf5-asm-policy-signatures-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Signatures.id | String | The ID of the signature. |
f5.Signatures.selfLink | String | The self link to the specific signature. |
f5.Signatures.performStaging | Boolean | Indicates whether the signature should be staged. |
f5.Signatures.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example
#
Human Readable Output#
f5-asm-policy-parameters-listLists all policy parameters.
#
Base Commandf5-asm-policy-parameters-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Parameter.id | String | The ID of the parameter. |
f5.Parameter.name | String | The display name of the parameter. |
f5.Parameter.type | String | The type of parameter (explicit / wildcard). |
f5.Parameter.selfLink | String | The self link to the specific parameter. |
f5.Parameter.isBase64 | Boolean | Indicates if the parameter is encoded in base64. |
f5.Parameter.performStaging | Boolean | Indicates whether the parameter should be staged. |
f5.Parameter.dataType | String | The type of data given in the parameter. |
f5.Parameter.valueType | String | The type of values given in the parameter. |
f5.Parameter.mandatory | Boolean | Whether the parameter is mandatory. |
f5.Parameter.isCookie | Boolean | Whether the parameter is located in the cookie. |
f5.Parameter.isHeader | Boolean | Whether the parameter is located in the header. |
f5.Parameter.createdBy | String | Indicates who created the parameter. |
f5.Parameter.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-parameters-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 list of all parameters:
name id type selfLink attackSignaturesCheck isBase64 dataType valueType isCookie isHeader performStaging createdBy lastUpdateMicros new_parameter lyM6dyIqaEw9oARv5V8cKg wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/parameters/lyM6dyIqaEw9oARv5V8cKg?ver=15.1.0 true false alpha-numeric user-input false false false GUI 2020-09-22T14:37:17Z * N_a3D1S7OKDehYEPb-mgCg wildcard https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/parameters/N_a3D1S7OKDehYEPb-mgCg?ver=15.1.0 true false alpha-numeric user-input false false false GUI 2020-08-23T10:24:11Z
#
f5-asm-policy-parameters-addAdds a new parameter to a policy.
#
Base Commandf5-asm-policy-parameters-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
param_type | The type of the new parameter. Possible values are: "wildcard" and "explicit". | Optional |
name | The display name of the new parameter. | Required |
value_type | The type of value passed to the parameter. Possible values are: "user-input", "json", "static-content", "auto-detect", and "xml". | Optional |
param_location | The location of the parameter. Possible values are: "any", "query", "form-data", "path", "header", and "cookie". | Optional |
mandatory | Whether the parameter is mandatory. | Optional |
perform_staging | Whether to stage the parameter. | Optional |
sensitive | Whether the parameter is sensitive. (Whether values should be masked in logs.) | Optional |
allow_empty | Whether the parameter allows empty values. | Optional |
allow_repeated | Whether the parameter allows repeated values. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Parameter.id | String | The ID of the parameter. |
f5.Parameter.name | String | The display name of the parameter. |
f5.Parameter.type | String | The type of parameter (explicit / wildcard). |
f5.Parameter.selfLink | String | The self link to the specific parameter. |
f5.Parameter.isBase64 | Boolean | Indicates if the parameter is encoded in base64. |
f5.Parameter.performStaging | Boolean | Indicates whether the parameter should be staged. |
f5.Parameter.dataType | String | The type of data given in the parameter. |
f5.Parameter.valueType | String | The type of values given in the parameter. |
f5.Parameter.mandatory | Boolean | Whether the parameter is mandatory. |
f5.Parameter.isCookie | Boolean | Whether the parameter is located in the cookie. |
f5.Parameter.isHeader | Boolean | Whether the parameter is located in the header. |
f5.Parameter.createdBy | String | Indicates who created the parameter. |
f5.Parameter.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-parameters-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA name=test_policy_parameter
#
Context Example#
Human Readable Output#
f5 data for adding parameter:
name id type selfLink isBase64 dataType attackSignaturesCheck isBase64 valueType mandatory isCookie isHeader createdBy performStaging createdBy lastUpdateMicros test_policy_parameter Wm_Vq93ZrYML8FfDJqGSIw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/parameters/Wm_Vq93ZrYML8FfDJqGSIw?ver=15.1.0 false alpha-numeric true false user-input false false false GUI false GUI 2020-10-06T11:02:03Z
#
f5-asm-policy-parameters-updateUpdates an existing policy parameter.
#
Base Commandf5-asm-policy-parameters-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
parameter_id | The ID of the parameter. The ID or display name must be filled. Default is "None". | Optional |
parameter_name | The display name of the parameter. The ID or display name must be filled. | Required |
value_type | The type of value passed to the parameter. Possible values are: "user-input", "array", "dynamic", "ignore", "json", "static", "auto", and "xml". | Optional |
param_location | The location of the parameter. Possible values are: "any", "query", "form-data", "path", "header", and "cookie". | Optional |
mandatory | Whether the parameter is mandatory. | Optional |
perform_staging | Whether to stage the parameter. | Optional |
sensitive | Whether the parameter is sensitive. (Whether values should be masked in logs.) | Optional |
allow_empty | Whether the parameter allows empty values. | Optional |
allow_repeated | Whether the parameter allows repeated values. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Parameter.id | String | The ID of the parameter. |
f5.Parameter.name | String | The display name of the parameter. |
f5.Parameter.type | String | The type of parameter (explicit / wildcard). |
f5.Parameter.selfLink | String | The self link to the specific parameter. |
f5.Parameter.isBase64 | Boolean | Indicates if the parameter is encoded in base64. |
f5.Parameter.performStaging | Boolean | Indicates whether the parameter should be staged. |
f5.Parameter.dataType | String | The type of data given in the parameter. |
f5.Parameter.valueType | String | The type of values given in the parameter. |
f5.Parameter.mandatory | Boolean | Whether the parameter is mandatory. |
f5.Parameter.isCookie | Boolean | Whether the parameter is located in the cookie. |
f5.Parameter.isHeader | Boolean | Whether the parameter is located in the header. |
f5.Parameter.createdBy | String | Indicates who created the parameter. |
f5.Parameter.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-parameters-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA parameter_name=test_policy_parameter
#
Context Example#
Human Readable Output#
f5 data for updating parameter:
name id type selfLink isBase64 dataType attackSignaturesCheck isBase64 valueType mandatory isCookie isHeader createdBy performStaging createdBy lastUpdateMicros test_policy_parameter Wm_Vq93ZrYML8FfDJqGSIw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/parameters/Wm_Vq93ZrYML8FfDJqGSIw?ver=15.1.0 false alpha-numeric true false user-input false false false GUI false GUI 2020-10-06T11:02:03Z
#
f5-asm-policy-parameters-deleteDeletes an existing policy parameter.
#
Base Commandf5-asm-policy-parameters-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
parameter_id | The ID of the parameter. The ID or display name must be filled. Default is "None". | Optional |
parameter_name | The display name of the parameter. ID or display name must be filled. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Parameter.id | String | The ID of the parameter. |
f5.Parameter.name | String | The display name of the parameter. |
f5.Parameter.type | String | The type of parameter (explicit / wildcard). |
f5.Parameter.selfLink | String | The self link to the specific parameter. |
f5.Parameter.isBase64 | Boolean | Indicates if the parameter is encoded in base64. |
f5.Parameter.performStaging | Boolean | Indicates whether the parameter should be staged. |
f5.Parameter.dataType | String | The type of data given in the parameter. |
f5.Parameter.valueType | String | The type of values given in the parameter. |
f5.Parameter.mandatory | Boolean | Whether the parameter is mandatory. |
f5.Parameter.isCookie | Boolean | Whether the parameter is located in the cookie. |
f5.Parameter.isHeader | Boolean | Whether the parameter is located in the header. |
f5.Parameter.createdBy | String | Indicates who created the parameter. |
f5.Parameter.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-parameters-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA parameter_name=test_policy_parameter
#
Context Example#
Human Readable Output#
f5 data for deleting parameter:
name id type selfLink isBase64 dataType attackSignaturesCheck isBase64 valueType mandatory isCookie isHeader createdBy performStaging createdBy lastUpdateMicros test_policy_parameter Wm_Vq93ZrYML8FfDJqGSIw explicit https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/parameters/Wm_Vq93ZrYML8FfDJqGSIw?ver=15.1.0 false alpha-numeric true false user-input false false false GUI false GUI 2020-10-06T11:02:03Z
#
f5-asm-policy-gwt-profiles-listLists all GWT profiles in a policy.
#
Base Commandf5-asm-policy-gwt-profiles-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.GWTProfile.id | String | The ID of the GWT profile. |
f5.GWTProfile.name | String | The display name of the GWT profile. |
f5.GWTProfile.description | String | A description of the GWT profile. |
f5.GWTProfile.isDefault | Boolean | Whether the GWT profile is the default profile. |
f5.GWTProfile.attackSignaturesCheck | Boolean | Whether the GWT profile should check for attack signatures. |
f5.GWTProfile.isReferenced | Boolean | Whether the GWT profile is referenced. |
f5.GWTProfile.metacharElementCheck | Boolean | Whether the GWT profile should check for metachar elements. |
#
Command Example!f5-asm-policy-gwt-profiles-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 list of all GWT Profiles:
name id selfLink description attackSignaturesCheck metacharElementCheck lastUpdateMicros Default pKOP2_h7ezXmyZ-mE3cPnw https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/gwt-profiles/pKOP2_h7ezXmyZ-mE3cPnw?ver=15.1.0 Default GWT Profile true true 2020-08-05T20:58:49Z
#
f5-asm-policy-gwt-profiles-addAdds a new GWT profile to a policy.
#
Base Commandf5-asm-policy-gwt-profiles-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
name | The display name of the profile. | Required |
description | Optional description for the profile. | Optional |
maximum_value_len | The maximum length for a value in the profile. Default is "any". | Optional |
maximum_total_len | The maximum length of all GWT data. Default is "any". | Optional |
tolerate_parsing_warnings | Whether the profile should tolerate parsing warnings. | Optional |
check_signatures | Whether the profile should check for attack signatures. | Optional |
check_metachars | Whether the profile should check for metachar elements. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.GWTProfile.id | String | The ID of the GWT profile. |
f5.GWTProfile.name | String | The display name of the GWT profile. |
f5.GWTProfile.description | String | A description of the GWT profile. |
f5.GWTProfile.isDefault | Boolean | Whether the GWT profile is the default profile. |
f5.GWTProfile.attackSignaturesCheck | Boolean | Whether the GWT profile should check for attack signatures. |
f5.GWTProfile.isReferenced | Boolean | Whether the GWT profile is referenced. |
f5.GWTProfile.metacharElementCheck | Boolean | Whether the GWT profile should check for metachar elements. |
#
Command Example!f5-asm-policy-gwt-profiles-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA name=test_gwt_profile
#
Context Example#
Human Readable Output#
f5 data for adding GWT profile:
name id selfLink attackSignaturesCheck metacharElementCheck lastUpdateMicros test_gwt_profile R8SpevWA8hLFJ7dH2u6NqQ https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/gwt-profiles/R8SpevWA8hLFJ7dH2u6NqQ?ver=15.1.0 true false 2020-10-06T11:02:12Z
#
f5-asm-policy-gwt-profiles-updateUpdates an existing GWT profile
#
Base Commandf5-asm-policy-gwt-profiles-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
gwt_profile_id | The ID of the GWT profile. The ID or display name must be filled. Default is "None". | Optional |
gwt_profile_name | The display name of the GWT profile. The ID or display name must be filled. | Required |
description | Optional description for the profile. | Optional |
maximum_value_len | The maximum length for a value in the profile. Default is "any". | Optional |
maximum_total_len | The maximum length of all GWT data. Default is "any". | Optional |
tolerate_parsing_warnings | Whether to tolerate parsing warnings. | Optional |
check_signatures | Whether the profile should check for attack signatures. | Optional |
check_metachars | Whether the profile should check for metachar elements. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.GWTProfile.id | String | The ID of the GWT profile. |
f5.GWTProfile.name | String | The display name of the GWT profile. |
f5.GWTProfile.description | String | A description of the GWT profile. |
f5.GWTProfile.isDefault | Boolean | Whether the GWT profile is the default profile. |
f5.GWTProfile.attackSignaturesCheck | Boolean | Whether the GWT profile should check for attack signatures. |
f5.GWTProfile.isReferenced | Boolean | Whether the GWT profile is referenced. |
f5.GWTProfile.metacharElementCheck | Boolean | Whether the GWT profile should check for metachar elements. |
#
Command Example!f5-asm-policy-gwt-profiles-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA gwt_profile_name=test_gwt_profile
#
Context Example#
Human Readable Output#
f5 data for updating GWT profile:
name id selfLink attackSignaturesCheck metacharElementCheck lastUpdateMicros test_gwt_profile R8SpevWA8hLFJ7dH2u6NqQ https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/gwt-profiles/R8SpevWA8hLFJ7dH2u6NqQ?ver=15.1.0 true false 2020-10-06T11:02:12Z
#
f5-asm-policy-gwt-profiles-deleteDeletes an existing GWT profile.
#
Base Commandf5-asm-policy-gwt-profiles-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
gwt_profile_id | The ID of the GWT profile. The ID or display name must be filled. Default is "None". | Optional |
gwt_profile_name | The display name of the GWT profile. The ID or display name must be filled. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.GWTProfile.id | String | The ID of the GWT profile. |
f5.GWTProfile.name | String | The display name of the GWT profile. |
f5.GWTProfile.description | String | A description of the GWT profile. |
f5.GWTProfile.isDefault | Boolean | Whether the GWT profile is the default profile. |
f5.GWTProfile.attackSignaturesCheck | Boolean | Whether the GWT profile should check for attack signatures. |
f5.GWTProfile.isReferenced | Boolean | Whether the GWT profile is referenced. |
f5.GWTProfile.metacharElementCheck | Boolean | Whether the GWT profile should check for metachar elements. |
#
Command Example!f5-asm-policy-gwt-profiles-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA gwt_profile_name=test_gwt_profile
#
Context Example#
Human Readable Output#
f5 data for deleting GWT profile:
name id selfLink attackSignaturesCheck metacharElementCheck lastUpdateMicros test_gwt_profile R8SpevWA8hLFJ7dH2u6NqQ https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/gwt-profiles/R8SpevWA8hLFJ7dH2u6NqQ?ver=15.1.0 true false 2020-10-06T11:02:12Z
#
f5-asm-policy-json-profiles-listLists all JSON profiles in a policy.
#
Base Commandf5-asm-policy-json-profiles-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.JSONProfile.id | String | The ID of JSON profile. |
f5.JSONProfile.name | String | The display name of the JSON profile. |
f5.JSONProfile.description | String | A description of he JSON profile. |
f5.JSONProfile.isDefault | Boolean | Whether the JSON profile is the default profile. |
f5.JSONProfile.attackSignaturesCheck | Boolean | Whether the JSON profile should check for attack signatures. |
f5.JSONProfile.isReferenced | Boolean | Whether the JSON profile is referenced. |
f5.JSONProfile.metacharElementCheck | Boolean | Whether the JSON profile should check for metachar elements. |
f5.JSONProfile.hasValidationFiles | Boolean | Whether the JSON profile has validation files. |
f5.JSONProfile.selfLink | String | The self link to the specific profile. |
f5.JSONProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-json-profiles-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 list of all JSON Profiles:
name id selfLink description hasValidationFiles lastUpdateMicros Default X8FbXF48VWJ5Tecp5ATd4A https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/json-profiles/X8FbXF48VWJ5Tecp5ATd4A?ver=15.1.0 Default JSON Profile false 2020-08-05T20:58:49Z
#
f5-asm-policy-json-profiles-addAdds a new JSON profile to a policy.
#
Base Commandf5-asm-policy-json-profiles-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
name | The display name of the new profile. | Required |
description | Optional description for the JSON profile. | Optional |
maximum_total_len | The maximum total length of the JSON data. Default is "any". | Optional |
maximum_value_len | The maximum length for a single value. Default is "any". | Optional |
max_structure_depth | The maximum structure depth. Default is "any". | Optional |
max_array_len | The maximum JSON array length. Default is "any". | Optional |
tolerate_parsing_warnings | Whether the profile should tolerate JSON parsing warnings. | Optional |
parse_parameters | Whether the profile should handle JSON values as parameters. | Optional |
check_signatures | Whether the profile should check for attack signatures. | Optional |
check_metachars | Whether the profile should check for metachar elements. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.JSONProfile.id | String | The ID of the JSON profile. |
f5.JSONProfile.name | String | The display name of the JSON profile. |
f5.JSONProfile.description | String | A description of the JSON profile. |
f5.JSONProfile.isDefault | Boolean | Whether the JSON profile is the default profile. |
f5.JSONProfile.attackSignaturesCheck | Boolean | Whether the JSON profile should check for attack signatures. |
f5.JSONProfile.isReferenced | Boolean | Whether the JSON profile is referenced. |
f5.JSONProfile.metacharElementCheck | Boolean | Whether the JSON profile should check for metachar elements. |
f5.JSONProfile.hasValidationFiles | Boolean | Whether the JSON profile has validation files. |
f5.JSONProfile.selfLink | String | The self link to the specific profile. |
f5.JSONProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-json-profiles-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA name=test_json_profile
#
Context Example#
Human Readable Output#
f5 data for adding JSON profile:
name id selfLink hasValidationFiles lastUpdateMicros test_json_profile Mv3RpN8obPoe5IW-wdcdzA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/json-profiles/Mv3RpN8obPoe5IW-wdcdzA?ver=15.1.0 false 2020-10-06T11:02:22Z
#
f5-asm-policy-json-profiles-updateUpdates an existing JSON profile.
#
Base Commandf5-asm-policy-json-profiles-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
json_id | The ID of the JSON profile. The ID or display name must be filled. Default is "None". | Optional |
json_name | The display name of the JSON profile. The ID or display name must be filled. | Required |
description | Optional description for the JSON profile | Optional |
maximum_total_len | The maximum total length of JSON data. Default is "any". | Optional |
maximum_value_len | The maximum length for a single value. Default is "any". | Optional |
max_structure_depth | The maximum structure depth. Default is "any". | Optional |
max_array_len | The maximum JSON array length. Default is "any". | Optional |
tolerate_parsing_warnings | Whether the profile should tolerate JSON parsing warnings. | Optional |
parse_parameters | Whether the profile should handle JSON values as parameters. | Optional |
check_signatures | Whether the profile should check for attack signatures. | Optional |
check_metachars | Whether the profile should check for metachar elements. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.JSONProfile.id | String | The ID of the JSON profile. |
f5.JSONProfile.name | String | The display name of the JSON profile. |
f5.JSONProfile.description | String | A description of the JSON profile. |
f5.JSONProfile.isDefault | Boolean | Whether the JSON profile is the default profile. |
f5.JSONProfile.attackSignaturesCheck | Boolean | Whether the JSON profile should check for attack signatures. |
f5.JSONProfile.isReferenced | Boolean | Whether the JSON profile is referenced. |
f5.JSONProfile.metacharElementCheck | Boolean | Whether the JSON profile should check for metachar elements. |
f5.JSONProfile.hasValidationFiles | Boolean | Whether the JSON profile has validation files. |
f5.JSONProfile.selfLink | String | The self link to the specific profile. |
f5.JSONProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-json-profiles-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA json_name=test_json_profile
#
Context Example#
Human Readable Output#
f5 data for updating JSON profile:
name id selfLink description hasValidationFiles lastUpdateMicros test_json_profile Mv3RpN8obPoe5IW-wdcdzA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/json-profiles/Mv3RpN8obPoe5IW-wdcdzA?ver=15.1.0 any false 2020-10-06T11:02:24Z
#
f5-asm-policy-json-profiles-deleteDeletes an existing JSON profile from a policy
#
Base Commandf5-asm-policy-json-profiles-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
json_id | The ID of the JSON profile. The ID or display name must be filled. Default is "None". | Optional |
json_name | The display name of the JSON profile. The ID or display name must be filled. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.JSONProfile.id | String | The ID of the JSON profile. |
f5.JSONProfile.name | String | The display name of the JSON profile. |
f5.JSONProfile.description | String | A description of the JSON profile. |
f5.JSONProfile.isDefault | Boolean | Whether the JSON profile is the default profile. |
f5.JSONProfile.attackSignaturesCheck | Boolean | Whether the JSON profile should check for attack signatures. |
f5.JSONProfile.isReferenced | Boolean | Whether the JSON profile is referenced. |
f5.JSONProfile.metacharElementCheck | Boolean | Whether the JSON profile should check for metachar elements. |
f5.JSONProfile.hasValidationFiles | Boolean | Whether the JSON profile has validation files. |
f5.JSONProfile.selfLink | String | The self link to the specific profile. |
f5.JSONProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-json-profiles-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA json_name=test_json_profile
#
Context Example#
Human Readable Output#
f5 data for deleting JSON profile:
name id selfLink description hasValidationFiles lastUpdateMicros test_json_profile Mv3RpN8obPoe5IW-wdcdzA https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/json-profiles/Mv3RpN8obPoe5IW-wdcdzA?ver=15.1.0 any false 2020-10-06T11:02:24Z
#
f5-asm-policy-xml-profiles-listLists all XML profiles in a policy.
#
Base Commandf5-asm-policy-xml-profiles-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.XMLProfile.id | String | The ID of the XML profile |
f5.XMLProfile.name | String | The display name of the XML profile. |
f5.XMLProfile.description | String | A description of the XML profile. |
f5.XMLProfile.isDefault | Boolean | Whether the XML profile is the default profile. |
f5.XMLProfile.attackSignaturesCheck | Boolean | Whether the XML profile should check for attack signatures. |
f5.XMLProfile.followSchemaLinks | Boolean | Whether the profile should follow schema links. |
f5.XMLProfile.metacharElementCheck | Boolean | Whether the XML profile should check for metachar elements. |
f5.XMLProfile.metacharAttributeCheck | Boolean | Whether the profile should check for metachar attributes. |
f5.XMLProfile.isReferenced | Boolean | Whether the XML profile is referenced. |
f5.XMLProfile.enableWSS | Boolean | Whether the web service security should be enabled. |
f5.XMLProfile.hasValidationFiles | Boolean | Whether the XML profile has validation files. |
f5.XMLProfile.selfLink | String | The self link to the specific profile. |
f5.XMLProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-xml-profiles-list policy_md5=kpD2qFaUlGAbw8RhN5IFQA
#
Context Example#
Human Readable Output#
f5 list of all XML Profiles:
name id selfLink description attackSignaturesCheck metacharElementCheck followSchemaLinks lastUpdateMicros new_xml_profile 8pDEkwo33PlYf2EbTpt-3g https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/xml-profiles/8pDEkwo33PlYf2EbTpt-3g?ver=15.1.0 true false true 2020-09-08T17:36:48Z Default jwQd_XYZPfNGYnc3l7P4Pg https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/xml-profiles/jwQd_XYZPfNGYnc3l7P4Pg?ver=15.1.0 Default XML Profile true false false 2020-08-05T20:58:51Z
#
f5-asm-policy-xml-profiles-addAdds a new XML profile to a policy.
#
Base Commandf5-asm-policy-xml-profiles-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
name | The display name of the profile to add. | Required |
description | Optional description for the profile. | Optional |
check_signatures | Whether the profile should check for attack signatures. | Optional |
check_metachar_elements | Whether to check for metachar elements. | Optional |
check_metachar_attributes | Whether to check for metachar attributes. | Optional |
enable_wss | Whether to enable web services securities. | Optional |
inspect_soap | Whether to inspect SOAP attachments. | Optional |
follow_links | Whether to follow schema links. | Optional |
use_xml_response | Whether to use the XML response page. | Optional |
allow_cdata | Whether to allow CDATA. | Optional |
allow_dtds | Whether to allow DTDs. | Optional |
allow_external_ref | Whether to allow external references. | Optional |
allow_processing_instructions | Whether to allow processing instructions. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.XMLProfile.id | String | The ID of the XML profile. |
f5.XMLProfile.name | String | The display name of the XML profile. |
f5.XMLProfile.description | String | A description of the XML profile. |
f5.XMLProfile.isDefault | Boolean | Whether the XML profile is the default profile. |
f5.XMLProfile.attackSignaturesCheck | Boolean | Whether the XML profile should check for attack signatures. |
f5.XMLProfile.followSchemaLinks | Boolean | Whether the profile should follow schema links. |
f5.XMLProfile.metacharElementCheck | Boolean | Whether the XML profile should check for metachar elements. |
f5.XMLProfile.metacharAttributeCheck | Boolean | Whether the profile should check for metachar attributes. |
f5.XMLProfile.isReferenced | Boolean | Whether the XML profile is referenced. |
f5.XMLProfile.enableWSS | Boolean | Whether the web service security should be enabled. |
f5.XMLProfile.hasValidationFiles | Boolean | Whether the XML profile has validation files. |
f5.XMLProfile.selfLink | String | The self link to the specific profile. |
f5.XMLProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-xml-profiles-add policy_md5=kpD2qFaUlGAbw8RhN5IFQA name=test_xml_profile
#
Context Example#
Human Readable Output#
f5 data for adding XML profile:
name id selfLink attackSignaturesCheck metacharElementCheck followSchemaLinks lastUpdateMicros test_xml_profile zfebD7S9AIziPBRYkAkDww https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/xml-profiles/zfebD7S9AIziPBRYkAkDww?ver=15.1.0 true false true 2020-10-06T11:02:36Z
#
f5-asm-policy-xml-profiles-updateUpdates an XML profile in a policy
#
Base Commandf5-asm-policy-xml-profiles-update
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
xml_id | The ID of the XML profile. The ID or display name must be filled. Default is "None". | Optional |
xml_name | The display name of the XML profile. The ID or display name must be filled. | Required |
description | Optional description for the profile. | Optional |
check_signatures | Whether the profile should check for attack signatures. | Optional |
check_metachar_elements | Whether to check for metachar elements. | Optional |
check_metachar_attributes | Whether to check for metachar attributes. | Optional |
enable_wss | Whether to enable web services securities. | Optional |
inspect_soap | Whether to inspect SOAP attachments. | Optional |
follow_links | Whether to follow schema links. | Optional |
use_xml_response | Whether to use the XML response page. | Optional |
allow_cdata | Whether to allow CDATA. | Optional |
allow_dtds | Whether to allow DTDs. | Optional |
allow_external_ref | Whether to allow external references. | Optional |
allow_processing_instructions | Whether to allow processing instructions. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.XMLProfile.id | String | The ID of the XML profile. |
f5.XMLProfile.name | String | The display name of the XML profile. |
f5.XMLProfile.description | String | A description of the XML profile. |
f5.XMLProfile.isDefault | Boolean | Whether the XML profile is the default profile. |
f5.XMLProfile.attackSignaturesCheck | Boolean | Whether the XML profile should check for attack signatures. |
f5.XMLProfile.followSchemaLinks | Boolean | Whether the profile should follow schema links. |
f5.XMLProfile.metacharElementCheck | Boolean | Whether the XML profile should check for metachar elements. |
f5.XMLProfile.metacharAttributeCheck | Boolean | Whether the profile should check for metachar attributes. |
f5.XMLProfile.isReferenced | Boolean | Whether the XML profile is referenced. |
f5.XMLProfile.enableWSS | Boolean | Whether the web service security should be enabled. |
f5.XMLProfile.hasValidationFiles | Boolean | Whether the XML profile has validation files. |
f5.XMLProfile.selfLink | String | The self link to the specific profile. |
f5.XMLProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-xml-profiles-update policy_md5=kpD2qFaUlGAbw8RhN5IFQA xml_name=test_xml_profile
#
Context Example#
Human Readable Output#
f5 data for updating XML profile:
name id selfLink attackSignaturesCheck metacharElementCheck followSchemaLinks lastUpdateMicros test_xml_profile zfebD7S9AIziPBRYkAkDww https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/xml-profiles/zfebD7S9AIziPBRYkAkDww?ver=15.1.0 true false true 2020-10-06T11:02:36Z
#
f5-asm-policy-xml-profiles-deleteDeletes an existing XML profile from a policy
#
Base Commandf5-asm-policy-xml-profiles-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
xml_id | The ID of the XML profile. The ID or display name must be filled. Default is "None". | Optional |
xml_name | The display name of the XML profile. The ID or display name must be filled. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.XMLProfile.id | String | The ID of the XML profile. |
f5.XMLProfile.name | String | The display name of the XML profile. |
f5.XMLProfile.description | String | A description of the XML profile. |
f5.XMLProfile.isDefault | Boolean | Whether the XML profile is the default profile. |
f5.XMLProfile.attackSignaturesCheck | Boolean | Whether the XML profile should check for attack signatures. |
f5.XMLProfile.followSchemaLinks | Boolean | Whether the profile should follow schema links. |
f5.XMLProfile.metacharElementCheck | Boolean | Whether the XML profile should check for metachar elements. |
f5.XMLProfile.metacharAttributeCheck | Boolean | Whether the profile should check for metachar attributes. |
f5.XMLProfile.isReferenced | Boolean | Whether the XML profile is referenced. |
f5.XMLProfile.enableWSS | Boolean | Whether the web service security should be enabled. |
f5.XMLProfile.hasValidationFiles | Boolean | Whether the XML profile has validation files. |
f5.XMLProfile.selfLink | String | The self link to the specific profile. |
f5.XMLProfile.lastUpdate | String | The time the last update was made to the profile. |
#
Command Example!f5-asm-policy-xml-profiles-delete policy_md5=kpD2qFaUlGAbw8RhN5IFQA xml_name=test_xml_profile
#
Context Example#
Human Readable Output#
f5 data for deleting XML profile:
name id selfLink attackSignaturesCheck metacharElementCheck followSchemaLinks lastUpdateMicros test_xml_profile zfebD7S9AIziPBRYkAkDww https://localhost/mgmt/tm/asm/policies/kpD2qFaUlGAbw8RhN5IFQA/xml-profiles/zfebD7S9AIziPBRYkAkDww?ver=15.1.0 true false true 2020-10-06T11:02:36Z
#
f5-asm-policy-server-technologies-listLists all server technologies in a policy.
#
Base Commandf5-asm-policy-server-technologies-list
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.ServerTechnology.id | String | The ID of the server technology. |
f5.ServerTechnology.selfLink | String | The self link to the specific server technology. |
f5.ServerTechnology.serverTechnologyName | String | The display name of the server technology. |
f5.ServerTechnology.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-server-technologies-list policy_md5=7FWxqE2a-3bbpJimP4amtA
#
Context Example#
Human Readable Output#
f5 list of all server technologies:
serverTechnologyName id selfLink lastUpdateMicros Microsoft Windows 9v-Sp7QveE-BE2EimSjVew https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA/server-technologies/9v-Sp7QveE-BE2EimSjVew?ver=15.1.0 2020-08-16T11:01:18Z ASP.NET 5cSssMYANPqrl6gRBMfvMQ https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA/server-technologies/5cSssMYANPqrl6gRBMfvMQ?ver=15.1.0 2020-08-16T11:01:18Z Front Page Server Extensions (FPSE) 89yK8lM69m7Z8zoJ1Y-c_g https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA/server-technologies/89yK8lM69m7Z8zoJ1Y-c_g?ver=15.1.0 2020-08-16T11:01:18Z IIS V3PzMrvIWi_9ZM0m0y-92w https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA/server-technologies/V3PzMrvIWi_9ZM0m0y-92w?ver=15.1.0 2020-08-16T11:01:18Z
#
f5-asm-policy-server-technologies-addAdd a server technology to a policy
#
Base Commandf5-asm-policy-server-technologies-add
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
technology_id | The ID of the server technology. The ID or display name must be filled. Default is "None". | Optional |
technology_name | The display name of the server technology. The ID or display name must be filled. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.ServerTechnology.id | String | The ID of the server technology. |
f5.ServerTechnology.selfLink | String | The self link to the specific server technology. |
f5.ServerTechnology.serverTechnologyName | String | The display name of the server technology. |
f5.ServerTechnology.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-server-technologies-add policy_md5=7FWxqE2a-3bbpJimP4amtA technology_name=ASP
#
Context Example#
Human Readable Output#
f5 data for adding server technology:
serverTechnologyName id serverTechnologyName selfLink lastUpdateMicros ASP 741BtgAqkVgEMykKfRxIIg ASP https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA/server-technologies/741BtgAqkVgEMykKfRxIIg?ver=15.1.0 2020-10-06T11:02:46Z
#
f5-asm-policy-server-technologies-deleteDeletes a server technology from a policy.
#
Base Commandf5-asm-policy-server-technologies-delete
#
InputArgument Name | Description | Required |
---|---|---|
policy_md5 | The MD5 hash of the policy. You can get the policy md5 using the f5-asm-get-policy-md5 command. | Required |
technology_id | The ID of the server technology. The ID or display name must be filled. Default is "None". | Optional |
technology_name | The display name of the server technology. The ID or display name must be filled. Default is "None". | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
f5.ServerTechnology.id | String | The ID of the server technology. |
f5.ServerTechnology.selfLink | String | The self link to the specific server technology. |
f5.ServerTechnology.serverTechnologyName | String | The display name of the server technology. |
f5.ServerTechnology.lastUpdateMicros | String | The datetime of the last update represented in micro seconds since 1970-01-01 00:00:00 GMT (Unix epoch). For example, 1519382317000000 is Friday, 23 February 2018 10:38:37. |
#
Command Example!f5-asm-policy-server-technologies-delete policy_md5=7FWxqE2a-3bbpJimP4amtA technology_name=ASP
#
Context Example#
Human Readable Output#
f5 data for listing server technology:
serverTechnologyName id serverTechnologyName selfLink lastUpdateMicros ASP 741BtgAqkVgEMykKfRxIIg ASP https://localhost/mgmt/tm/asm/policies/7FWxqE2a-3bbpJimP4amtA/server-technologies/741BtgAqkVgEMykKfRxIIg?ver=15.1.0 2020-10-06T11:02:46Z
#
f5-asm-get-policy-md5Gets the MD5 hash of a policy that can be accessed in the API.
#
Base Commandf5-asm-get-policy-md5
#
InputArgument Name | Description | Required |
---|---|---|
policy_name | The display name of the policy to get a hash for. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
f5.Policy.md5 | String | The MD5 hash of the policy. |
#
Command Example!f5-asm-get-policy-md5 policy_name=Test_Policy
#
Context Example#
Human Readable Output#
Results
md5 kpD2qFaUlGAbw8RhN5IFQA