Skip to content

Unsupported auth type #309

@JensHeinrich

Description

@JensHeinrich

I'm currently trying to work with the following postman collection https://github.com/sophos/sophos-central-apis-postman and stumbled upon a few import errors. I will create one for each of the issues and try make them as useful as possible, but I can not guarantee it has been created to spec.

The imported break when trying to parse a definition like

  "request": {
                "name": "Score comparisons",
                "description": {
                  "content": "Get health score for comparison to other organizations in your region.",
                  "type": "text/plain"
                },
                "url": {
                  "path": [
                    "scores",
                    "regional"
                  ],
                  "host": [
                    "https://api-{{dataRegion}}.central.sophos.com/account-health-check/v1"
                  ],
                  "query": [],
                  "variable": [
                    {
                      "description": "Data region where tenant data is stored. (This can only be one of eu01,eu02,us01,us03,ca01,au01,jp01,in01,br01)",
                      "type": "any",
                      "value": "{{dataRegion}}",
                      "key": "dataRegion"
                    }
                  ]
                },
                "header": [
                  {
                    "disabled": false,
                    "description": "(Required) Tenant ID.",
                    "key": "X-Tenant-ID",
                    "value": "{{tenant_id}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "auth": null
              },

probably at

const authType = request.auth.type

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions