Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Improve error messaging for Duplicate export not allowed. #100

Open
ndowmon opened this issue Jul 9, 2021 · 1 comment
Open

Improve error messaging for Duplicate export not allowed. #100

ndowmon opened this issue Jul 9, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ndowmon
Copy link
Contributor

ndowmon commented Jul 9, 2021

When we encounter Duplicate export not allowed. Please modify request or wait until existing export is complete on the /export/assets or /export/* endpoints, it means the customer needs to go and explicitly kill the export job. We should post a message to the job log with explicit instructions in how to do so.

[terminate_export_job] An existing export job is running at `/export/assets` that is preventing the JupiterOne integration from fetching these resources. Please terminate this job using the following documented API: https://developer.tenable.com/reference#exports-assets-export-cancel
@ndowmon ndowmon added the enhancement New feature or request label Jul 9, 2021
@ndowmon
Copy link
Contributor Author

ndowmon commented Jul 9, 2021

An alternative is that J1 simply terminates the current asset export job before invoking. However, if this job was started by another process, this is a dangerous maneuver.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant