1.0.20 • Published 1 year ago
@sonata-api/security v1.0.20
@sonata-api/security
Introduction
This package implements common security checks.
The checks can be used separatelly, or through a function called useSecurity()
. This function returns an object with two functions:
beforeRead()
: checks to be made before reading databeforeWrite()
: checks to be made before writing data
References
checkOwnershipRead()
andcheckOwnershipWrite()
: CWE-284: Improper Access Control, CWE-639: Authorization Bypass Through User-Controlled KeycheckImmutability()
: CWE-471: Modification of Assumed-Immutable Data (MAID)checkPagination()
: CWE-770: Allocation of Resources Without Limits or ThrottlingrateLimiting()
: CWE-799: Improper Control of Interaction Frequency
1.0.20
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago