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

Tenable SC CORS Check #6127

Open
georgedias opened this issue Aug 22, 2024 · 0 comments
Open

Tenable SC CORS Check #6127

georgedias opened this issue Aug 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@georgedias
Copy link
Contributor

georgedias commented Aug 22, 2024

Try Me
Not necessary a bug, but we need to testing adding the following to the axios.create({ headers: }) of the Tenable connection (apps/frontend/src/utilities/tenable_util.ts):

headers: {
    'Access-Control-Allow-Methods': 'GET, PUT, POST, DELETE, OPTIONS',
    'Access-Control-Allow-Headers': 'Content-Type, X-Auth-Token, Origin, Accept, Authorization',
    'Content-Type': 'application/json',
}

and test with the hosted Heimdall Server and see if the CORS issue is rectified. There could still be a need to configure the hosting Server (the one hosting the Tenable SC) to enable the cross origin requests - references how-to here

@georgedias georgedias added the bug Something isn't working label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant