Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VERCEL_MONITOR_PREVIEW doesn't allow Vercel screenshots #1545

Closed
davidmytton opened this issue Sep 6, 2024 · 2 comments · Fixed by #1546 or #1544
Closed

VERCEL_MONITOR_PREVIEW doesn't allow Vercel screenshots #1545

davidmytton opened this issue Sep 6, 2024 · 2 comments · Fixed by #1546 or #1544

Comments

@davidmytton
Copy link
Contributor

Given this rule:

detectBot({
      mode: "LIVE",
      allow: ["VERCEL_MONITOR_PREVIEW"],
    }),

Expected

I'd expect the Vercel screenshot bot to be allowed.

Actual

It gets denied with the reason:

{"botV2":{"denied":["VERCEL_MONITOR_SCREENSHOT"]}}

This bot isn't in our list

| "VEOOZ_CRAWLER"
| "VERCEL_CRAWLER"
| "VERCEL_MONITOR_PREVIEW"
| "VERISIGN_IPS_AGENT"

If I change it to VERCEL_MONITOR_SCREENSHOT then I get a TS error:

Type '"VERCEL_MONITOR_SCREENSHOT"' is not assignable to type 'ArcjetWellKnownBot'.

The user agent is vercel-screenshot/1.0

@blaine-arcjet
Copy link
Contributor

Oh no! I thought I regenerated the bots in both the Wasm and TypeScript 🙈

@trunk-io trunk-io bot closed this as completed in #1546 Sep 10, 2024
@trunk-io trunk-io bot closed this as completed in 0a38e0f Sep 10, 2024
trunk-io bot pushed a commit that referenced this issue Sep 10, 2024
Automatically generated with [Release Please](https://github.com/googleapis/release-please).
---


<details><summary>@arcjet/analyze: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/analyze-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **analyze:** Regenerate WebAssembly with updated bot list ([#1546](#1546)) ([0a38e0f](0a38e0f)), closes [#1545](#1545)
* **analyze:** Update crawler list with Coda Server Fetcher ([#1580](#1580)) ([91dd435](91dd435))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/body: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/body-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/body:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/bun: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/bun-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* Update READMEs with latest examples ([#1542](#1542)) ([8969486](8969486))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/env bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/headers bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/ip bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/logger bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/transport bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * arcjet bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/decorate: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/decorate-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/decorate:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/sprintf bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/duration: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/duration-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/duration:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/env: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/env-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/env:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/eslint-config: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/eslint-config-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/eslint-config:** Synchronize arcjet-js versions
</details>

<details><summary>@arcjet/headers: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/headers-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/headers:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/ip: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/ip-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/ip:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/logger: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/logger-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/logger:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/sprintf bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/next: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/next-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* Update READMEs with latest examples ([#1542](#1542)) ([8969486](8969486))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/env bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/headers bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/ip bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/logger bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/transport bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * arcjet bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/node: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/node-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* Update READMEs with latest examples ([#1542](#1542)) ([8969486](8969486))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/env bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/headers bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/ip bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/logger bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/transport bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/body bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * arcjet bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/protocol: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/protocol-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **analyze:** Update crawler list with Coda Server Fetcher ([#1580](#1580)) ([91dd435](91dd435))


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/redact: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/redact-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/redact:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/redact-wasm bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/redact-wasm: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/redact-wasm-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/redact-wasm:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/rollup-config: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/rollup-config-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/rollup-config:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/runtime: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/runtime-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/runtime:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/sprintf: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/sprintf-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/sprintf:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/sveltekit: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/sveltekit-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* Update READMEs with latest examples ([#1542](#1542)) ([8969486](8969486))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/env bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/headers bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/ip bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/logger bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/transport bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * arcjet bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/transport: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/transport-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/transport:** Synchronize arcjet-js versions


### Dependencies

* The following workspace dependencies were updated
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>@arcjet/tsconfig: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](https://github.com/arcjet/arcjet-js/compare/v1.0.0-alpha.24...@arcjet/tsconfig-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* **@arcjet/tsconfig:** Synchronize arcjet-js versions
</details>

<details><summary>arcjet: 1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](v1.0.0-alpha.24...arcjet-v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* Update READMEs with latest examples ([#1542](#1542)) ([8969486](8969486))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @arcjet/analyze bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/duration bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/headers bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/protocol bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/runtime bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
  * devDependencies
    * @arcjet/eslint-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/rollup-config bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
    * @arcjet/tsconfig bumped from 1.0.0-alpha.24 to 1.0.0-alpha.25
</details>

<details><summary>1.0.0-alpha.25</summary>

## [1.0.0-alpha.25](v1.0.0-alpha.24...v1.0.0-alpha.25) (2024-09-10)


### 🧹 Miscellaneous Chores

* All examples use root level characteristics ([#1543](#1543)) ([6b360af](6b360af))
* **analyze:** Regenerate WebAssembly with updated bot list ([#1546](#1546)) ([0a38e0f](0a38e0f)), closes [#1545](#1545)
* **analyze:** Update crawler list with Coda Server Fetcher ([#1580](#1580)) ([91dd435](91dd435))
* Update READMEs with latest examples ([#1542](#1542)) ([8969486](8969486))
</details>

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@davidmytton
Copy link
Contributor Author

Confirmed fixed by 1.0.0-alpha.25. The bot name to use in the rule is VERCEL_MONITOR_PREVIEW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants