Skip to content

Commit 9d23dfe

Browse files
committed
Improved configuration
1 parent 8831812 commit 9d23dfe

2 files changed

Lines changed: 65 additions & 63 deletions

File tree

Resources/lib-mappings/java-se.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,34 @@
88
"namespace": "java",
99
"categories": [],
1010
"children": [
11+
{
12+
"namespace": "lang",
13+
"categories": [],
14+
"children": [
15+
{
16+
"namespace": "SecurityManager",
17+
"categories": ["Authorization"],
18+
"children": []
19+
}
20+
]
21+
},
22+
{
23+
"namespace": "nio",
24+
"categories": [],
25+
"children": [
26+
{
27+
"namespace": "file",
28+
"categories": [],
29+
"children": [
30+
{
31+
"namespace": "AccessDeniedException",
32+
"categories": ["Authorization"],
33+
"children": []
34+
}
35+
]
36+
}
37+
]
38+
},
1139
{
1240
"namespace": "net",
1341
"categories": [],
@@ -446,6 +474,7 @@
446474
"categories": ["Certification", "Encryption"],
447475
"children": []
448476
},
477+
},
449478
{
450479
"namespace": "SSLSocket",
451480
"categories": ["Certification", "Encryption"],
Lines changed: 36 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,86 @@
11
{
22
"Access_Control": {
33
"Authentication": [
4-
"PasswordEncoder",
4+
"Authentication",
5+
"Password",
56
"Credential",
67
"OTP",
7-
"X509Certificate",
8+
"X509",
89
"MFA",
910
"SSO",
1011
"OAuth",
1112
"JWT",
12-
"getToken()",
13-
"getCSRFToken",
13+
"Token",
1414
"Cookie",
15-
"setCookieValue",
1615
"Keycloak",
17-
"IdP",
18-
"SecurityContext",
19-
"getAuthentication",
20-
"setPassword",
21-
"generateSecurePassword"
16+
"IdP"
2217
],
2318
"Authorization": [
19+
"authoriz*",
2420
"AccessManager",
25-
"getRole",
26-
"setRole",
27-
"getPrivilege",
21+
"Role",
22+
"Privilege",
2823
"Permission",
29-
"getACL",
24+
"ACL",
3025
"RBAC",
3126
"ABAC",
3227
"MAC",
3328
"DAC",
34-
"AuthenticationManager",
35-
"SecurityManager",
36-
"PermissionEvaluator",
3729
"TimeRestrictedAccess"
3830
]
3931
},
4032
"Cryptography": {
4133
"Encryption": [
34+
"Encryption",
35+
"encrypt",
36+
"decrypt",
4237
"Cipher",
4338
"KeyGenerator",
4439
"SecretKeySpec",
4540
"AES",
4641
"RSA",
4742
"Blowfish",
48-
"StreamCipher",
49-
"BlockCipher",
50-
"HybridEncryption",
51-
"encrypt",
52-
"decrypt",
53-
"Mac"
43+
"Mac",
44+
"SecureChannel",
45+
"TLS",
46+
"SSL"
5447
],
5548
"Key_Management": [
5649
"keyStore",
5750
"keyPair",
5851
"keyFactory",
5952
"keyAgreement",
60-
"keyRevocation",
61-
"Certificate",
53+
"revo(ke|cation)",
54+
"Cert(ificate)?",
6255
"TrustManager",
6356
"generateKeyPair"
6457
],
6558
"Signature": [
66-
"Signature",
67-
"Signer",
59+
"[Ss]ign",
6860
"PKCS12",
69-
"DigitalSignature",
70-
"CertificateFactory",
71-
"sign(",
72-
"verify(",
73-
"initSign",
74-
"initVerify"
61+
"verify"
7562
],
7663
"Hashing": [
77-
"MessageDigest",
78-
"DigestInputStream",
79-
"SHA-256",
80-
"SHA-512",
64+
"SHA",
8165
"MD5",
82-
"hash(",
83-
"digest("
66+
"hash",
67+
"digest"
8468
],
8569
"Steganography": [
8670
"ImageProcessor",
8771
"Stego",
88-
"encode(",
89-
"decode(",
9072
"pad(",
91-
"Base64(",
92-
"Base64."
73+
"[Bb]ase64"
9374
]
9475
},
9576
"Security_Monitoring": {
9677
"Logging": [
97-
"login_success",
98-
"login_failure",
99-
"unauthorized_access",
100-
"privilege_escalation",
101-
"audit_log_entry",
102-
"compliance_check"
78+
"login*success",
79+
"login*failure",
80+
"unauthorized*access",
81+
"privilege*escalation",
82+
"audit*log*entry",
83+
"compliance*check"
10384
],
10485
"Automated_Response": [
10586
"ResponseHandler",
@@ -119,8 +100,6 @@
119100
"Commons Validator"
120101
],
121102
"Data_Sanitization": [
122-
"StringEscapeUtils",
123-
"HTMLSanitizer",
124103
"sanitize",
125104
"unescape",
126105
"escape"
@@ -135,9 +114,9 @@
135114
"KeyVault"
136115
],
137116
"Trusted_Sources": [
138-
"SecureRandom",
117+
"Secure*Random",
139118
"TimeSync",
140-
"setSalt"
119+
"salt"
141120
]
142121
},
143122
"System_State_Protection": {
@@ -152,12 +131,9 @@
152131
"HashValidator"
153132
],
154133
"Session_Management": [
155-
"SessionToken",
156-
"SessionManager",
157-
"CSRFProtection",
158-
"SessionTimeout",
159-
"getSession(",
160-
"openSession("
134+
"Session",
135+
"CSRF",
136+
"Timeout"
161137
],
162138
"State_Synchronization": [
163139
"Synchronized",
@@ -168,10 +144,7 @@
168144
},
169145
"Miscellaneous": [
170146
"SecurityPolicy",
171-
"SecureChannel",
172-
"TLSContext",
173-
"SSLContext",
174-
"AccessDeniedException"
147+
"[Ss]ecurity"
175148
]
176149
}
177150

0 commit comments

Comments
 (0)