Skip to content

Commit

Permalink
remove space inside curly brackets
Browse files Browse the repository at this point in the history
Related to #6816
  • Loading branch information
nqb committed Jan 27, 2022
1 parent 5bba700 commit 39da568
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ testcases:
ignore_verify_ssl: true
body: >-
{
"id": "{{ .security_event_autoreg.event.id }}",
"access_duration": "{{ .security_event_autoreg.event.access_duration }}",
"id": "{{.security_event_autoreg.event.id}}",
"access_duration": "{{.security_event_autoreg.event.access_duration}}",
"actions": ["autoreg", "role"],
"desc": "{{ .security_event_autoreg.event.desc }}",
"desc": "{{.security_event_autoreg.event.desc}}",
"enabled": "Y",
"target_category": "{{ .mac_auth.roles.headless_device.id }}",
"target_category": "{{.mac_auth.roles.headless_device.id}}",
"triggers": [{
"dhcp_fingerprint": "{{.security_event_autoreg.node.dhcp_fingerprint_id}}"
}],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ testcases:
steps:
- type: http
method: DELETE
url: '{{.pfserver_webadmin_url}}/api/v1/config/security_event/{{ .security_event_autoreg.event.id }}'
url: '{{.pfserver_webadmin_url}}/api/v1/config/security_event/{{.security_event_autoreg.event.id}}'
ignore_verify_ssl: true
headers:
"Content-Type": "application/json"
Expand Down
4 changes: 2 additions & 2 deletions t/venom/vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@ inline_l2.networks: 192.168.2.0
security_event_autoreg.event.id: '88888888'
security_event_autoreg.event.access_duration: '5D'
security_event_autoreg.event.desc: 'Test DHCP autoreg venom'
security_event_autoreg.node.mac: '{{ .node01_ens7_mac_address }}'
security_event_autoreg.node.mac_url_encoded: '{{ .node01_ens7_mac_address_url_encoded }}'
security_event_autoreg.node.mac: '{{.node01_ens7_mac_address}}'
security_event_autoreg.node.mac_url_encoded: '{{.node01_ens7_mac_address_url_encoded}}'
security_event_autoreg.node.dhcp_fingerprint: 1,28,2,3,15,6,119,12,44,47,26,121,42
security_event_autoreg.node.dhcp_fingerprint_id: 276

0 comments on commit 39da568

Please sign in to comment.