config.yaml 968 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. listenAddressSingleHTTPFrontend: 0.0.0.0:1337
  3. logLevel: "DEBUG"
  4. checkForUpdates: false
  5. defaultPopupOnStart: execution-dialog
  6. actions:
  7. - title: Test action without justification
  8. exec:
  9. - echo
  10. - "No justification needed"
  11. icon: ping
  12. # A single space requires justification with no prefilled template.
  13. - title: Test manual justification
  14. justification: " "
  15. exec:
  16. - echo
  17. - "Manual justification action ran"
  18. icon: ping
  19. - title: Test templated justification
  20. justification: "{{ target }}"
  21. exec:
  22. - echo
  23. - "Target: {{ target }}"
  24. icon: ping
  25. arguments:
  26. - name: target
  27. title: Target host
  28. type: ascii
  29. default: dbserver
  30. - title: Test justification with arguments
  31. justification: " "
  32. exec:
  33. - echo
  34. - "Target: {{ target }}"
  35. icon: ping
  36. arguments:
  37. - name: target
  38. title: Target host
  39. type: ascii
  40. default: testhost