{
  "key": "io.soteri.jira.plugins.security-staging",
  "name": "Security for Jira",
  "description": "Add extra security to your workflow. Audit issues for passwords, private keys, cloud credentials, or other sensitive information.",
  "baseUrl": "https://staging-security-for-jira.soteri.io",
  "enableLicensing": true,
  "vendor": {
    "name": "Soteri",
    "url": "https://soteri.io"
  },
  "authentication": {
    "type": "jwt"
  },
  "apiMigrations": {
    "context-qsh": true,
    "signed-install": true
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "version": "1.0.0-AC",
  "modules": {
    "generalPages": [
      {
        "key": "dashboard",
        "url": "/dashboard",
        "location": "system.top.navigation.bar",
        "name": {
          "value": "Soteri Dashboard"
        },
        "icon": {
          "url": "/images/soteri-icon.png"
        }
      },
      {
        "url": "/security-analysis?project.id={project.id}&project.key={project.key}",
        "name": {
          "value": "Security Analysis"
        },
        "location": "none",
        "key": "security-analysis",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      },
      {
        "url": "/app-admin-security-settings",
        "name": {
          "value": "Soteri Settings"
        },
        "location": "none",
        "key": "app-admin-security-settings",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      },
      {
        "url": "/audit-log",
        "name": {
          "value": "Soteri Audit Log"
        },
        "location": "none",
        "key": "audit-log",
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ],
    "jiraProjectPages": [
      {
        "key": "security-analysis-project-page",
        "name": {
          "value": "Security Analysis"
        },
        "url": "/security-analysis?project.id={project.id}&project.key={project.key}",
        "iconUrl": "/images/lock-icon.svg",
        "conditions": [
          {
            "or": [
              { "condition":  "user_is_admin" },
              {
                "condition": "has_project_permission",
                "params": {
                  "permission": "ADMINISTER_PROJECTS"
                }
              }
            ]
          }
        ],
        "weight": 1
      }
    ],
    "configurePage": {
      "url": "/security-settings",
      "name": {
        "value": "Soteri Settings"
      },
      "key": "security-settings"
    },
    "webhooks": [
      {
        "event": "project_created",
        "url": "/hook/project-created"
      },
      {
        "event": "project_updated",
        "url": "/hook/project-updated"
      },
      {
        "event": "project_deleted",
        "url": "/hook/project-deleted"
      },
      {
        "event": "project_soft_deleted",
        "url": "/hook/project-soft-deleted"
      },
      {
        "event": "project_restored_deleted",
        "url": "/hook/project-restored-deleted"
      },
      {
        "event": "project_archived",
        "url": "/hook/project-archived"
      },
      {
        "event": "project_restored_archived",
        "url": "/hook/project-restored-archived"
      },
      {
        "event": "jira:issue_created",
        "url": "/hook/issue-created"
      },
      {
        "event": "jira:issue_updated",
        "url": "/hook/issue-updated"
      },
      {
        "event": "jira:issue_deleted",
        "url": "/hook/issue-deleted"
      },
      {
        "event": "comment_created",
        "url": "/hook/comment-created"
      },
      {
        "event": "comment_updated",
        "url": "/hook/comment-updated"
      },
      {
        "event": "comment_deleted",
        "url": "/hook/comment-deleted"
      },
      {
        "event": "attachment_created",
        "url": "/hook/attachment-created"
      },
      {
        "event": "attachment_deleted",
        "url": "/hook/attachment-deleted"
      }
    ],
    "webSections": [
      {
        "key": "security-settings-menu",
        "location": "admin_plugins_menu",
        "name": {
          "value": "Soteri Security"
        }
      }
    ],
    "webItems": [
      {
        "key": "dashboard-page",
        "location": "admin_plugins_menu/security-settings-menu",
        "url": "dashboard",
        "context": "page",
        "icon": {
          "url": "/images/soteri-icon.png"
        },
        "tooltip": {
          "value": "Soteri Security for Jira Dashboard"
        },
        "name": {
          "value": "Soteri Dashboard"
        }
      },
      {
        "key": "security-settings-page",
        "location": "admin_plugins_menu/security-settings-menu",
        "context": "page",
        "url": "security-settings",
        "icon": {
          "url": "/images/soteri-icon.png"
        },
        "tooltip": {
          "value": "Soteri Security for Jira Settings"
        },
        "name": {
          "value": "Settings"
        }
      },
      {
        "key": "audit-log-page",
        "location": "admin_plugins_menu/security-settings-menu",
        "context": "page",
        "url": "audit-log",
        "tooltip": {
          "value": "Audit log for Security for Jira"
        },
        "name": {
          "value": "Soteri Audit Log"
        }
      }
    ]
  },

  "scopes": [
    "read",
    "act_as_user",
    "admin"
  ]
}
