Reorder and rename

This commit is contained in:
Kevin Stubbings
2024-09-13 00:41:55 -07:00
parent 03f375e436
commit c30332818f
3 changed files with 7 additions and 7 deletions

View File

@@ -1451,16 +1451,16 @@ module Http {
*/
abstract string getMiddlewareName();
/**
* Gets the strings corresponding to the origins allowed by the cors policy
*/
abstract DataFlow::Node getOrigins();
/**
* Gets the boolean value corresponding to if CORS credentials is enabled
* (`true`) or disabled (`false`) by this node.
*/
abstract DataFlow::Node getCredentialsAllowed();
/**
* Gets the strings corresponding to the origins allowed by the cors policy
*/
abstract DataFlow::Node getOrigins();
}
}

View File

@@ -1,4 +1,4 @@
---
category: newQuery
---
* The `py/insecure-cors-setting` query, which finds insecure CORS middleware configurations.
* The `py/cors-misconfiguration-with-credentials` query, which finds insecure CORS middleware configurations.

View File

@@ -1,5 +1,5 @@
/**
* @name SOP protection weak with credentials
* @name Cors misconfiguration with credentials
* @description Disabling or weakening SOP protection may make the application
* vulnerable to a CORS attack.
* @kind problem