profcomff / auth-api

API сервиса аутентификации и авторизации в приложение Твой ФФ!
BSD 3-Clause "New" or "Revised" License
15 stars 1 forks source link

Security Session fixes #172

Closed grigoriev-semyon closed 7 months ago

github-actions[bot] commented 7 months ago

:poop: Code linting failed, use black and isort to fix it.

github-actions[bot] commented 7 months ago

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
auth_backend
   __main__.py330%1–5
   base.py12467%6–9
   exceptions.py39587%32, 47–49, 54
auth_backend/auth_plugins
   auth_method.py1692585%105, 139, 163, 205, 210, 252, 254, 261, 266, 285, 291, 296–297, 301–312, 317, 339–342, 347–350
   email.py2111294%89, 254, 321, 323, 328, 336–338, 375, 397, 441, 448
   github.py1045745%68–121, 132–176, 183, 188, 194–206
   google.py1125848%75–128, 139–167, 174, 180–184, 188–193, 197–206
   keycloak.py1045646%64–117, 124–167, 174, 179, 185–190
   lkmsu.py1378439%70–116, 131–168, 175, 180, 186–200, 204–241, 245–254
   telegram.py1115550%65–93, 105–123, 130, 136, 146–166, 170–184
   vk.py1287641%81–127, 138–176, 183, 188, 194–211, 218–244
   yandex.py1277739%68–132, 142–180, 188, 194, 200–226
auth_backend/cli
   group.py13130%1–17
   process.py57570%1–73
   scope.py11110%1–15
   user.py20200%1–40
   user_group.py10100%1–18
auth_backend/kafka
   kafka.py532160%31–34, 43–45, 57–60, 73–83, 97, 100, 108, 118
   kafkameta.py10280%10, 14
auth_backend/models
   base.py55591%25–28, 76
   db.py141497%52, 56, 236, 240
   dynamic_settings.py27774%24–31
auth_backend/routes
   base.py25196%48
   exc_handlers.py37586%29, 54, 67, 81, 101
   groups.py84396%85, 135, 137
   scopes.py30390%24, 51–52
   user.py672563%47, 49, 51–60, 72–87, 128–137
   user_session.py83693%75–84, 113, 115, 173, 180
auth_backend/schemas
   models.py96397%146–148
auth_backend/schemas/types
   scopes.py24675%29–31, 36, 39, 41
auth_backend/utils
   security.py39295%35, 59
   smtp.py771877%76–79, 101–120
   string.py7186%12
   user_session_control.py33197%28
TOTAL238673669% 

Summary

Tests Skipped Failures Errors Time
52 6 :zzz: 0 :x: 0 :fire: 8.938s :stopwatch:
github-actions[bot] commented 7 months ago

:poop: Code linting failed, use black and isort to fix it.