vib-verify.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "phases": {
  3. "package": {
  4. "context": {
  5. "resources": {
  6. "url": "{SHA_ARCHIVE}",
  7. "path": "/bitnami/rabbitmq"
  8. }
  9. },
  10. "actions": [
  11. {
  12. "action_id": "helm-package"
  13. },
  14. {
  15. "action_id": "helm-lint"
  16. }
  17. ]
  18. },
  19. "verify": {
  20. "context": {
  21. "resources": {
  22. "url": "{SHA_ARCHIVE}",
  23. "path": "/bitnami/rabbitmq"
  24. },
  25. "runtime_parameters": "ImF1dGgiOgogICJlcmxhbmdDb29raWUiOiAiUmpzcENDM25tNGtMdjRMaldGTmZGSFczeEx4Yjd6VEMiCiAgInBhc3N3b3JkIjogIlBIVkhkcXpyTWI5cyIKICAidXNlcm5hbWUiOiAidXNlciIKInNlcnZpY2UiOgogICJwb3J0cyI6CiAgICAibWFuYWdlciI6IDgwCiAgInR5cGUiOiAiTG9hZEJhbGFuY2VyIgo=",
  26. "target_platform": {
  27. "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
  28. "size": {
  29. "name": "S4"
  30. }
  31. }
  32. },
  33. "actions": [
  34. {
  35. "action_id": "trivy",
  36. "params": {
  37. "threshold": "CRITICAL",
  38. "vuln_type": ["OS"]
  39. }
  40. },
  41. {
  42. "action_id": "health-check",
  43. "params": {
  44. "endpoint": "lb-rabbitmq-http-stats",
  45. "app_protocol": "HTTP"
  46. }
  47. }
  48. ]
  49. }
  50. }
  51. }