MAIN-T-5 Add roles for users #46
Annotations
1 error, 9 warnings, and 1 notice
Incorrect autowiring in Spring bean components:
src/main/kotlin/org/hkurh/doky/filestorage/impl/DefaultFileStorageService.kt#L18
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Could not autowire. There is more than one bean of 'FileStorage' type. |
| |--------|-----------------------------------------------------------------------------------------------------------| | Beans: | dokyAzureBlobStorage (DokyAzureBlobStorage.kt) dokyLocalFilesystemStorage (DokyLocalFilesystemStorage.kt) | |
|
String template as argument to logging call:
src/main/kotlin/org/hkurh/doky/documents/impl/DefaultDocumentFacade.kt#L70
String template as argument to `debug()` logging call
|
Unused symbol:
src/main/kotlin/org/hkurh/doky/security/UserAuthority.kt#L5
Class "ROLE_ADMIN" is never used
|
Unused symbol:
src/main/kotlin/org/hkurh/doky/DokyController.kt#L26
Property "schemaVersion" is never used
|
Unused symbol:
src/main/kotlin/org/hkurh/doky/DokyController.kt#L28
Property "color" is never used
|
Unused symbol:
src/main/kotlin/org/hkurh/doky/DokyController.kt#L27
Property "label" is never used
|
Vulnerable API usage:
src/main/kotlin/org/hkurh/doky/authorization/AuthorizationUserController.kt#L32
Vulnerable API usage
* [CVE-2024-22243](https://devhub.checkmarx.com/cve-details/CVE-2024-22243?utm_source=jetbrains&utm_medium=referral) 8.1 Vulnerability with High severity found
Results powered by [Checkmarx](https://checkmarx.com)(c)
|
Vulnerable API usage:
src/main/kotlin/org/hkurh/doky/documents/api/DocumentController.kt#L53
Vulnerable API usage
* [CVE-2024-22243](https://devhub.checkmarx.com/cve-details/CVE-2024-22243?utm_source=jetbrains&utm_medium=referral) 8.1 Vulnerability with High severity found
Results powered by [Checkmarx](https://checkmarx.com)(c)
|
Vulnerable API usage:
src/main/kotlin/org/hkurh/doky/authorization/AuthorizationUserController.kt#L32
Vulnerable API usage
* [CVE-2024-22243](https://devhub.checkmarx.com/cve-details/CVE-2024-22243?utm_source=jetbrains&utm_medium=referral) 8.1 Vulnerability with High severity found
Results powered by [Checkmarx](https://checkmarx.com)(c)
|
Vulnerable API usage:
src/main/kotlin/org/hkurh/doky/documents/api/DocumentController.kt#L53
Vulnerable API usage
* [CVE-2024-22243](https://devhub.checkmarx.com/cve-details/CVE-2024-22243?utm_source=jetbrains&utm_medium=referral) 8.1 Vulnerability with High severity found
Results powered by [Checkmarx](https://checkmarx.com)(c)
|
Accessor call that can be replaced with property access syntax:
src/main/kotlin/org/hkurh/doky/DokyApplication.kt#L35
Use of setter method instead of property access syntax
|