Commit graph

25 commits

Author SHA1 Message Date
Eric
ba07f1117a
Website: Update vanta integration script (#41803)
Closes: https://github.com/fleetdm/confidential/issues/14218

Changes:
- Updated the vanta integration script to only send information about
hosts on a specific team when it is run for a customer.
2026-03-16 17:24:32 -05:00
Eric
bf0c275d0c
Website: Update Vanta script to exclude built-in macOS applications in device inventory (#40701)
Changes:
- Updated the send-data-to-vanta script to exclude built-in macOS
applications (besides XProtect) when reporting device inventory for a
Vanta Integration. This is done to reduce the size of the device
inventory request and allow for more macOS hosts to be reported to
Vanta.
2026-02-27 11:58:37 -06:00
Allen Houchins
88ba973d66
Update team exclusion for Vanta connection (#39113)
Team ID 274 doesn't exist anymore. Our "Compliance exclusions" team was
also renamed "🧪 Testing & QA".
2026-02-02 10:42:27 -06:00
Eric
e3f173cc34
Website: Batch API requests to host details endpoints in Vanta script (#31422)
Related to: https://github.com/fleetdm/fleet/issues/30993

Changes:
- Updated the `send-data-to-vanta` script to limit the number of API
requests sent to host details endpoints at once.
2025-07-30 15:01:13 -05:00
Eric
33a7039203
Website: Update Vanta integration script to continue if the get host endpoint returns an error. (#27993)
Related to: #27943

Changes:
- Updated the `send-data-to-vanta` script to continue running for a
Vanta connection if the get host API returns an error. It will now store
a detailed error and log them all when the script is finished running.
2025-04-08 14:46:04 -05:00
Eric
ac9716fdd9
Website: Update vanta integration for dogfood (#27212)
Changes:
- Updated the send-data-to-vanta script to only send information about
hosts from specific teams to vanta (For Fleet's vanta integration only)
2025-03-17 16:24:21 -05:00
Eric
3bfbc5654c
Website: Update Vanta script for Fleet's integration (#23514)
Related to: https://github.com/fleetdm/fleet/issues/19312

Changes:
- Updated the send-data-to-vanta script to exclude hosts on a specific
team when it runs for Fleet's Vanta integration.

---------

Co-authored-by: Ian Littman <[email protected]>
2024-11-05 11:02:27 -06:00
Eric
b3c59fc7c3
Website: Update send-data-to-vanta script (#20169)
Changes:
- Wrapped the request to the /users endpoint of Fleet instances in a
try-catch block to handle errors from the .retry() method.
2024-07-02 13:54:09 -05:00
Eric
6b3310aa51
Website: Update Vanta script. (#19493)
Closes: https://github.com/fleetdm/confidential/issues/6844

Changes:
- Updated the send-data-to-vanta script to retry failed requests to
Fleet instances and increased the timeout on the requests to the /hosts
endpoint
2024-06-04 12:38:56 -05:00
Eric
3a86c40e89
Website: prefix warning in send-data-to-vanta script. (#18641)
Changes:
- Added a prefix to the warning logged in the send-data-to-vanta script
if an error is thrown.
- Updated the logged errors to include the raw error
2024-04-30 11:39:51 -05:00
Eric
b3d77c75e9
Website: update Vanta integration script (#17833)
Related to: #17699

Changes:
- Updated the `send-data-to-vanta` script to retry requests to Vanta's
`https://api.vanta.com/oauth/token` API endpoint that return a `504`
response.
2024-03-25 13:41:17 -05:00
Eric
d7783286d3
Website: Update Vanta integration script to retry failed requests to Vanta's authorization endpoint. (#17704)
Changes:
- Chained a `.retry()` onto the post request that refreshes
authorization tokens for Vanta connections, that will retry requests
that return a `503 service unavailable` response.
2024-03-18 17:45:07 -05:00
Eric
8992437cd9
Website: Update Vanta integration script to report extension_id if it is included in an API response (#15469)
https://github.com/fleetdm/confidential/issues/2118

Changes:
- Updated the send-data-to-vanta script to report the `extension_id` of
browser extensions installed on a host if the API response from the
Fleet instance includes that value.
2023-12-07 11:02:56 -06:00
Eric
4e24499e9e
Website: Update Vanta sync script to catch errors thrown from .retry() method. (#15303)
Changes:
- Wrapped requests that have `.retry()` in a try-catch block. Errors
thrown by the `.retry()` method are not currently not being caught by
the `intercept()` chained onto the request, and cause the script to stop
running.
2023-11-22 18:31:33 -06:00
Eric
cd462fba3b
2023-11-01 Website: Update script for Vanta integration (#14807)
Closes: #14751

Changes:
- Added new errors that are thrown if the response from the
`/hosts/{id}` endpoint does not contain a `host` object.
2023-11-02 16:01:44 -05:00
Eric
22b8b2cb85
Exclude uninitialized macOS hosts in Vanta sync script (#12478)
Closes: https://github.com/fleetdm/fleet/issues/12450

Changes:
- Updated the `send-data-to-vanta` script to exclude hosts that have an
`mdm.enrollment_status` set to `Pending`
2023-06-23 18:17:18 -05:00
Eric
c7244add59
Website: Retry failed PUT requests to Vanta (#11023)
Changes:
- Chained a `.retry()` onto the PUT requests to Vanta in the
`send-data-to-vanta` script
.
2023-04-07 10:28:58 -05:00
Eric
243e0bc6f1
Update send-data-to-vanta script (#10384)
Changes:
- Updated the send-data-to-vanta to set a boolean value for the
`isManaged` property of Windows and macOS hosts if the
`enrollment_status` of a host's `mdm` property is either "On (automatic)
or "On (manual)".
2023-03-08 12:06:16 -06:00
Eric
403b067056
Update Vanta integration to sync Windows hosts (#10346)
Closes: #9735

Changes:
- Updated the `send-data-to-vanta` script to:
   - Sync Windows hosts with Vanta.
   - Report the MDM status of macOS hosts.
- Updated the notes on the `/connect-vanta` page to link to the screen
lock policy for Windows.
2023-03-08 09:45:53 -06:00
Zach Wasserman
2c66547b72
Give Vanta empty drives array when we don't know about encryption (#9918)
Vanta doesn't like undefined/null values for the encryption status.
Hopefully it will accept an empty array.
2023-02-17 14:40:30 -06:00
Zach Wasserman
c99d7677e7
Skip setting details for pending enrollment MDM hosts (#9911) 2023-02-17 10:56:08 -08:00
Eric
753d200e45
Website: Update Vanta integration script error logging (#9910)
Changes:
- Changed the message logged when a Vanta integration has an error to a
warning so our Papertrail alerts will be triggered whenever a Vanta
integration has an error.
2023-02-17 12:28:17 -06:00
Zach Wasserman
e4141e68b0
Support hosts with no software in Vanta integration (#9909) 2023-02-17 10:06:31 -08:00
Zach Wasserman
7cb51d7ba2
Change reporting of MFA to Vanta for API-only users (#9896)
The intention is to have Vanta stop showing warnings for missing MFA on
API-only users. It's not clear if setting `UNSUPPORTED` is the correct
solution, but it does seem more accurate than setting the `mfaEnabled`
to `true`.
2023-02-17 08:49:20 -08:00
Eric
ace1fa0d37
Website: Add Vanta integration (#9072)
* stubing out required pages

* Add Vanta authorization action, create externalAuthorization(name will most likely change) Model

* rebuild cloud sdk

* Draft script

* update importer, update connect-vanta page

* layout updates

* update action

* change model name

* update model name

* update script

* Update vanta callback page

* add new model to lint config

* update model attributes

* update vanta connection page to require url protocol, fix lint error in routes

* rename page, vanta-callback » vanta-authorization

* Update errors, handle incomplete connections

* Update model attribute names

* Remove console.log(), add error message for non-Fleet Premium users

* update importer, fix lint error

* update send-data-to-vanta script

* Update create-vanta-authorization-request.js

* update page name

* update comments and error messages

* layout changes

* update status codes used in exits

* Add comment

* Update .eslintrc

* Update create-vanta-authorization-request.js

* Update view-vanta-authorization.js

* Update VantaConnection.js

* Update send-data-to-vanta.js

* Update create-vanta-authorization-request.js

* Update mobile styles

* update text

* update error text, show sucess message if account has already been authorized

* lint fix

Co-authored-by: Mike McNeil <[email protected]>
2022-12-21 23:39:39 -06:00