-
Notifications
You must be signed in to change notification settings - Fork 0
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
finished admin eventrequests, violations routes #35
Conversation
const router = express.Router(); | ||
const sendSuccessResponse = require('../middleware/successResponse'); | ||
|
||
router.get('/events/requests/:eventId', verify('admin'), getEventRequests, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
const router = express.Router(); | ||
const sendSuccessResponse = require('../middleware/successResponse'); | ||
|
||
router.get('/events/requests/:eventId', verify('admin'), getEventRequests, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
a database access
|
||
router.get('/events/requests/:eventId', verify('admin'), getEventRequests, sendSuccessResponse); | ||
|
||
router.get('/events/requests', verify('admin'), getAllEventRequests, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs authorization, but is not rate-limited.
This route handler performs authorization, but is not rate-limited.
|
||
router.get('/events/requests/:eventId', verify('admin'), getEventRequests, sendSuccessResponse); | ||
|
||
router.get('/events/requests', verify('admin'), getAllEventRequests, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
a database access
|
||
router.get('/events/requests', verify('admin'), getAllEventRequests, sendSuccessResponse); | ||
|
||
router.get('/violations/:vendorId', verify('admin'), getViolations, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
|
||
router.get('/violations', verify('admin'), getAllViolations, sendSuccessResponse); | ||
|
||
router.put('events/requests/:requestId', verify('admin'), processEventRequest, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
a database access
|
||
router.put('events/requests/:requestId', verify('admin'), processEventRequest, sendSuccessResponse); | ||
|
||
router.post('/violations/:vendorId', verify('admin'), createVendorViolation, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
|
||
router.put('events/requests/:requestId', verify('admin'), processEventRequest, sendSuccessResponse); | ||
|
||
router.post('/violations/:vendorId', verify('admin'), createVendorViolation, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
a database access
|
||
router.post('/violations/:vendorId', verify('admin'), createVendorViolation, sendSuccessResponse); | ||
|
||
router.delete('/violations/:violationId', verify('admin'), deleteVendorViolation, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
authorization
This route handler performs
authorization
This route handler performs authorization, but is not rate-limited.
This route handler performs authorization, but is not rate-limited.
|
||
router.post('/violations/:vendorId', verify('admin'), createVendorViolation, sendSuccessResponse); | ||
|
||
router.delete('/violations/:violationId', verify('admin'), deleteVendorViolation, sendSuccessResponse); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
No description provided.