{
  "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json",
  "manifestVersion": "1.17",
  "id": "452b7d12-9d7f-4252-9d8b-617ca811236b",
  "version": "1.1.0",
  "name": {
    "short": "ScanHawk",
    "full": "ScanHawk — Link Safety for Microsoft 365"
  },
  "description": {
    "short": "Check the links in an email, document, workbook or deck before you click.",
    "full": "ScanHawk checks where a link really goes before you click it. Open the ScanHawk pane in Outlook, Word, Excel or PowerPoint and it pulls out every link in what you are looking at, checks each one against the ScanHawk engine, and shows a Safe / Suspicious / Dangerous verdict with plain-English reasoning. It flags the classic phishing tell that a rendered page hides: a link whose visible text names one destination while it actually opens another. Only each link's address and the text it displays leave your mailbox or your file — never the body of the message or the contents of the document."
  },
  "developer": {
    "name": "TwentyPin",
    "websiteUrl": "https://scanhawk.io",
    "privacyUrl": "https://scanhawk.io/privacy.html",
    "termsOfUseUrl": "https://scanhawk.io/terms.html"
  },
  "icons": {
    "outline": "assets/icon-outline-32.png",
    "color": "assets/icon-192.png"
  },
  "accentColor": "#1f6feb",
  "localizationInfo": {
    "defaultLanguageTag": "en-us"
  },
  "authorization": {
    "permissions": {
      "resourceSpecific": [
        {
          "name": "MailboxItem.Read.User",
          "type": "Delegated"
        }
      ]
    }
  },
  "validDomains": [
    "qrguard-worker.fly.dev"
  ],
  "extensions": [
    {
      "requirements": {
        "scopes": [
          "mail",
          "document",
          "workbook",
          "presentation"
        ]
      },
      "runtimes": [
        {
          "id": "TaskPaneRuntime",
          "type": "general",
          "code": {
            "page": "https://addin.scanhawk.app/src/taskpane.html"
          },
          "lifetime": "short",
          "actions": [
            {
              "id": "ShowScanPane",
              "type": "openPage",
              "pinnable": true,
              "view": "dashboard"
            }
          ]
        }
      ],
      "ribbons": [
        {
          "requirements": {
            "scopes": [
              "mail"
            ]
          },
          "contexts": [
            "mailRead"
          ],
          "tabs": [
            {
              "builtInTabId": "TabDefault",
              "groups": [
                {
                  "id": "scanhawkGroup",
                  "label": "ScanHawk",
                  "icons": [
                    { "size": 16, "url": "https://addin.scanhawk.app/assets/icon-16.png" },
                    { "size": 32, "url": "https://addin.scanhawk.app/assets/icon-32.png" },
                    { "size": 80, "url": "https://addin.scanhawk.app/assets/icon-80.png" }
                  ],
                  "controls": [
                    {
                      "id": "scanhawkScanMail",
                      "type": "button",
                      "label": "Scan links",
                      "icons": [
                        { "size": 16, "url": "https://addin.scanhawk.app/assets/icon-16.png" },
                        { "size": 32, "url": "https://addin.scanhawk.app/assets/icon-32.png" },
                        { "size": 80, "url": "https://addin.scanhawk.app/assets/icon-80.png" }
                      ],
                      "supertip": {
                        "title": "Scan links",
                        "description": "Check the links in this email for phishing before you click."
                      },
                      "actionId": "ShowScanPane"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "requirements": {
            "scopes": [
              "document",
              "workbook",
              "presentation"
            ]
          },
          "contexts": [
            "default"
          ],
          "tabs": [
            {
              "builtInTabId": "TabHome",
              "groups": [
                {
                  "id": "scanhawkGroup",
                  "label": "ScanHawk",
                  "icons": [
                    { "size": 16, "url": "https://addin.scanhawk.app/assets/icon-16.png" },
                    { "size": 32, "url": "https://addin.scanhawk.app/assets/icon-32.png" },
                    { "size": 80, "url": "https://addin.scanhawk.app/assets/icon-80.png" }
                  ],
                  "controls": [
                    {
                      "id": "scanhawkScanDoc",
                      "type": "button",
                      "label": "Scan links",
                      "icons": [
                        { "size": 16, "url": "https://addin.scanhawk.app/assets/icon-16.png" },
                        { "size": 32, "url": "https://addin.scanhawk.app/assets/icon-32.png" },
                        { "size": 80, "url": "https://addin.scanhawk.app/assets/icon-80.png" }
                      ],
                      "supertip": {
                        "title": "Scan links",
                        "description": "Check where the links in this file really go before you click."
                      },
                      "actionId": "ShowScanPane"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
