-
Notifications
You must be signed in to change notification settings - Fork 24
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
Hotfix/analytic hash #69
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wiliansilvazup
approved these changes
May 19, 2021
wiliansilvazup
added a commit
that referenced
this pull request
May 20, 2021
* Feature/api (#1) * Adding core base project * Adding route of health * Fix lint fmt and imports, Add handler of analysis * Upgrade script to lint and fmt * Fix makefile and golangcilint * Adding analysis test Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Finish api service (#2) * Adding controller of analysis without get workspace and repository * Adding logic to separate rules of repositories * Adding more tests and fix responses * Fix default port * Fix fmt lint * Adding more tests and fix problems of not create new analysis * Fix swagger * Fix swagger docs * Adding pipelines and base of vulnerability service (#3) * Adding pipelines and base of vulnerability service * Update pipelines * Fixing pipelines * Fix pipeline * Feature/core (#4) * Adding core base project * Adding base project * Adding unity tests and create route * Adding swagger * Adding more workspace methods * Adding missing workspace methods and * Removing validation utils * Fixing some errors and improving code * Adding workspace unity tests * Adding controller tests * Adding workspace handler tests * Fixing unity test * Adding repository entities, controller, repository and handler * Improving code and fixing errors * Adding repositories and usecases tests * Adding create unity tests * Adding repository get * Adding get unity tests * Adding update repository * Update unity tests * Adding delete repository and tests * Adding list repositories methods * Adding list unity tests * Adding update repository role * Adding update role unity tests * Adding invite repository methods * Adding method to get all users of repository * Adding get repository user tests * ADding api to remove user from repository * Adding workspace groups in repository if empty * Fixing some errors * Adding create token api * Adding create token unity tests * Adding api to delete workspace token * Adding api to list workspace tokens * Adding repository token apis * Adding token repository tests * Updating coverage * Fixing fmt error Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/vulnerability (#5) * Adding handler of management of vulnerability * Adding route for list all vulnerabilities * Fix swagger and start use cases on vulnerability * Updating swagger and tests * Adding more unit tests * Adding new route of update vulnerability * Fix swagger * Fix middleware * Fix pipeline * Fix pipeline * Feature/analytic (#6) * Adding base of analytic service * Adding all routes of analytic and update swagger * Adding structure of handlers and useCases * Adding unit tests * Adding pipeline * Adding logic to getting content of dashboard * Adding analysis refactor * Adding analytic and broker config * Upgrade devkit on services execpt analytic * Fix lint and fmt in project * Fix get dash * Fix dashboard get dashboard and save analytic content * Finish all queries and validations without tests * Scripts * add analytic tests * Fix * Adding more unit tests * Fix fmt lint * Adding more unit tests * Adding analytic pipeline * Update horusec-config * Fix * Adding broker on health check * Feature/auth (#7) * Adding base auth service * Adding horusec login api * Adding ldap authentication type * Adding horusec auth request validation * Fixing lint errors * Adding keycloak service * Fixing lint errors * Adding horusec auth unity tests * Adding keycloak tests * Fixing lint errors * Adding ldap login tests * Adding ldap is authorized tests * Adding auth grpc methods * Adding entities tests * Adding repository tests * Adding use cases tests * Adding missing services unity tests * Fixing some errors and adding tests * Adding missing unity tests * Fixing file name * Adding missing tests and coverage * Adding account controller and fixing some issues * Adding create account keycloak * Adding account operations * Adding account operations * Adding api to update account * Adding account swagger * Fixing tests * Adding account usecases tests * Adding account repository tests * Adding account unity test * Adding account handler tests * Adding controller tests * Updating total coverage * Adding health check and fixing pipeline errors * Adding horusec config file * Updating config files * Fixing errors * Adding auth pipeline * Adding auth pipeline * Fixing pipeline * Fixing pipeline * Improving auth pipeline * Testing pipeline * Testing pipeline * Core Admin (#9) * Updating pipelines * Adding application admin rules * Adding default users * Fixing auth pipeline * Fixing application authorization rules * Fixing lint errors * Fixing pipeline file error * Feature/docker images compose (#10) * Adding api docker files and improving pipeline * Fixing pipeline name * Adding auth dockerfiles * Adding core dockerfiles * Improving analytic pipeline and adding dockerfiles * Adding vulnerability dockerfile and improving pipeline * Adding compose dev * Feature/core health check (#12) * Adding core health check * Fixing some errors * Update devkit (#13) * Update devkit * Fix coverage auth * Feature/up devkit (#14) * Fix devkit version * Update devkit on services * Feature/messages (#16) * Adding messages service * ADding pipeline * Fixing lint errors and improving code * Adding dockerfiles and compose dev * Code base of Manager (#11) * Added code base of horusec manager * Added manager pipeline * Feature/webhook (#15) * Adding base of webhook service * Adding workflow pipeline * Adding some unit tests * Adding unit tests * Finish all application * Fixing lint error, adding missing unity testa and improving code * Fixing compose dev errors * Change style in severity select and fix filter for (#18) * Update port analytic * [WIP]bufix/integration-errors (#20) * Fixing some issues found during integration with manager * Updating auth coverage * Core and Auth new integrations on Manager. (#19) * Integration with core and auth services * Unify company and repositories services into core service * Adjusting ports of services * Fixing error in invite user to workspace (#21) * Added integration with vulnerabilities service with manager (#22) * Feature/vulnerabilities (#23) * Adding many corrections * Fixing error while veryfing workspace admin in repository * Fixing imports * Fix some error on vulnerability service * Update go.mod packages * Fix imports fmt and lint Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update swagger analytic * Fixing some errors found while testing ldap * Fixing unity tests * Bugfix/fixing ldap errors (#24) * Fixing some errors found while testing ldap * Fixing unity tests * WIP: Services migration (#17) * Removinb analytic migration delete the analytic migration path to use devkit instead * Adding migrations dockerfile * Adding migrate script * Fixing migrate sh file * Moving migrations to project root * Adding migrations pipeline * Adding migrations pipeline * Adding sh vuln as risk accepted * Fix dashboard * Fix compose * Adding analytic database (#26) * Adding update when already exists vulnerability on database (#29) * Bugfix/block add workspace button for non admins user (#28) * add check on buttons * add message for application admin false * Update manager/src/pages/Internal/Workspaces/index.tsx Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> * Analytic manager integration (#31) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Added integration with all charts * Addes hash of risk accepted vuln * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Fix dashboard by time * Dashboard adjusts (#35) * Adjusting charths of dashboard * Removing console.log * Updating all in one entrypoint * Fix webhook (#25) * Fix webhook * remove ENDPOINT_API * Updating webhook cors * Fixing routes of webhook service in manager * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Integration with webhook api Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix vulnerability publish on broker * Fixing repository chart (#34) * Fixing repository chart * Removing unnecessary log * Adding repository bar chart * Fixing analytic lint problem * Manager improvees for the version 2 (#37) * Added header bar in internal screen and new settings screen * Remake side menu * Feature/helm (#39) * Fix * Adding helm files * Fixing error in webhook helm * Updating devkit Co-authored-by: wilian <wilian.silva@zup.com.br> * Adding appliacation admin as workspaces owner (#38) * Adding appliacation admin as all workspace owner * Fixing application addmin access * Fixing application admin * Reverting compose dev * Fixing repositories actions * Updating security pipeline * Fixing compose-dev Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Fix unknown on update vulnerability * change the display of actions (#40) * change the display of actions * fix tab index * Various small bugs in manager (#41) * Fixing URL validation in webhook screen, adjusting seleted effect of side menu and when get workspace failed, redirect do /add-workspace * Update index.tsx Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> * add popupstate (#43) * Fixing some errors (#44) * Fixing migrations build in makefile * Feature/analytic upgrade (#36) * Adding analytic migrate cmd * Adding migrate cmd fetch analysis * Adding migrate broker publisher * Removing migrate broker dependency * Adding analytic old data migration insertion * Adding analytic migrate error feedbacks * Updating make install to not drop databae * Fixing dashboard by time * Removing code comment * Adding migrate bin in analytic image * Adding analytic migration transaction * Fixing ordenation * Adding migration counter * Improving range * Adding migrate feedback * Fixing transaction * Adding visual feedback * Adding migration summary * Adding migration export error log file * Fixing migration error log file name * Adding no lint * Ignoring migrate files * Fixing analysis test * Testing coverage * fix bug (#46) * Repositories context manager (#45) * Change color of workspace * Add context for repositories * Fixing repositories list * Fix Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/upgrade versions (#47) * Upgrade scripts to create rc * Update security * Fix update * Fix makefile * Update Coverage * Updating versions files and semver * V2 helm (#48) * Adding analytic database uri * Fixing core migration * Fixing api migration * Fixing migrations * Adding analytic migration * Fixing vulnerability migration * Adding analytic migration * Adding migrate hook * Adding migrate hook * Fixing analytic hook * Removing unnecessary compose * Feature/fixing tests errors (#49) * Fixing some permissions errors and routes that were not in rest pattern * Fixing front routes * Fixing permission for repositorie dashboard * Fixing erro in list repositories query * Updating compose dev sleep in makefile * Removing second postgresql from composes Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing some issues in permisison level * Added option in BarChart component to transform in Vertical bars (#50) * Analytic manager improvees (#52) * Fixing route to update vulnerabilities, improve charts * Fixing route to get all vulnerabilities * Updating env var name in compose files Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Added option to set workspace as favorite (#53) * Updating go modules with the new devkit version * Added rule to ignore role when set as null workspace (#54) * Fix chart of vuln by time * Adding lisence files * adding migrate-up on compose dev * fix form reset after submit (#58) * Bugfix/production manager (#59) * Adding build production and adding cypress on dockerignore * Fix test * Fix lint * Fix on migrations and Helm adjustments for new version (#57) * Fixing migragte command * Fixing migragte command * Update to latest image tag * Renaming old references to account service * Adapting broker host accordingly with other charts * Fix service account configurations * Missing readiness and liveness probes * Add's command to Docker image build * Fix the auth healthcheck path * Add's missing environment variable * Fixing migrate * Updating the default webhook Ingress Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * change display calendar (#60) * change display calendar * Merge with develop * fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * Fetch repositories when exit workspace screen (#55) * Added fetch all repositories when exit of repositories screen * Added hash of vuln * Fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * feature/readme (#51) * Updating scripts url to use main branch * Adding readme shields * Fixing logo src * Adding readme topics * Adding install with compose and quick run * Improving install text * Updating readme * Adding readme images * Fixing image size * Minor fixes * Fixing makefile error * Fixing error in all-in-one * Updating readme * Fix grcp to grpc Co-authored-by: wilian <wilian.silva@zup.com.br> * Change analysis to timestamp and change vulnerability for response with some last analysis created (#62) * Fix compose and helm env values (#64) * Fix compose env * Fix compose and helm values * Fix return name of repository on list webhook and migration of vuln hash (#63) * Adding repository on list all webhooks * Fix return name of repository on list webhook * Adding migration of hashes * Fix lint * Fix some name * Fix folder name * Fixing requests with workspaceID undefined (#65) * Feature/migration analytic v2 (#61) * Improving analytic v2 script * Improving analytic v2 script * Improving code and fixing some analytic errors * Fixing some more errors and code improvements * Updating dashboard serach query * Fixing more errors * Updating queries * Improving dashboard queries * Improving code and fixing some errors * Fixing error in chart by time * Fixing error in chart by language * Fixing vuln by time chart query * Fixing error when update vulnerability * Fixing analytic tests * Fixing analytic lint errors * Fixing migration v2 lint errors * Fixing security pipeline * Updating migrations script and fixing errors * Removing distinct on in by language query * Adding vulnerability id to avoid duplicated * Fixing error in chart by language and author * Fixing error in chart by language and author * Fixing error in chart by language * Updating go modules and fixing some readme errors (#67) * Fixing refresh token flow in manager (#66) * Updating migration v2 env vars * Hotfix/analytic data migration (#68) * Updating vulnerability service devkit version * Fixing old database uri * Hotfix/analytic hash (#69) * Updating vulnerability service devkit version * Adding api migrate v1 to v2 hook * Fix versions in yaml Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> Co-authored-by: Lucas Bruno <69604366+lucasbrunozup@users.noreply.github.com> Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: Tiago Angelo <tiago.angelo@zup.com.br>
wiliansilvazup
added a commit
that referenced
this pull request
Jun 7, 2021
* Feature/api (#1) * Adding core base project * Adding route of health * Fix lint fmt and imports, Add handler of analysis * Upgrade script to lint and fmt * Fix makefile and golangcilint * Adding analysis test Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Finish api service (#2) * Adding controller of analysis without get workspace and repository * Adding logic to separate rules of repositories * Adding more tests and fix responses * Fix default port * Fix fmt lint * Adding more tests and fix problems of not create new analysis * Fix swagger * Fix swagger docs * Adding pipelines and base of vulnerability service (#3) * Adding pipelines and base of vulnerability service * Update pipelines * Fixing pipelines * Fix pipeline * Feature/core (#4) * Adding core base project * Adding base project * Adding unity tests and create route * Adding swagger * Adding more workspace methods * Adding missing workspace methods and * Removing validation utils * Fixing some errors and improving code * Adding workspace unity tests * Adding controller tests * Adding workspace handler tests * Fixing unity test * Adding repository entities, controller, repository and handler * Improving code and fixing errors * Adding repositories and usecases tests * Adding create unity tests * Adding repository get * Adding get unity tests * Adding update repository * Update unity tests * Adding delete repository and tests * Adding list repositories methods * Adding list unity tests * Adding update repository role * Adding update role unity tests * Adding invite repository methods * Adding method to get all users of repository * Adding get repository user tests * ADding api to remove user from repository * Adding workspace groups in repository if empty * Fixing some errors * Adding create token api * Adding create token unity tests * Adding api to delete workspace token * Adding api to list workspace tokens * Adding repository token apis * Adding token repository tests * Updating coverage * Fixing fmt error Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/vulnerability (#5) * Adding handler of management of vulnerability * Adding route for list all vulnerabilities * Fix swagger and start use cases on vulnerability * Updating swagger and tests * Adding more unit tests * Adding new route of update vulnerability * Fix swagger * Fix middleware * Fix pipeline * Fix pipeline * Feature/analytic (#6) * Adding base of analytic service * Adding all routes of analytic and update swagger * Adding structure of handlers and useCases * Adding unit tests * Adding pipeline * Adding logic to getting content of dashboard * Adding analysis refactor * Adding analytic and broker config * Upgrade devkit on services execpt analytic * Fix lint and fmt in project * Fix get dash * Fix dashboard get dashboard and save analytic content * Finish all queries and validations without tests * Scripts * add analytic tests * Fix * Adding more unit tests * Fix fmt lint * Adding more unit tests * Adding analytic pipeline * Update horusec-config * Fix * Adding broker on health check * Feature/auth (#7) * Adding base auth service * Adding horusec login api * Adding ldap authentication type * Adding horusec auth request validation * Fixing lint errors * Adding keycloak service * Fixing lint errors * Adding horusec auth unity tests * Adding keycloak tests * Fixing lint errors * Adding ldap login tests * Adding ldap is authorized tests * Adding auth grpc methods * Adding entities tests * Adding repository tests * Adding use cases tests * Adding missing services unity tests * Fixing some errors and adding tests * Adding missing unity tests * Fixing file name * Adding missing tests and coverage * Adding account controller and fixing some issues * Adding create account keycloak * Adding account operations * Adding account operations * Adding api to update account * Adding account swagger * Fixing tests * Adding account usecases tests * Adding account repository tests * Adding account unity test * Adding account handler tests * Adding controller tests * Updating total coverage * Adding health check and fixing pipeline errors * Adding horusec config file * Updating config files * Fixing errors * Adding auth pipeline * Adding auth pipeline * Fixing pipeline * Fixing pipeline * Improving auth pipeline * Testing pipeline * Testing pipeline * Core Admin (#9) * Updating pipelines * Adding application admin rules * Adding default users * Fixing auth pipeline * Fixing application authorization rules * Fixing lint errors * Fixing pipeline file error * Feature/docker images compose (#10) * Adding api docker files and improving pipeline * Fixing pipeline name * Adding auth dockerfiles * Adding core dockerfiles * Improving analytic pipeline and adding dockerfiles * Adding vulnerability dockerfile and improving pipeline * Adding compose dev * Feature/core health check (#12) * Adding core health check * Fixing some errors * Update devkit (#13) * Update devkit * Fix coverage auth * Feature/up devkit (#14) * Fix devkit version * Update devkit on services * Feature/messages (#16) * Adding messages service * ADding pipeline * Fixing lint errors and improving code * Adding dockerfiles and compose dev * Code base of Manager (#11) * Added code base of horusec manager * Added manager pipeline * Feature/webhook (#15) * Adding base of webhook service * Adding workflow pipeline * Adding some unit tests * Adding unit tests * Finish all application * Fixing lint error, adding missing unity testa and improving code * Fixing compose dev errors * Change style in severity select and fix filter for (#18) * Update port analytic * [WIP]bufix/integration-errors (#20) * Fixing some issues found during integration with manager * Updating auth coverage * Core and Auth new integrations on Manager. (#19) * Integration with core and auth services * Unify company and repositories services into core service * Adjusting ports of services * Fixing error in invite user to workspace (#21) * Added integration with vulnerabilities service with manager (#22) * Feature/vulnerabilities (#23) * Adding many corrections * Fixing error while veryfing workspace admin in repository * Fixing imports * Fix some error on vulnerability service * Update go.mod packages * Fix imports fmt and lint Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update swagger analytic * Fixing some errors found while testing ldap * Fixing unity tests * Bugfix/fixing ldap errors (#24) * Fixing some errors found while testing ldap * Fixing unity tests * WIP: Services migration (#17) * Removinb analytic migration delete the analytic migration path to use devkit instead * Adding migrations dockerfile * Adding migrate script * Fixing migrate sh file * Moving migrations to project root * Adding migrations pipeline * Adding migrations pipeline * Adding sh vuln as risk accepted * Fix dashboard * Fix compose * Adding analytic database (#26) * Adding update when already exists vulnerability on database (#29) * Bugfix/block add workspace button for non admins user (#28) * add check on buttons * add message for application admin false * Update manager/src/pages/Internal/Workspaces/index.tsx Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> * Analytic manager integration (#31) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Added integration with all charts * Addes hash of risk accepted vuln * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Fix dashboard by time * Dashboard adjusts (#35) * Adjusting charths of dashboard * Removing console.log * Updating all in one entrypoint * Fix webhook (#25) * Fix webhook * remove ENDPOINT_API * Updating webhook cors * Fixing routes of webhook service in manager * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Integration with webhook api Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix vulnerability publish on broker * Fixing repository chart (#34) * Fixing repository chart * Removing unnecessary log * Adding repository bar chart * Fixing analytic lint problem * Manager improvees for the version 2 (#37) * Added header bar in internal screen and new settings screen * Remake side menu * Feature/helm (#39) * Fix * Adding helm files * Fixing error in webhook helm * Updating devkit Co-authored-by: wilian <wilian.silva@zup.com.br> * Adding appliacation admin as workspaces owner (#38) * Adding appliacation admin as all workspace owner * Fixing application addmin access * Fixing application admin * Reverting compose dev * Fixing repositories actions * Updating security pipeline * Fixing compose-dev Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Fix unknown on update vulnerability * change the display of actions (#40) * change the display of actions * fix tab index * Various small bugs in manager (#41) * Fixing URL validation in webhook screen, adjusting seleted effect of side menu and when get workspace failed, redirect do /add-workspace * Update index.tsx Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> * add popupstate (#43) * Fixing some errors (#44) * Fixing migrations build in makefile * Feature/analytic upgrade (#36) * Adding analytic migrate cmd * Adding migrate cmd fetch analysis * Adding migrate broker publisher * Removing migrate broker dependency * Adding analytic old data migration insertion * Adding analytic migrate error feedbacks * Updating make install to not drop databae * Fixing dashboard by time * Removing code comment * Adding migrate bin in analytic image * Adding analytic migration transaction * Fixing ordenation * Adding migration counter * Improving range * Adding migrate feedback * Fixing transaction * Adding visual feedback * Adding migration summary * Adding migration export error log file * Fixing migration error log file name * Adding no lint * Ignoring migrate files * Fixing analysis test * Testing coverage * fix bug (#46) * Repositories context manager (#45) * Change color of workspace * Add context for repositories * Fixing repositories list * Fix Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/upgrade versions (#47) * Upgrade scripts to create rc * Update security * Fix update * Fix makefile * Update Coverage * Updating versions files and semver * V2 helm (#48) * Adding analytic database uri * Fixing core migration * Fixing api migration * Fixing migrations * Adding analytic migration * Fixing vulnerability migration * Adding analytic migration * Adding migrate hook * Adding migrate hook * Fixing analytic hook * Removing unnecessary compose * Feature/fixing tests errors (#49) * Fixing some permissions errors and routes that were not in rest pattern * Fixing front routes * Fixing permission for repositorie dashboard * Fixing erro in list repositories query * Updating compose dev sleep in makefile * Removing second postgresql from composes Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing some issues in permisison level * Added option in BarChart component to transform in Vertical bars (#50) * Analytic manager improvees (#52) * Fixing route to update vulnerabilities, improve charts * Fixing route to get all vulnerabilities * Updating env var name in compose files Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Added option to set workspace as favorite (#53) * Updating go modules with the new devkit version * Added rule to ignore role when set as null workspace (#54) * Fix chart of vuln by time * Adding lisence files * adding migrate-up on compose dev * fix form reset after submit (#58) * Bugfix/production manager (#59) * Adding build production and adding cypress on dockerignore * Fix test * Fix lint * Fix on migrations and Helm adjustments for new version (#57) * Fixing migragte command * Fixing migragte command * Update to latest image tag * Renaming old references to account service * Adapting broker host accordingly with other charts * Fix service account configurations * Missing readiness and liveness probes * Add's command to Docker image build * Fix the auth healthcheck path * Add's missing environment variable * Fixing migrate * Updating the default webhook Ingress Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * change display calendar (#60) * change display calendar * Merge with develop * fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * Fetch repositories when exit workspace screen (#55) * Added fetch all repositories when exit of repositories screen * Added hash of vuln * Fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * feature/readme (#51) * Updating scripts url to use main branch * Adding readme shields * Fixing logo src * Adding readme topics * Adding install with compose and quick run * Improving install text * Updating readme * Adding readme images * Fixing image size * Minor fixes * Fixing makefile error * Fixing error in all-in-one * Updating readme * Fix grcp to grpc Co-authored-by: wilian <wilian.silva@zup.com.br> * Change analysis to timestamp and change vulnerability for response with some last analysis created (#62) * Fix compose and helm env values (#64) * Fix compose env * Fix compose and helm values * Fix return name of repository on list webhook and migration of vuln hash (#63) * Adding repository on list all webhooks * Fix return name of repository on list webhook * Adding migration of hashes * Fix lint * Fix some name * Fix folder name * Fixing requests with workspaceID undefined (#65) * Feature/migration analytic v2 (#61) * Improving analytic v2 script * Improving analytic v2 script * Improving code and fixing some analytic errors * Fixing some more errors and code improvements * Updating dashboard serach query * Fixing more errors * Updating queries * Improving dashboard queries * Improving code and fixing some errors * Fixing error in chart by time * Fixing error in chart by language * Fixing vuln by time chart query * Fixing error when update vulnerability * Fixing analytic tests * Fixing analytic lint errors * Fixing migration v2 lint errors * Fixing security pipeline * Updating migrations script and fixing errors * Removing distinct on in by language query * Adding vulnerability id to avoid duplicated * Fixing error in chart by language and author * Fixing error in chart by language and author * Fixing error in chart by language * Updating go modules and fixing some readme errors (#67) * Fixing refresh token flow in manager (#66) * Updating migration v2 env vars * Hotfix/analytic data migration (#68) * Updating vulnerability service devkit version * Fixing old database uri * Hotfix/analytic hash (#69) * Updating vulnerability service devkit version * Adding api migrate v1 to v2 hook * Fix versions in yaml * Added a11y in dashboard (#71) * Replacing Helm Charts (#74) * Replacing Helm Charts * Ingress rules * Fix manager addresses * Add TLS certificates on Ingress * Fix image repositories * Add missing Auth configurations * Fix the migration database address * Add missing broker configurations * Configurable Migration image * Fix config * Feature/update many vulnerabilities (#75) * Improving code and fixing some errors * Fixing lint errors * Fixing pipeline errors * Changing patch api to update many vulnerabilities at once * Updating manager pipeline * Fixing security pipeline * implement update many vuln * Fixing minor issues * integrate with api * Fixing some analytic issues * Fixing manager pipeline * Adding vuln update table highlight * Adding update vulnerabilitiy count Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fixing error when publishin a new analysis event (#78) Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fix components addresses (#77) * Fix full components addresses * Fix environment variable for Core endpoint * Fix Nginx configuration of Core endpoint * Fix migrations Jobs Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Improvement manager responsiveness (#82) * Option to minimize and maxime the side menu * Fixing lint * Alter dahsboard layout to grid display * Added hash for false positive audit * manager path verify (#84) * Added verification of path with includes * Include hash in the false positive * [WIP] Feature/export json-pdf (#80) * create actions export * add loading i18n * xlsx formatter download * fix lint * fix variavel names * change config download pdf * fix lint * Delete package-lock.json * Added package-lock * Reset false positives hash of manager * Fixing vulnerabilities with valid hashs Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * [skip ci] Update versioning file Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Lucas Bruno <69604366+lucasbrunozup@users.noreply.github.com> Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: Tiago Angelo <tiago.angelo@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br>
wiliansilvazup
added a commit
that referenced
this pull request
Jun 21, 2021
* Feature/api (#1) * Adding core base project * Adding route of health * Fix lint fmt and imports, Add handler of analysis * Upgrade script to lint and fmt * Fix makefile and golangcilint * Adding analysis test Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Finish api service (#2) * Adding controller of analysis without get workspace and repository * Adding logic to separate rules of repositories * Adding more tests and fix responses * Fix default port * Fix fmt lint * Adding more tests and fix problems of not create new analysis * Fix swagger * Fix swagger docs * Adding pipelines and base of vulnerability service (#3) * Adding pipelines and base of vulnerability service * Update pipelines * Fixing pipelines * Fix pipeline * Feature/core (#4) * Adding core base project * Adding base project * Adding unity tests and create route * Adding swagger * Adding more workspace methods * Adding missing workspace methods and * Removing validation utils * Fixing some errors and improving code * Adding workspace unity tests * Adding controller tests * Adding workspace handler tests * Fixing unity test * Adding repository entities, controller, repository and handler * Improving code and fixing errors * Adding repositories and usecases tests * Adding create unity tests * Adding repository get * Adding get unity tests * Adding update repository * Update unity tests * Adding delete repository and tests * Adding list repositories methods * Adding list unity tests * Adding update repository role * Adding update role unity tests * Adding invite repository methods * Adding method to get all users of repository * Adding get repository user tests * ADding api to remove user from repository * Adding workspace groups in repository if empty * Fixing some errors * Adding create token api * Adding create token unity tests * Adding api to delete workspace token * Adding api to list workspace tokens * Adding repository token apis * Adding token repository tests * Updating coverage * Fixing fmt error Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/vulnerability (#5) * Adding handler of management of vulnerability * Adding route for list all vulnerabilities * Fix swagger and start use cases on vulnerability * Updating swagger and tests * Adding more unit tests * Adding new route of update vulnerability * Fix swagger * Fix middleware * Fix pipeline * Fix pipeline * Feature/analytic (#6) * Adding base of analytic service * Adding all routes of analytic and update swagger * Adding structure of handlers and useCases * Adding unit tests * Adding pipeline * Adding logic to getting content of dashboard * Adding analysis refactor * Adding analytic and broker config * Upgrade devkit on services execpt analytic * Fix lint and fmt in project * Fix get dash * Fix dashboard get dashboard and save analytic content * Finish all queries and validations without tests * Scripts * add analytic tests * Fix * Adding more unit tests * Fix fmt lint * Adding more unit tests * Adding analytic pipeline * Update horusec-config * Fix * Adding broker on health check * Feature/auth (#7) * Adding base auth service * Adding horusec login api * Adding ldap authentication type * Adding horusec auth request validation * Fixing lint errors * Adding keycloak service * Fixing lint errors * Adding horusec auth unity tests * Adding keycloak tests * Fixing lint errors * Adding ldap login tests * Adding ldap is authorized tests * Adding auth grpc methods * Adding entities tests * Adding repository tests * Adding use cases tests * Adding missing services unity tests * Fixing some errors and adding tests * Adding missing unity tests * Fixing file name * Adding missing tests and coverage * Adding account controller and fixing some issues * Adding create account keycloak * Adding account operations * Adding account operations * Adding api to update account * Adding account swagger * Fixing tests * Adding account usecases tests * Adding account repository tests * Adding account unity test * Adding account handler tests * Adding controller tests * Updating total coverage * Adding health check and fixing pipeline errors * Adding horusec config file * Updating config files * Fixing errors * Adding auth pipeline * Adding auth pipeline * Fixing pipeline * Fixing pipeline * Improving auth pipeline * Testing pipeline * Testing pipeline * Core Admin (#9) * Updating pipelines * Adding application admin rules * Adding default users * Fixing auth pipeline * Fixing application authorization rules * Fixing lint errors * Fixing pipeline file error * Feature/docker images compose (#10) * Adding api docker files and improving pipeline * Fixing pipeline name * Adding auth dockerfiles * Adding core dockerfiles * Improving analytic pipeline and adding dockerfiles * Adding vulnerability dockerfile and improving pipeline * Adding compose dev * Feature/core health check (#12) * Adding core health check * Fixing some errors * Update devkit (#13) * Update devkit * Fix coverage auth * Feature/up devkit (#14) * Fix devkit version * Update devkit on services * Feature/messages (#16) * Adding messages service * ADding pipeline * Fixing lint errors and improving code * Adding dockerfiles and compose dev * Code base of Manager (#11) * Added code base of horusec manager * Added manager pipeline * Feature/webhook (#15) * Adding base of webhook service * Adding workflow pipeline * Adding some unit tests * Adding unit tests * Finish all application * Fixing lint error, adding missing unity testa and improving code * Fixing compose dev errors * Change style in severity select and fix filter for (#18) * Update port analytic * [WIP]bufix/integration-errors (#20) * Fixing some issues found during integration with manager * Updating auth coverage * Core and Auth new integrations on Manager. (#19) * Integration with core and auth services * Unify company and repositories services into core service * Adjusting ports of services * Fixing error in invite user to workspace (#21) * Added integration with vulnerabilities service with manager (#22) * Feature/vulnerabilities (#23) * Adding many corrections * Fixing error while veryfing workspace admin in repository * Fixing imports * Fix some error on vulnerability service * Update go.mod packages * Fix imports fmt and lint Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update swagger analytic * Fixing some errors found while testing ldap * Fixing unity tests * Bugfix/fixing ldap errors (#24) * Fixing some errors found while testing ldap * Fixing unity tests * WIP: Services migration (#17) * Removinb analytic migration delete the analytic migration path to use devkit instead * Adding migrations dockerfile * Adding migrate script * Fixing migrate sh file * Moving migrations to project root * Adding migrations pipeline * Adding migrations pipeline * Adding sh vuln as risk accepted * Fix dashboard * Fix compose * Adding analytic database (#26) * Adding update when already exists vulnerability on database (#29) * Bugfix/block add workspace button for non admins user (#28) * add check on buttons * add message for application admin false * Update manager/src/pages/Internal/Workspaces/index.tsx Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> * Analytic manager integration (#31) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Added integration with all charts * Addes hash of risk accepted vuln * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Fix dashboard by time * Dashboard adjusts (#35) * Adjusting charths of dashboard * Removing console.log * Updating all in one entrypoint * Fix webhook (#25) * Fix webhook * remove ENDPOINT_API * Updating webhook cors * Fixing routes of webhook service in manager * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Integration with webhook api Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix vulnerability publish on broker * Fixing repository chart (#34) * Fixing repository chart * Removing unnecessary log * Adding repository bar chart * Fixing analytic lint problem * Manager improvees for the version 2 (#37) * Added header bar in internal screen and new settings screen * Remake side menu * Feature/helm (#39) * Fix * Adding helm files * Fixing error in webhook helm * Updating devkit Co-authored-by: wilian <wilian.silva@zup.com.br> * Adding appliacation admin as workspaces owner (#38) * Adding appliacation admin as all workspace owner * Fixing application addmin access * Fixing application admin * Reverting compose dev * Fixing repositories actions * Updating security pipeline * Fixing compose-dev Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Fix unknown on update vulnerability * change the display of actions (#40) * change the display of actions * fix tab index * Various small bugs in manager (#41) * Fixing URL validation in webhook screen, adjusting seleted effect of side menu and when get workspace failed, redirect do /add-workspace * Update index.tsx Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> * add popupstate (#43) * Fixing some errors (#44) * Fixing migrations build in makefile * Feature/analytic upgrade (#36) * Adding analytic migrate cmd * Adding migrate cmd fetch analysis * Adding migrate broker publisher * Removing migrate broker dependency * Adding analytic old data migration insertion * Adding analytic migrate error feedbacks * Updating make install to not drop databae * Fixing dashboard by time * Removing code comment * Adding migrate bin in analytic image * Adding analytic migration transaction * Fixing ordenation * Adding migration counter * Improving range * Adding migrate feedback * Fixing transaction * Adding visual feedback * Adding migration summary * Adding migration export error log file * Fixing migration error log file name * Adding no lint * Ignoring migrate files * Fixing analysis test * Testing coverage * fix bug (#46) * Repositories context manager (#45) * Change color of workspace * Add context for repositories * Fixing repositories list * Fix Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/upgrade versions (#47) * Upgrade scripts to create rc * Update security * Fix update * Fix makefile * Update Coverage * Updating versions files and semver * V2 helm (#48) * Adding analytic database uri * Fixing core migration * Fixing api migration * Fixing migrations * Adding analytic migration * Fixing vulnerability migration * Adding analytic migration * Adding migrate hook * Adding migrate hook * Fixing analytic hook * Removing unnecessary compose * Feature/fixing tests errors (#49) * Fixing some permissions errors and routes that were not in rest pattern * Fixing front routes * Fixing permission for repositorie dashboard * Fixing erro in list repositories query * Updating compose dev sleep in makefile * Removing second postgresql from composes Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing some issues in permisison level * Added option in BarChart component to transform in Vertical bars (#50) * Analytic manager improvees (#52) * Fixing route to update vulnerabilities, improve charts * Fixing route to get all vulnerabilities * Updating env var name in compose files Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Added option to set workspace as favorite (#53) * Updating go modules with the new devkit version * Added rule to ignore role when set as null workspace (#54) * Fix chart of vuln by time * Adding lisence files * adding migrate-up on compose dev * fix form reset after submit (#58) * Bugfix/production manager (#59) * Adding build production and adding cypress on dockerignore * Fix test * Fix lint * Fix on migrations and Helm adjustments for new version (#57) * Fixing migragte command * Fixing migragte command * Update to latest image tag * Renaming old references to account service * Adapting broker host accordingly with other charts * Fix service account configurations * Missing readiness and liveness probes * Add's command to Docker image build * Fix the auth healthcheck path * Add's missing environment variable * Fixing migrate * Updating the default webhook Ingress Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * change display calendar (#60) * change display calendar * Merge with develop * fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * Fetch repositories when exit workspace screen (#55) * Added fetch all repositories when exit of repositories screen * Added hash of vuln * Fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * feature/readme (#51) * Updating scripts url to use main branch * Adding readme shields * Fixing logo src * Adding readme topics * Adding install with compose and quick run * Improving install text * Updating readme * Adding readme images * Fixing image size * Minor fixes * Fixing makefile error * Fixing error in all-in-one * Updating readme * Fix grcp to grpc Co-authored-by: wilian <wilian.silva@zup.com.br> * Change analysis to timestamp and change vulnerability for response with some last analysis created (#62) * Fix compose and helm env values (#64) * Fix compose env * Fix compose and helm values * Fix return name of repository on list webhook and migration of vuln hash (#63) * Adding repository on list all webhooks * Fix return name of repository on list webhook * Adding migration of hashes * Fix lint * Fix some name * Fix folder name * Fixing requests with workspaceID undefined (#65) * Feature/migration analytic v2 (#61) * Improving analytic v2 script * Improving analytic v2 script * Improving code and fixing some analytic errors * Fixing some more errors and code improvements * Updating dashboard serach query * Fixing more errors * Updating queries * Improving dashboard queries * Improving code and fixing some errors * Fixing error in chart by time * Fixing error in chart by language * Fixing vuln by time chart query * Fixing error when update vulnerability * Fixing analytic tests * Fixing analytic lint errors * Fixing migration v2 lint errors * Fixing security pipeline * Updating migrations script and fixing errors * Removing distinct on in by language query * Adding vulnerability id to avoid duplicated * Fixing error in chart by language and author * Fixing error in chart by language and author * Fixing error in chart by language * Updating go modules and fixing some readme errors (#67) * Fixing refresh token flow in manager (#66) * Updating migration v2 env vars * Hotfix/analytic data migration (#68) * Updating vulnerability service devkit version * Fixing old database uri * Hotfix/analytic hash (#69) * Updating vulnerability service devkit version * Adding api migrate v1 to v2 hook * Fix versions in yaml * Added a11y in dashboard (#71) * Replacing Helm Charts (#74) * Replacing Helm Charts * Ingress rules * Fix manager addresses * Add TLS certificates on Ingress * Fix image repositories * Add missing Auth configurations * Fix the migration database address * Add missing broker configurations * Configurable Migration image * Fix config * Feature/update many vulnerabilities (#75) * Improving code and fixing some errors * Fixing lint errors * Fixing pipeline errors * Changing patch api to update many vulnerabilities at once * Updating manager pipeline * Fixing security pipeline * implement update many vuln * Fixing minor issues * integrate with api * Fixing some analytic issues * Fixing manager pipeline * Adding vuln update table highlight * Adding update vulnerabilitiy count Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fixing error when publishin a new analysis event (#78) Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fix components addresses (#77) * Fix full components addresses * Fix environment variable for Core endpoint * Fix Nginx configuration of Core endpoint * Fix migrations Jobs Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Improvement manager responsiveness (#82) * Option to minimize and maxime the side menu * Fixing lint * Alter dahsboard layout to grid display * Added hash for false positive audit * manager path verify (#84) * Added verification of path with includes * Include hash in the false positive * [WIP] Feature/export json-pdf (#80) * create actions export * add loading i18n * xlsx formatter download * fix lint * fix variavel names * change config download pdf * fix lint * Delete package-lock.json * Added package-lock * Reset false positives hash of manager * Fixing vulnerabilities with valid hashs Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * [skip ci] Update versioning file * Feature/horusec platfrom helm (#85) * Add sed vulnerability and webhook * Update horusec-platform helm chart * Update * Update TLS * Add tls: null * Update README * upgrade horusec-config.json * Fix latest version * change text i18n export (#88) * Add uri.scheme (#89) * Manager issues a11y in v2 dashboard (#91) * Fixing npm audit issues * Fixing hashs of vulns * Fixing slow animation when resize side menu * Removing global will change * Fixinf a11y issues on dahboard * Add hash of vulnerabilities * improvement css and add Table MatUi component (#94) * Feature/dependency check (#97) * Adding owasp dependency check tool * Updating devkit version * Feature/change env variable names (#95) * change var names * add compatibility with horus v1 and v2 * Update horusec-config.json * Upgrade semver * [skip ci] Update versioning file * Feature/improvement in table component (#96) * improvement css and add Table MatUi component * bug fix pagination, and performance improvement * Fix HORUSEC_MANAGER_URL and HORUSEC_AUTH_URL (#93) * Feature/save migration horusec (#90) * Upgrade migrations binaries to execute and find if exists migration name on horusec_migration tables * Fix path dockerfile * fix security * Fixing all lints (#99) * Fixing lint auth * Fixing lint core * Fixing security * Fxiing all lints of messages * Fixing security * Replace enums to usage from devkit (#102) * Updating platform with the new dotnet cli (#104) * [skip ci] Update versioning file Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Lucas Bruno <69604366+lucasbrunozup@users.noreply.github.com> Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: Tiago Angelo <tiago.angelo@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: safe2008 <74587391+safe2008@users.noreply.github.com>
nathanmartinszup
added a commit
that referenced
this pull request
Jul 15, 2021
* Feature/api (#1) * Adding core base project * Adding route of health * Fix lint fmt and imports, Add handler of analysis * Upgrade script to lint and fmt * Fix makefile and golangcilint * Adding analysis test Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Finish api service (#2) * Adding controller of analysis without get workspace and repository * Adding logic to separate rules of repositories * Adding more tests and fix responses * Fix default port * Fix fmt lint * Adding more tests and fix problems of not create new analysis * Fix swagger * Fix swagger docs * Adding pipelines and base of vulnerability service (#3) * Adding pipelines and base of vulnerability service * Update pipelines * Fixing pipelines * Fix pipeline * Feature/core (#4) * Adding core base project * Adding base project * Adding unity tests and create route * Adding swagger * Adding more workspace methods * Adding missing workspace methods and * Removing validation utils * Fixing some errors and improving code * Adding workspace unity tests * Adding controller tests * Adding workspace handler tests * Fixing unity test * Adding repository entities, controller, repository and handler * Improving code and fixing errors * Adding repositories and usecases tests * Adding create unity tests * Adding repository get * Adding get unity tests * Adding update repository * Update unity tests * Adding delete repository and tests * Adding list repositories methods * Adding list unity tests * Adding update repository role * Adding update role unity tests * Adding invite repository methods * Adding method to get all users of repository * Adding get repository user tests * ADding api to remove user from repository * Adding workspace groups in repository if empty * Fixing some errors * Adding create token api * Adding create token unity tests * Adding api to delete workspace token * Adding api to list workspace tokens * Adding repository token apis * Adding token repository tests * Updating coverage * Fixing fmt error Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/vulnerability (#5) * Adding handler of management of vulnerability * Adding route for list all vulnerabilities * Fix swagger and start use cases on vulnerability * Updating swagger and tests * Adding more unit tests * Adding new route of update vulnerability * Fix swagger * Fix middleware * Fix pipeline * Fix pipeline * Feature/analytic (#6) * Adding base of analytic service * Adding all routes of analytic and update swagger * Adding structure of handlers and useCases * Adding unit tests * Adding pipeline * Adding logic to getting content of dashboard * Adding analysis refactor * Adding analytic and broker config * Upgrade devkit on services execpt analytic * Fix lint and fmt in project * Fix get dash * Fix dashboard get dashboard and save analytic content * Finish all queries and validations without tests * Scripts * add analytic tests * Fix * Adding more unit tests * Fix fmt lint * Adding more unit tests * Adding analytic pipeline * Update horusec-config * Fix * Adding broker on health check * Feature/auth (#7) * Adding base auth service * Adding horusec login api * Adding ldap authentication type * Adding horusec auth request validation * Fixing lint errors * Adding keycloak service * Fixing lint errors * Adding horusec auth unity tests * Adding keycloak tests * Fixing lint errors * Adding ldap login tests * Adding ldap is authorized tests * Adding auth grpc methods * Adding entities tests * Adding repository tests * Adding use cases tests * Adding missing services unity tests * Fixing some errors and adding tests * Adding missing unity tests * Fixing file name * Adding missing tests and coverage * Adding account controller and fixing some issues * Adding create account keycloak * Adding account operations * Adding account operations * Adding api to update account * Adding account swagger * Fixing tests * Adding account usecases tests * Adding account repository tests * Adding account unity test * Adding account handler tests * Adding controller tests * Updating total coverage * Adding health check and fixing pipeline errors * Adding horusec config file * Updating config files * Fixing errors * Adding auth pipeline * Adding auth pipeline * Fixing pipeline * Fixing pipeline * Improving auth pipeline * Testing pipeline * Testing pipeline * Core Admin (#9) * Updating pipelines * Adding application admin rules * Adding default users * Fixing auth pipeline * Fixing application authorization rules * Fixing lint errors * Fixing pipeline file error * Feature/docker images compose (#10) * Adding api docker files and improving pipeline * Fixing pipeline name * Adding auth dockerfiles * Adding core dockerfiles * Improving analytic pipeline and adding dockerfiles * Adding vulnerability dockerfile and improving pipeline * Adding compose dev * Feature/core health check (#12) * Adding core health check * Fixing some errors * Update devkit (#13) * Update devkit * Fix coverage auth * Feature/up devkit (#14) * Fix devkit version * Update devkit on services * Feature/messages (#16) * Adding messages service * ADding pipeline * Fixing lint errors and improving code * Adding dockerfiles and compose dev * Code base of Manager (#11) * Added code base of horusec manager * Added manager pipeline * Feature/webhook (#15) * Adding base of webhook service * Adding workflow pipeline * Adding some unit tests * Adding unit tests * Finish all application * Fixing lint error, adding missing unity testa and improving code * Fixing compose dev errors * Change style in severity select and fix filter for (#18) * Update port analytic * [WIP]bufix/integration-errors (#20) * Fixing some issues found during integration with manager * Updating auth coverage * Core and Auth new integrations on Manager. (#19) * Integration with core and auth services * Unify company and repositories services into core service * Adjusting ports of services * Fixing error in invite user to workspace (#21) * Added integration with vulnerabilities service with manager (#22) * Feature/vulnerabilities (#23) * Adding many corrections * Fixing error while veryfing workspace admin in repository * Fixing imports * Fix some error on vulnerability service * Update go.mod packages * Fix imports fmt and lint Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update swagger analytic * Fixing some errors found while testing ldap * Fixing unity tests * Bugfix/fixing ldap errors (#24) * Fixing some errors found while testing ldap * Fixing unity tests * WIP: Services migration (#17) * Removinb analytic migration delete the analytic migration path to use devkit instead * Adding migrations dockerfile * Adding migrate script * Fixing migrate sh file * Moving migrations to project root * Adding migrations pipeline * Adding migrations pipeline * Adding sh vuln as risk accepted * Fix dashboard * Fix compose * Adding analytic database (#26) * Adding update when already exists vulnerability on database (#29) * Bugfix/block add workspace button for non admins user (#28) * add check on buttons * add message for application admin false * Update manager/src/pages/Internal/Workspaces/index.tsx Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> * Analytic manager integration (#31) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Added integration with all charts * Addes hash of risk accepted vuln * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Fix dashboard by time * Dashboard adjusts (#35) * Adjusting charths of dashboard * Removing console.log * Updating all in one entrypoint * Fix webhook (#25) * Fix webhook * remove ENDPOINT_API * Updating webhook cors * Fixing routes of webhook service in manager * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Integration with webhook api Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix vulnerability publish on broker * Fixing repository chart (#34) * Fixing repository chart * Removing unnecessary log * Adding repository bar chart * Fixing analytic lint problem * Manager improvees for the version 2 (#37) * Added header bar in internal screen and new settings screen * Remake side menu * Feature/helm (#39) * Fix * Adding helm files * Fixing error in webhook helm * Updating devkit Co-authored-by: wilian <wilian.silva@zup.com.br> * Adding appliacation admin as workspaces owner (#38) * Adding appliacation admin as all workspace owner * Fixing application addmin access * Fixing application admin * Reverting compose dev * Fixing repositories actions * Updating security pipeline * Fixing compose-dev Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Fix unknown on update vulnerability * change the display of actions (#40) * change the display of actions * fix tab index * Various small bugs in manager (#41) * Fixing URL validation in webhook screen, adjusting seleted effect of side menu and when get workspace failed, redirect do /add-workspace * Update index.tsx Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> * add popupstate (#43) * Fixing some errors (#44) * Fixing migrations build in makefile * Feature/analytic upgrade (#36) * Adding analytic migrate cmd * Adding migrate cmd fetch analysis * Adding migrate broker publisher * Removing migrate broker dependency * Adding analytic old data migration insertion * Adding analytic migrate error feedbacks * Updating make install to not drop databae * Fixing dashboard by time * Removing code comment * Adding migrate bin in analytic image * Adding analytic migration transaction * Fixing ordenation * Adding migration counter * Improving range * Adding migrate feedback * Fixing transaction * Adding visual feedback * Adding migration summary * Adding migration export error log file * Fixing migration error log file name * Adding no lint * Ignoring migrate files * Fixing analysis test * Testing coverage * fix bug (#46) * Repositories context manager (#45) * Change color of workspace * Add context for repositories * Fixing repositories list * Fix Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/upgrade versions (#47) * Upgrade scripts to create rc * Update security * Fix update * Fix makefile * Update Coverage * Updating versions files and semver * V2 helm (#48) * Adding analytic database uri * Fixing core migration * Fixing api migration * Fixing migrations * Adding analytic migration * Fixing vulnerability migration * Adding analytic migration * Adding migrate hook * Adding migrate hook * Fixing analytic hook * Removing unnecessary compose * Feature/fixing tests errors (#49) * Fixing some permissions errors and routes that were not in rest pattern * Fixing front routes * Fixing permission for repositorie dashboard * Fixing erro in list repositories query * Updating compose dev sleep in makefile * Removing second postgresql from composes Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing some issues in permisison level * Added option in BarChart component to transform in Vertical bars (#50) * Analytic manager improvees (#52) * Fixing route to update vulnerabilities, improve charts * Fixing route to get all vulnerabilities * Updating env var name in compose files Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Added option to set workspace as favorite (#53) * Updating go modules with the new devkit version * Added rule to ignore role when set as null workspace (#54) * Fix chart of vuln by time * Adding lisence files * adding migrate-up on compose dev * fix form reset after submit (#58) * Bugfix/production manager (#59) * Adding build production and adding cypress on dockerignore * Fix test * Fix lint * Fix on migrations and Helm adjustments for new version (#57) * Fixing migragte command * Fixing migragte command * Update to latest image tag * Renaming old references to account service * Adapting broker host accordingly with other charts * Fix service account configurations * Missing readiness and liveness probes * Add's command to Docker image build * Fix the auth healthcheck path * Add's missing environment variable * Fixing migrate * Updating the default webhook Ingress Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * change display calendar (#60) * change display calendar * Merge with develop * fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * Fetch repositories when exit workspace screen (#55) * Added fetch all repositories when exit of repositories screen * Added hash of vuln * Fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * feature/readme (#51) * Updating scripts url to use main branch * Adding readme shields * Fixing logo src * Adding readme topics * Adding install with compose and quick run * Improving install text * Updating readme * Adding readme images * Fixing image size * Minor fixes * Fixing makefile error * Fixing error in all-in-one * Updating readme * Fix grcp to grpc Co-authored-by: wilian <wilian.silva@zup.com.br> * Change analysis to timestamp and change vulnerability for response with some last analysis created (#62) * Fix compose and helm env values (#64) * Fix compose env * Fix compose and helm values * Fix return name of repository on list webhook and migration of vuln hash (#63) * Adding repository on list all webhooks * Fix return name of repository on list webhook * Adding migration of hashes * Fix lint * Fix some name * Fix folder name * Fixing requests with workspaceID undefined (#65) * Feature/migration analytic v2 (#61) * Improving analytic v2 script * Improving analytic v2 script * Improving code and fixing some analytic errors * Fixing some more errors and code improvements * Updating dashboard serach query * Fixing more errors * Updating queries * Improving dashboard queries * Improving code and fixing some errors * Fixing error in chart by time * Fixing error in chart by language * Fixing vuln by time chart query * Fixing error when update vulnerability * Fixing analytic tests * Fixing analytic lint errors * Fixing migration v2 lint errors * Fixing security pipeline * Updating migrations script and fixing errors * Removing distinct on in by language query * Adding vulnerability id to avoid duplicated * Fixing error in chart by language and author * Fixing error in chart by language and author * Fixing error in chart by language * Updating go modules and fixing some readme errors (#67) * Fixing refresh token flow in manager (#66) * Updating migration v2 env vars * Hotfix/analytic data migration (#68) * Updating vulnerability service devkit version * Fixing old database uri * Hotfix/analytic hash (#69) * Updating vulnerability service devkit version * Adding api migrate v1 to v2 hook * Fix versions in yaml * Added a11y in dashboard (#71) * Replacing Helm Charts (#74) * Replacing Helm Charts * Ingress rules * Fix manager addresses * Add TLS certificates on Ingress * Fix image repositories * Add missing Auth configurations * Fix the migration database address * Add missing broker configurations * Configurable Migration image * Fix config * Feature/update many vulnerabilities (#75) * Improving code and fixing some errors * Fixing lint errors * Fixing pipeline errors * Changing patch api to update many vulnerabilities at once * Updating manager pipeline * Fixing security pipeline * implement update many vuln * Fixing minor issues * integrate with api * Fixing some analytic issues * Fixing manager pipeline * Adding vuln update table highlight * Adding update vulnerabilitiy count Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fixing error when publishin a new analysis event (#78) Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fix components addresses (#77) * Fix full components addresses * Fix environment variable for Core endpoint * Fix Nginx configuration of Core endpoint * Fix migrations Jobs Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Improvement manager responsiveness (#82) * Option to minimize and maxime the side menu * Fixing lint * Alter dahsboard layout to grid display * Added hash for false positive audit * manager path verify (#84) * Added verification of path with includes * Include hash in the false positive * [WIP] Feature/export json-pdf (#80) * create actions export * add loading i18n * xlsx formatter download * fix lint * fix variavel names * change config download pdf * fix lint * Delete package-lock.json * Added package-lock * Reset false positives hash of manager * Fixing vulnerabilities with valid hashs Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * [skip ci] Update versioning file * Feature/horusec platfrom helm (#85) * Add sed vulnerability and webhook * Update horusec-platform helm chart * Update * Update TLS * Add tls: null * Update README * upgrade horusec-config.json * Fix latest version * change text i18n export (#88) * Add uri.scheme (#89) * Manager issues a11y in v2 dashboard (#91) * Fixing npm audit issues * Fixing hashs of vulns * Fixing slow animation when resize side menu * Removing global will change * Fixinf a11y issues on dahboard * Add hash of vulnerabilities * improvement css and add Table MatUi component (#94) * Feature/dependency check (#97) * Adding owasp dependency check tool * Updating devkit version * Feature/change env variable names (#95) * change var names * add compatibility with horus v1 and v2 * Update horusec-config.json * Upgrade semver * [skip ci] Update versioning file * Feature/improvement in table component (#96) * improvement css and add Table MatUi component * bug fix pagination, and performance improvement * Fix HORUSEC_MANAGER_URL and HORUSEC_AUTH_URL (#93) * Feature/save migration horusec (#90) * Upgrade migrations binaries to execute and find if exists migration name on horusec_migration tables * Fix path dockerfile * fix security * Fixing all lints (#99) * Fixing lint auth * Fixing lint core * Fixing security * Fxiing all lints of messages * Fixing security * Replace enums to usage from devkit (#102) * Updating platform with the new dotnet cli (#104) * [skip ci] Update versioning file * [WIP] Feature/manager overview routes (#101) * Rename Internal to overview and create base for the home screen * Rename Internal to overview and create base for the home screen * Fix security * Fixing cypress test Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/move modal content to screen (#106) * Rename Internal to overview and create base for the home screen * Rename Internal to overview and create base for the home screen * Fix security * Fixing cypress test * create route get one repository * remove modal content screen in repositories and workspace Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: wilian <wilian.silva@zup.com.br> * Manager - Home Screen (#108) * Add base for the home screen * Added home flow, and Home/Workspaces screen * Finished home screen * Adding nancy support in platform (#105) * Workspace selection remover without side menu (#107) * hook to retrieve workspace and repository via url * link to back home in logo * integration with develop * fix Dashboard route * Fix svg and titles logic * Bugfix/standardization manager navigation (#112) * Fixing routes * Tokens screens * remove workspace tokens * i18n and users screen Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * fix (#111) * New navigation on manager - improvements. (#114) * Add name of context in overview internal * Fixing texts on token screen and minize overviw name * Improvee name on selected context in the side menu * Fixing repositoryID response when the token workspace (#115) * Fixing repositoryID response when the token workspace * Fixing lint * Feature/refactor routes to fetch tokens (#116) * add new routes and remove if's * refacture tokens add * Adding missing headers in files (#118) * Adding missing headers in files * Updating vulnerability hashes * Manager - Users Screen (#117) * Added new screen for the handle user on repository and workspace * Translate users screen * i8n token screens * fix * fix validation Scheme on users Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> * Fixing pipeline errors * Permissions on new manager navigation (#120) * Fixing translate text on permission modal * Refactor permissions * Fixing ldap error message, and verify other messages (#122) Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Repositories count in workspace (#124) * Added count of repositories in workspaces list * Added count of repositories in workspaces list Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing to return count something in Horusec auth type Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing error when getting repository created by workspace token (#125) Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Updating devkit version and updating compose with the latest release * Updating go sum Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * [skip ci] updating versioning file Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> Co-authored-by: Lucas Bruno <69604366+lucasbrunozup@users.noreply.github.com> Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: Tiago Angelo <tiago.angelo@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: safe2008 <74587391+safe2008@users.noreply.github.com>
wiliansilvazup
added a commit
that referenced
this pull request
Aug 2, 2021
* Feature/api (#1) * Adding core base project * Adding route of health * Fix lint fmt and imports, Add handler of analysis * Upgrade script to lint and fmt * Fix makefile and golangcilint * Adding analysis test Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Finish api service (#2) * Adding controller of analysis without get workspace and repository * Adding logic to separate rules of repositories * Adding more tests and fix responses * Fix default port * Fix fmt lint * Adding more tests and fix problems of not create new analysis * Fix swagger * Fix swagger docs * Adding pipelines and base of vulnerability service (#3) * Adding pipelines and base of vulnerability service * Update pipelines * Fixing pipelines * Fix pipeline * Feature/core (#4) * Adding core base project * Adding base project * Adding unity tests and create route * Adding swagger * Adding more workspace methods * Adding missing workspace methods and * Removing validation utils * Fixing some errors and improving code * Adding workspace unity tests * Adding controller tests * Adding workspace handler tests * Fixing unity test * Adding repository entities, controller, repository and handler * Improving code and fixing errors * Adding repositories and usecases tests * Adding create unity tests * Adding repository get * Adding get unity tests * Adding update repository * Update unity tests * Adding delete repository and tests * Adding list repositories methods * Adding list unity tests * Adding update repository role * Adding update role unity tests * Adding invite repository methods * Adding method to get all users of repository * Adding get repository user tests * ADding api to remove user from repository * Adding workspace groups in repository if empty * Fixing some errors * Adding create token api * Adding create token unity tests * Adding api to delete workspace token * Adding api to list workspace tokens * Adding repository token apis * Adding token repository tests * Updating coverage * Fixing fmt error Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/vulnerability (#5) * Adding handler of management of vulnerability * Adding route for list all vulnerabilities * Fix swagger and start use cases on vulnerability * Updating swagger and tests * Adding more unit tests * Adding new route of update vulnerability * Fix swagger * Fix middleware * Fix pipeline * Fix pipeline * Feature/analytic (#6) * Adding base of analytic service * Adding all routes of analytic and update swagger * Adding structure of handlers and useCases * Adding unit tests * Adding pipeline * Adding logic to getting content of dashboard * Adding analysis refactor * Adding analytic and broker config * Upgrade devkit on services execpt analytic * Fix lint and fmt in project * Fix get dash * Fix dashboard get dashboard and save analytic content * Finish all queries and validations without tests * Scripts * add analytic tests * Fix * Adding more unit tests * Fix fmt lint * Adding more unit tests * Adding analytic pipeline * Update horusec-config * Fix * Adding broker on health check * Feature/auth (#7) * Adding base auth service * Adding horusec login api * Adding ldap authentication type * Adding horusec auth request validation * Fixing lint errors * Adding keycloak service * Fixing lint errors * Adding horusec auth unity tests * Adding keycloak tests * Fixing lint errors * Adding ldap login tests * Adding ldap is authorized tests * Adding auth grpc methods * Adding entities tests * Adding repository tests * Adding use cases tests * Adding missing services unity tests * Fixing some errors and adding tests * Adding missing unity tests * Fixing file name * Adding missing tests and coverage * Adding account controller and fixing some issues * Adding create account keycloak * Adding account operations * Adding account operations * Adding api to update account * Adding account swagger * Fixing tests * Adding account usecases tests * Adding account repository tests * Adding account unity test * Adding account handler tests * Adding controller tests * Updating total coverage * Adding health check and fixing pipeline errors * Adding horusec config file * Updating config files * Fixing errors * Adding auth pipeline * Adding auth pipeline * Fixing pipeline * Fixing pipeline * Improving auth pipeline * Testing pipeline * Testing pipeline * Core Admin (#9) * Updating pipelines * Adding application admin rules * Adding default users * Fixing auth pipeline * Fixing application authorization rules * Fixing lint errors * Fixing pipeline file error * Feature/docker images compose (#10) * Adding api docker files and improving pipeline * Fixing pipeline name * Adding auth dockerfiles * Adding core dockerfiles * Improving analytic pipeline and adding dockerfiles * Adding vulnerability dockerfile and improving pipeline * Adding compose dev * Feature/core health check (#12) * Adding core health check * Fixing some errors * Update devkit (#13) * Update devkit * Fix coverage auth * Feature/up devkit (#14) * Fix devkit version * Update devkit on services * Feature/messages (#16) * Adding messages service * ADding pipeline * Fixing lint errors and improving code * Adding dockerfiles and compose dev * Code base of Manager (#11) * Added code base of horusec manager * Added manager pipeline * Feature/webhook (#15) * Adding base of webhook service * Adding workflow pipeline * Adding some unit tests * Adding unit tests * Finish all application * Fixing lint error, adding missing unity testa and improving code * Fixing compose dev errors * Change style in severity select and fix filter for (#18) * Update port analytic * [WIP]bufix/integration-errors (#20) * Fixing some issues found during integration with manager * Updating auth coverage * Core and Auth new integrations on Manager. (#19) * Integration with core and auth services * Unify company and repositories services into core service * Adjusting ports of services * Fixing error in invite user to workspace (#21) * Added integration with vulnerabilities service with manager (#22) * Feature/vulnerabilities (#23) * Adding many corrections * Fixing error while veryfing workspace admin in repository * Fixing imports * Fix some error on vulnerability service * Update go.mod packages * Fix imports fmt and lint Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update swagger analytic * Fixing some errors found while testing ldap * Fixing unity tests * Bugfix/fixing ldap errors (#24) * Fixing some errors found while testing ldap * Fixing unity tests * WIP: Services migration (#17) * Removinb analytic migration delete the analytic migration path to use devkit instead * Adding migrations dockerfile * Adding migrate script * Fixing migrate sh file * Moving migrations to project root * Adding migrations pipeline * Adding migrations pipeline * Adding sh vuln as risk accepted * Fix dashboard * Fix compose * Adding analytic database (#26) * Adding update when already exists vulnerability on database (#29) * Bugfix/block add workspace button for non admins user (#28) * add check on buttons * add message for application admin false * Update manager/src/pages/Internal/Workspaces/index.tsx Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> * Analytic manager integration (#31) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Added integration with all charts * Addes hash of risk accepted vuln * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Fix dashboard by time * Dashboard adjusts (#35) * Adjusting charths of dashboard * Removing console.log * Updating all in one entrypoint * Fix webhook (#25) * Fix webhook * remove ENDPOINT_API * Updating webhook cors * Fixing routes of webhook service in manager * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Integration with webhook api Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix vulnerability publish on broker * Fixing repository chart (#34) * Fixing repository chart * Removing unnecessary log * Adding repository bar chart * Fixing analytic lint problem * Manager improvees for the version 2 (#37) * Added header bar in internal screen and new settings screen * Remake side menu * Feature/helm (#39) * Fix * Adding helm files * Fixing error in webhook helm * Updating devkit Co-authored-by: wilian <wilian.silva@zup.com.br> * Adding appliacation admin as workspaces owner (#38) * Adding appliacation admin as all workspace owner * Fixing application addmin access * Fixing application admin * Reverting compose dev * Fixing repositories actions * Updating security pipeline * Fixing compose-dev Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Fix unknown on update vulnerability * change the display of actions (#40) * change the display of actions * fix tab index * Various small bugs in manager (#41) * Fixing URL validation in webhook screen, adjusting seleted effect of side menu and when get workspace failed, redirect do /add-workspace * Update index.tsx Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> * add popupstate (#43) * Fixing some errors (#44) * Fixing migrations build in makefile * Feature/analytic upgrade (#36) * Adding analytic migrate cmd * Adding migrate cmd fetch analysis * Adding migrate broker publisher * Removing migrate broker dependency * Adding analytic old data migration insertion * Adding analytic migrate error feedbacks * Updating make install to not drop databae * Fixing dashboard by time * Removing code comment * Adding migrate bin in analytic image * Adding analytic migration transaction * Fixing ordenation * Adding migration counter * Improving range * Adding migrate feedback * Fixing transaction * Adding visual feedback * Adding migration summary * Adding migration export error log file * Fixing migration error log file name * Adding no lint * Ignoring migrate files * Fixing analysis test * Testing coverage * fix bug (#46) * Repositories context manager (#45) * Change color of workspace * Add context for repositories * Fixing repositories list * Fix Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/upgrade versions (#47) * Upgrade scripts to create rc * Update security * Fix update * Fix makefile * Update Coverage * Updating versions files and semver * V2 helm (#48) * Adding analytic database uri * Fixing core migration * Fixing api migration * Fixing migrations * Adding analytic migration * Fixing vulnerability migration * Adding analytic migration * Adding migrate hook * Adding migrate hook * Fixing analytic hook * Removing unnecessary compose * Feature/fixing tests errors (#49) * Fixing some permissions errors and routes that were not in rest pattern * Fixing front routes * Fixing permission for repositorie dashboard * Fixing erro in list repositories query * Updating compose dev sleep in makefile * Removing second postgresql from composes Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing some issues in permisison level * Added option in BarChart component to transform in Vertical bars (#50) * Analytic manager improvees (#52) * Fixing route to update vulnerabilities, improve charts * Fixing route to get all vulnerabilities * Updating env var name in compose files Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Added option to set workspace as favorite (#53) * Updating go modules with the new devkit version * Added rule to ignore role when set as null workspace (#54) * Fix chart of vuln by time * Adding lisence files * adding migrate-up on compose dev * fix form reset after submit (#58) * Bugfix/production manager (#59) * Adding build production and adding cypress on dockerignore * Fix test * Fix lint * Fix on migrations and Helm adjustments for new version (#57) * Fixing migragte command * Fixing migragte command * Update to latest image tag * Renaming old references to account service * Adapting broker host accordingly with other charts * Fix service account configurations * Missing readiness and liveness probes * Add's command to Docker image build * Fix the auth healthcheck path * Add's missing environment variable * Fixing migrate * Updating the default webhook Ingress Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * change display calendar (#60) * change display calendar * Merge with develop * fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * Fetch repositories when exit workspace screen (#55) * Added fetch all repositories when exit of repositories screen * Added hash of vuln * Fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * feature/readme (#51) * Updating scripts url to use main branch * Adding readme shields * Fixing logo src * Adding readme topics * Adding install with compose and quick run * Improving install text * Updating readme * Adding readme images * Fixing image size * Minor fixes * Fixing makefile error * Fixing error in all-in-one * Updating readme * Fix grcp to grpc Co-authored-by: wilian <wilian.silva@zup.com.br> * Change analysis to timestamp and change vulnerability for response with some last analysis created (#62) * Fix compose and helm env values (#64) * Fix compose env * Fix compose and helm values * Fix return name of repository on list webhook and migration of vuln hash (#63) * Adding repository on list all webhooks * Fix return name of repository on list webhook * Adding migration of hashes * Fix lint * Fix some name * Fix folder name * Fixing requests with workspaceID undefined (#65) * Feature/migration analytic v2 (#61) * Improving analytic v2 script * Improving analytic v2 script * Improving code and fixing some analytic errors * Fixing some more errors and code improvements * Updating dashboard serach query * Fixing more errors * Updating queries * Improving dashboard queries * Improving code and fixing some errors * Fixing error in chart by time * Fixing error in chart by language * Fixing vuln by time chart query * Fixing error when update vulnerability * Fixing analytic tests * Fixing analytic lint errors * Fixing migration v2 lint errors * Fixing security pipeline * Updating migrations script and fixing errors * Removing distinct on in by language query * Adding vulnerability id to avoid duplicated * Fixing error in chart by language and author * Fixing error in chart by language and author * Fixing error in chart by language * Updating go modules and fixing some readme errors (#67) * Fixing refresh token flow in manager (#66) * Updating migration v2 env vars * Hotfix/analytic data migration (#68) * Updating vulnerability service devkit version * Fixing old database uri * Hotfix/analytic hash (#69) * Updating vulnerability service devkit version * Adding api migrate v1 to v2 hook * Fix versions in yaml * Added a11y in dashboard (#71) * Replacing Helm Charts (#74) * Replacing Helm Charts * Ingress rules * Fix manager addresses * Add TLS certificates on Ingress * Fix image repositories * Add missing Auth configurations * Fix the migration database address * Add missing broker configurations * Configurable Migration image * Fix config * Feature/update many vulnerabilities (#75) * Improving code and fixing some errors * Fixing lint errors * Fixing pipeline errors * Changing patch api to update many vulnerabilities at once * Updating manager pipeline * Fixing security pipeline * implement update many vuln * Fixing minor issues * integrate with api * Fixing some analytic issues * Fixing manager pipeline * Adding vuln update table highlight * Adding update vulnerabilitiy count Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fixing error when publishin a new analysis event (#78) Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fix components addresses (#77) * Fix full components addresses * Fix environment variable for Core endpoint * Fix Nginx configuration of Core endpoint * Fix migrations Jobs Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Improvement manager responsiveness (#82) * Option to minimize and maxime the side menu * Fixing lint * Alter dahsboard layout to grid display * Added hash for false positive audit * manager path verify (#84) * Added verification of path with includes * Include hash in the false positive * [WIP] Feature/export json-pdf (#80) * create actions export * add loading i18n * xlsx formatter download * fix lint * fix variavel names * change config download pdf * fix lint * Delete package-lock.json * Added package-lock * Reset false positives hash of manager * Fixing vulnerabilities with valid hashs Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * [skip ci] Update versioning file * Feature/horusec platfrom helm (#85) * Add sed vulnerability and webhook * Update horusec-platform helm chart * Update * Update TLS * Add tls: null * Update README * upgrade horusec-config.json * Fix latest version * change text i18n export (#88) * Add uri.scheme (#89) * Manager issues a11y in v2 dashboard (#91) * Fixing npm audit issues * Fixing hashs of vulns * Fixing slow animation when resize side menu * Removing global will change * Fixinf a11y issues on dahboard * Add hash of vulnerabilities * improvement css and add Table MatUi component (#94) * Feature/dependency check (#97) * Adding owasp dependency check tool * Updating devkit version * Feature/change env variable names (#95) * change var names * add compatibility with horus v1 and v2 * Update horusec-config.json * Upgrade semver * [skip ci] Update versioning file * Feature/improvement in table component (#96) * improvement css and add Table MatUi component * bug fix pagination, and performance improvement * Fix HORUSEC_MANAGER_URL and HORUSEC_AUTH_URL (#93) * Feature/save migration horusec (#90) * Upgrade migrations binaries to execute and find if exists migration name on horusec_migration tables * Fix path dockerfile * fix security * Fixing all lints (#99) * Fixing lint auth * Fixing lint core * Fixing security * Fxiing all lints of messages * Fixing security * Replace enums to usage from devkit (#102) * Updating platform with the new dotnet cli (#104) * [skip ci] Update versioning file * [WIP] Feature/manager overview routes (#101) * Rename Internal to overview and create base for the home screen * Rename Internal to overview and create base for the home screen * Fix security * Fixing cypress test Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/move modal content to screen (#106) * Rename Internal to overview and create base for the home screen * Rename Internal to overview and create base for the home screen * Fix security * Fixing cypress test * create route get one repository * remove modal content screen in repositories and workspace Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: wilian <wilian.silva@zup.com.br> * Manager - Home Screen (#108) * Add base for the home screen * Added home flow, and Home/Workspaces screen * Finished home screen * Adding nancy support in platform (#105) * Workspace selection remover without side menu (#107) * hook to retrieve workspace and repository via url * link to back home in logo * integration with develop * fix Dashboard route * Fix svg and titles logic * Bugfix/standardization manager navigation (#112) * Fixing routes * Tokens screens * remove workspace tokens * i18n and users screen Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * fix (#111) * New navigation on manager - improvements. (#114) * Add name of context in overview internal * Fixing texts on token screen and minize overviw name * Improvee name on selected context in the side menu * Fixing repositoryID response when the token workspace (#115) * Fixing repositoryID response when the token workspace * Fixing lint * Feature/refactor routes to fetch tokens (#116) * add new routes and remove if's * refacture tokens add * Adding missing headers in files (#118) * Adding missing headers in files * Updating vulnerability hashes * Manager - Users Screen (#117) * Added new screen for the handle user on repository and workspace * Translate users screen * i8n token screens * fix * fix validation Scheme on users Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> * Fixing pipeline errors * Permissions on new manager navigation (#120) * Fixing translate text on permission modal * Refactor permissions * Fixing ldap error message, and verify other messages (#122) Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Repositories count in workspace (#124) * Added count of repositories in workspaces list * Added count of repositories in workspaces list Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing to return count something in Horusec auth type Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing error when getting repository created by workspace token (#125) Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Updating devkit version and updating compose with the latest release * Updating go sum Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * [skip ci] updating versioning file Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * update gifs readme (#131) * The automation of release processes (#135) * Add query param on get all users og workspace to filter something user not belong, add error when a email invited is not registered on Horusec (#132) * =Update helm charts to latest version (#141) (#143) * Update docker images to v2.16.2 Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Lucas Bruno <69604366+lucasbrunozup@users.noreply.github.com> Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: Tiago Angelo <tiago.angelo@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: safe2008 <74587391+safe2008@users.noreply.github.com>
wiliansilvazup
added a commit
that referenced
this pull request
Sep 14, 2021
* Adding pipelines and base of vulnerability service (#3) * Adding pipelines and base of vulnerability service * Update pipelines * Fixing pipelines * Fix pipeline * Feature/core (#4) * Adding core base project * Adding base project * Adding unity tests and create route * Adding swagger * Adding more workspace methods * Adding missing workspace methods and * Removing validation utils * Fixing some errors and improving code * Adding workspace unity tests * Adding controller tests * Adding workspace handler tests * Fixing unity test * Adding repository entities, controller, repository and handler * Improving code and fixing errors * Adding repositories and usecases tests * Adding create unity tests * Adding repository get * Adding get unity tests * Adding update repository * Update unity tests * Adding delete repository and tests * Adding list repositories methods * Adding list unity tests * Adding update repository role * Adding update role unity tests * Adding invite repository methods * Adding method to get all users of repository * Adding get repository user tests * ADding api to remove user from repository * Adding workspace groups in repository if empty * Fixing some errors * Adding create token api * Adding create token unity tests * Adding api to delete workspace token * Adding api to list workspace tokens * Adding repository token apis * Adding token repository tests * Updating coverage * Fixing fmt error Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/vulnerability (#5) * Adding handler of management of vulnerability * Adding route for list all vulnerabilities * Fix swagger and start use cases on vulnerability * Updating swagger and tests * Adding more unit tests * Adding new route of update vulnerability * Fix swagger * Fix middleware * Fix pipeline * Fix pipeline * Feature/analytic (#6) * Adding base of analytic service * Adding all routes of analytic and update swagger * Adding structure of handlers and useCases * Adding unit tests * Adding pipeline * Adding logic to getting content of dashboard * Adding analysis refactor * Adding analytic and broker config * Upgrade devkit on services execpt analytic * Fix lint and fmt in project * Fix get dash * Fix dashboard get dashboard and save analytic content * Finish all queries and validations without tests * Scripts * add analytic tests * Fix * Adding more unit tests * Fix fmt lint * Adding more unit tests * Adding analytic pipeline * Update horusec-config * Fix * Adding broker on health check * Feature/auth (#7) * Adding base auth service * Adding horusec login api * Adding ldap authentication type * Adding horusec auth request validation * Fixing lint errors * Adding keycloak service * Fixing lint errors * Adding horusec auth unity tests * Adding keycloak tests * Fixing lint errors * Adding ldap login tests * Adding ldap is authorized tests * Adding auth grpc methods * Adding entities tests * Adding repository tests * Adding use cases tests * Adding missing services unity tests * Fixing some errors and adding tests * Adding missing unity tests * Fixing file name * Adding missing tests and coverage * Adding account controller and fixing some issues * Adding create account keycloak * Adding account operations * Adding account operations * Adding api to update account * Adding account swagger * Fixing tests * Adding account usecases tests * Adding account repository tests * Adding account unity test * Adding account handler tests * Adding controller tests * Updating total coverage * Adding health check and fixing pipeline errors * Adding horusec config file * Updating config files * Fixing errors * Adding auth pipeline * Adding auth pipeline * Fixing pipeline * Fixing pipeline * Improving auth pipeline * Testing pipeline * Testing pipeline * Core Admin (#9) * Updating pipelines * Adding application admin rules * Adding default users * Fixing auth pipeline * Fixing application authorization rules * Fixing lint errors * Fixing pipeline file error * Feature/docker images compose (#10) * Adding api docker files and improving pipeline * Fixing pipeline name * Adding auth dockerfiles * Adding core dockerfiles * Improving analytic pipeline and adding dockerfiles * Adding vulnerability dockerfile and improving pipeline * Adding compose dev * Feature/core health check (#12) * Adding core health check * Fixing some errors * Update devkit (#13) * Update devkit * Fix coverage auth * Feature/up devkit (#14) * Fix devkit version * Update devkit on services * Feature/messages (#16) * Adding messages service * ADding pipeline * Fixing lint errors and improving code * Adding dockerfiles and compose dev * Code base of Manager (#11) * Added code base of horusec manager * Added manager pipeline * Feature/webhook (#15) * Adding base of webhook service * Adding workflow pipeline * Adding some unit tests * Adding unit tests * Finish all application * Fixing lint error, adding missing unity testa and improving code * Fixing compose dev errors * Change style in severity select and fix filter for (#18) * Update port analytic * [WIP]bufix/integration-errors (#20) * Fixing some issues found during integration with manager * Updating auth coverage * Core and Auth new integrations on Manager. (#19) * Integration with core and auth services * Unify company and repositories services into core service * Adjusting ports of services * Fixing error in invite user to workspace (#21) * Added integration with vulnerabilities service with manager (#22) * Feature/vulnerabilities (#23) * Adding many corrections * Fixing error while veryfing workspace admin in repository * Fixing imports * Fix some error on vulnerability service * Update go.mod packages * Fix imports fmt and lint Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update swagger analytic * Fixing some errors found while testing ldap * Fixing unity tests * Bugfix/fixing ldap errors (#24) * Fixing some errors found while testing ldap * Fixing unity tests * WIP: Services migration (#17) * Removinb analytic migration delete the analytic migration path to use devkit instead * Adding migrations dockerfile * Adding migrate script * Fixing migrate sh file * Moving migrations to project root * Adding migrations pipeline * Adding migrations pipeline * Adding sh vuln as risk accepted * Fix dashboard * Fix compose * Adding analytic database (#26) * Adding update when already exists vulnerability on database (#29) * Bugfix/block add workspace button for non admins user (#28) * add check on buttons * add message for application admin false * Update manager/src/pages/Internal/Workspaces/index.tsx Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> * Analytic manager integration (#31) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Added integration with all charts * Addes hash of risk accepted vuln * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Fix dashboard by time * Dashboard adjusts (#35) * Adjusting charths of dashboard * Removing console.log * Updating all in one entrypoint * Fix webhook (#25) * Fix webhook * remove ENDPOINT_API * Updating webhook cors * Fixing routes of webhook service in manager * hotfix/manager issues (#27) * Added API for request in analytic * Alter route to dashboard * Fixing database for compose-dev of analytic * Added integration with first charts * Adding analytic database * Fixing new password form * Fixing new account form * wip: Fixing repositories refresh * Adding useListState hook * Fixing repositories screen * Fixing vulnerabilities duplicate row key * Adding vulnerabilities file, line and column in description * Fixing workspace dashboard filter * Added integration with all charts * Addes hash of risk accepted vuln * Fixing dashboard repository filter * Fixing dashboard page * Removing unecessary log Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/all in one image (#30) * Fixing some errors found while testing ldap * Fixing unity tests * Adding all in one dockerfile * Adding all in one sh and dockerfile * Adding some improvements * Updating broker env var name * Alter disabeBroker for disableEmails in manager * Updating all in one env var Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/update vuln analytic (#33) * Adding update when already exists vulnerability on database * Adding publish to analytic when update vulnerability * Adding publish to analytic when update vulnerability * Adding publish queue to update on the analytic * Fix vuln service * Fix update vulnerabilities * Fix pipelines * Fix some error on middleware of webhook * Integration with webhook api Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix vulnerability publish on broker * Fixing repository chart (#34) * Fixing repository chart * Removing unnecessary log * Adding repository bar chart * Fixing analytic lint problem * Manager improvees for the version 2 (#37) * Added header bar in internal screen and new settings screen * Remake side menu * Feature/helm (#39) * Fix * Adding helm files * Fixing error in webhook helm * Updating devkit Co-authored-by: wilian <wilian.silva@zup.com.br> * Adding appliacation admin as workspaces owner (#38) * Adding appliacation admin as all workspace owner * Fixing application addmin access * Fixing application admin * Reverting compose dev * Fixing repositories actions * Updating security pipeline * Fixing compose-dev Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Fix unknown on update vulnerability * change the display of actions (#40) * change the display of actions * fix tab index * Various small bugs in manager (#41) * Fixing URL validation in webhook screen, adjusting seleted effect of side menu and when get workspace failed, redirect do /add-workspace * Update index.tsx Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> * add popupstate (#43) * Fixing some errors (#44) * Fixing migrations build in makefile * Feature/analytic upgrade (#36) * Adding analytic migrate cmd * Adding migrate cmd fetch analysis * Adding migrate broker publisher * Removing migrate broker dependency * Adding analytic old data migration insertion * Adding analytic migrate error feedbacks * Updating make install to not drop databae * Fixing dashboard by time * Removing code comment * Adding migrate bin in analytic image * Adding analytic migration transaction * Fixing ordenation * Adding migration counter * Improving range * Adding migrate feedback * Fixing transaction * Adding visual feedback * Adding migration summary * Adding migration export error log file * Fixing migration error log file name * Adding no lint * Ignoring migrate files * Fixing analysis test * Testing coverage * fix bug (#46) * Repositories context manager (#45) * Change color of workspace * Add context for repositories * Fixing repositories list * Fix Co-authored-by: wilian <wilian.silva@zup.com.br> * Feature/upgrade versions (#47) * Upgrade scripts to create rc * Update security * Fix update * Fix makefile * Update Coverage * Updating versions files and semver * V2 helm (#48) * Adding analytic database uri * Fixing core migration * Fixing api migration * Fixing migrations * Adding analytic migration * Fixing vulnerability migration * Adding analytic migration * Adding migrate hook * Adding migrate hook * Fixing analytic hook * Removing unnecessary compose * Feature/fixing tests errors (#49) * Fixing some permissions errors and routes that were not in rest pattern * Fixing front routes * Fixing permission for repositorie dashboard * Fixing erro in list repositories query * Updating compose dev sleep in makefile * Removing second postgresql from composes Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing some issues in permisison level * Added option in BarChart component to transform in Vertical bars (#50) * Analytic manager improvees (#52) * Fixing route to update vulnerabilities, improve charts * Fixing route to get all vulnerabilities * Updating env var name in compose files Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Added option to set workspace as favorite (#53) * Updating go modules with the new devkit version * Added rule to ignore role when set as null workspace (#54) * Fix chart of vuln by time * Adding lisence files * adding migrate-up on compose dev * fix form reset after submit (#58) * Bugfix/production manager (#59) * Adding build production and adding cypress on dockerignore * Fix test * Fix lint * Fix on migrations and Helm adjustments for new version (#57) * Fixing migragte command * Fixing migragte command * Update to latest image tag * Renaming old references to account service * Adapting broker host accordingly with other charts * Fix service account configurations * Missing readiness and liveness probes * Add's command to Docker image build * Fix the auth healthcheck path * Add's missing environment variable * Fixing migrate * Updating the default webhook Ingress Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * change display calendar (#60) * change display calendar * Merge with develop * fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * Fetch repositories when exit workspace screen (#55) * Added fetch all repositories when exit of repositories screen * Added hash of vuln * Fix lint Co-authored-by: wilian <wilian.silva@zup.com.br> * feature/readme (#51) * Updating scripts url to use main branch * Adding readme shields * Fixing logo src * Adding readme topics * Adding install with compose and quick run * Improving install text * Updating readme * Adding readme images * Fixing image size * Minor fixes * Fixing makefile error * Fixing error in all-in-one * Updating readme * Fix grcp to grpc Co-authored-by: wilian <wilian.silva@zup.com.br> * Change analysis to timestamp and change vulnerability for response with some last analysis created (#62) * Fix compose and helm env values (#64) * Fix compose env * Fix compose and helm values * Fix return name of repository on list webhook and migration of vuln hash (#63) * Adding repository on list all webhooks * Fix return name of repository on list webhook * Adding migration of hashes * Fix lint * Fix some name * Fix folder name * Fixing requests with workspaceID undefined (#65) * Feature/migration analytic v2 (#61) * Improving analytic v2 script * Improving analytic v2 script * Improving code and fixing some analytic errors * Fixing some more errors and code improvements * Updating dashboard serach query * Fixing more errors * Updating queries * Improving dashboard queries * Improving code and fixing some errors * Fixing error in chart by time * Fixing error in chart by language * Fixing vuln by time chart query * Fixing error when update vulnerability * Fixing analytic tests * Fixing analytic lint errors * Fixing migration v2 lint errors * Fixing security pipeline * Updating migrations script and fixing errors * Removing distinct on in by language query * Adding vulnerability id to avoid duplicated * Fixing error in chart by language and author * Fixing error in chart by language and author * Fixing error in chart by language * Updating go modules and fixing some readme errors (#67) * Fixing refresh token flow in manager (#66) * Updating migration v2 env vars * Hotfix/analytic data migration (#68) * Updating vulnerability service devkit version * Fixing old database uri * Hotfix/analytic hash (#69) * Updating vulnerability service devkit version * Adding api migrate v1 to v2 hook * Fix versions in yaml * Added a11y in dashboard (#71) * Replacing Helm Charts (#74) * Replacing Helm Charts * Ingress rules * Fix manager addresses * Add TLS certificates on Ingress * Fix image repositories * Add missing Auth configurations * Fix the migration database address * Add missing broker configurations * Configurable Migration image * Fix config * Feature/update many vulnerabilities (#75) * Improving code and fixing some errors * Fixing lint errors * Fixing pipeline errors * Changing patch api to update many vulnerabilities at once * Updating manager pipeline * Fixing security pipeline * implement update many vuln * Fixing minor issues * integrate with api * Fixing some analytic issues * Fixing manager pipeline * Adding vuln update table highlight * Adding update vulnerabilitiy count Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fixing error when publishin a new analysis event (#78) Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Fix components addresses (#77) * Fix full components addresses * Fix environment variable for Core endpoint * Fix Nginx configuration of Core endpoint * Fix migrations Jobs Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> * Improvement manager responsiveness (#82) * Option to minimize and maxime the side menu * Fixing lint * Alter dahsboard layout to grid display * Added hash for false positive audit * manager path verify (#84) * Added verification of path with includes * Include hash in the false positive * [WIP] Feature/export json-pdf (#80) * create actions export * add loading i18n * xlsx formatter download * fix lint * fix variavel names * change config download pdf * fix lint * Delete package-lock.json * Added package-lock * Reset false positives hash of manager * Fixing vulnerabilities with valid hashs Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * [skip ci] Update versioning file * Feature/horusec platfrom helm (#85) * Add sed vulnerability and webhook * Update horusec-platform helm chart * Update * Update TLS * Add tls: null * Update README * upgrade horusec-config.json * Fix latest version * change text i18n export (#88) * Add uri.scheme (#89) * Manager issues a11y in v2 dashboard (#91) * Fixing npm audit issues * Fixing hashs of vulns * Fixing slow animation when resize side menu * Removing global will change * Fixinf a11y issues on dahboard * Add hash of vulnerabilities * improvement css and add Table MatUi component (#94) * Feature/dependency check (#97) * Adding owasp dependency check tool * Updating devkit version * Feature/change env variable names (#95) * change var names * add compatibility with horus v1 and v2 * Update horusec-config.json * Upgrade semver * [skip ci] Update versioning file * Feature/improvement in table component (#96) * improvement css and add Table MatUi component * bug fix pagination, and performance improvement * Fix HORUSEC_MANAGER_URL and HORUSEC_AUTH_URL (#93) * Feature/save migration horusec (#90) * Upgrade migrations binaries to execute and find if exists migration name on horusec_migration tables * Fix path dockerfile * fix security * Fixing all lints (#99) * Fixing lint auth * Fixing lint core * Fixing security * Fxiing all lints of messages * Fixing security * Replace enums to usage from devkit (#102) * Updating platform with the new dotnet cli (#104) * [skip ci] Update versioning file * [WIP] Feature/manager overview routes (#101) * Rename Internal to overview and create base for the home screen * Rename Internal to overview and create base for the home screen * Fix security * Fixing cypress test Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Feature/move modal content to screen (#106) * Rename Internal to overview and create base for the home screen * Rename Internal to overview and create base for the home screen * Fix security * Fixing cypress test * create route get one repository * remove modal content screen in repositories and workspace Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: wilian <wilian.silva@zup.com.br> * Manager - Home Screen (#108) * Add base for the home screen * Added home flow, and Home/Workspaces screen * Finished home screen * Adding nancy support in platform (#105) * Workspace selection remover without side menu (#107) * hook to retrieve workspace and repository via url * link to back home in logo * integration with develop * fix Dashboard route * Fix svg and titles logic * Bugfix/standardization manager navigation (#112) * Fixing routes * Tokens screens * remove workspace tokens * i18n and users screen Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * fix (#111) * New navigation on manager - improvements. (#114) * Add name of context in overview internal * Fixing texts on token screen and minize overviw name * Improvee name on selected context in the side menu * Fixing repositoryID response when the token workspace (#115) * Fixing repositoryID response when the token workspace * Fixing lint * Feature/refactor routes to fetch tokens (#116) * add new routes and remove if's * refacture tokens add * Adding missing headers in files (#118) * Adding missing headers in files * Updating vulnerability hashes * Manager - Users Screen (#117) * Added new screen for the handle user on repository and workspace * Translate users screen * i8n token screens * fix * fix validation Scheme on users Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> * Fixing pipeline errors * Permissions on new manager navigation (#120) * Fixing translate text on permission modal * Refactor permissions * Fixing ldap error message, and verify other messages (#122) Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Repositories count in workspace (#124) * Added count of repositories in workspaces list * Added count of repositories in workspaces list Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing to return count something in Horusec auth type Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing error when getting repository created by workspace token (#125) Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Updating devkit version and updating compose with the latest release * Updating go sum Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * [skip ci] updating versioning file Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * update gifs readme (#131) * The automation of release processes (#135) * Add query param on get all users og workspace to filter something user not belong, add error when a email invited is not registered on Horusec (#132) * =Update helm charts to latest version (#141) (#143) * Update docker images to v2.16.2 * Feature/remove vuln details dashboard (#134) * remove vuln details * fix size lateral menu * improve colors and fix components (#140) * add new option repositories (#138) * WIP: i18n spell check (#133) * Review of English and Portuguese languages * review of spanish language Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> * Links for Forum and Github on horusec-manager. (#147) * Links on the external pages * Add hash of vuls on horusec-config * Add hash of vuls on horusec-config Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Added help links on the Header on internal pages * Adjust private route on settings config Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Upgrade manager imagens version and upgrade migration image to usage binary of golang-migrate only (#169) * Add renovate.json (#170) Co-authored-by: Renovate Bot <bot@renovateapp.com> * make develop renovatebot basebranch (#195) * Feature/e2e (#199) * Add initial e2e tests * Update e2e to invite user and check vuln page * Update e2e to invite user and check vuln page * Fix e2e with horusec and add pipeline * Fix license and files with whitespace * Fix license and files with whitespace * Remove migration * Add migrate posgresql * Fix workdir e2e github * Removing tty option for migration * Generating alpha manager version * Fix version * Fix cypress running * Fix cypress running * Fix cypress running * Fix cypress running * Fix cypress running * add artifact * add artifact * fix e2e * fix e2e * Fix manager hashes * Update compose e2e to run locally * hotfix/empty-analysis (#168) * Adding validations to analysis without vulnerabilities Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Removing - from language and developer empty analysis Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Excluding empty fields from developers count Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Improving code Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Removing empty messages of dashboard Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Adding validation to empty response Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Fixing empty data on analysis Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Fixing validation to remove empty analysis result Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Updating devkit and adding unity tests Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Bump tar from 6.1.8 to 6.1.11 in /manager (#197) Bumps [tar](https://github.com/npm/node-tar) from 6.1.8 to 6.1.11. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v6.1.8...v6.1.11) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Pin dependencies * Update dependency tar to 6.1.9 [SECURITY] (#198) Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Fix e2e * Pin dependencies * Pin dependencies (#174) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Pin dependency @date-io/date-fns to v1.3.13 (#175) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Pin dependency lodash to 4.17.21 (#176) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Pin dependencies * Pin dependencies (#173) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Pin dependency react-router-dom to v5.2.0 (#192) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency prettier to v2.3.2 (#187) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/react-router-dom to v5.1.8 (#184) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/react-dom to v16.9.14 (#182) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/react to v16.14.14 (#181) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/lodash to v4.14.172 (#179) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @axe-core/react to v4.2.2 (#178) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/node to v12.20.23 (#180) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/react-linkify to v1.0.1 (#183) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update alpine Docker tag to v3.14.2 (#201) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update CODEOWNERS * Update horuszup/horusec-manager Docker tag to v2 (#218) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update actions/setup-go action to v2 (#212) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency eslint-plugin-prettier to v3.4.1 (#185) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update actions/upload-artifact action to v2 (#214) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update actions/setup-node action to v2 (#213) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency typescript to v3.9.10 (#203) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency apexcharts to v3.28.1 (#221) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency xlsx to v0.17.1 (#205) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency react-hook-form to v6.15.8 (#188) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency formik to v2.2.9 (#186) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency styled-components to v5.3.1 (#190) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency react-use-clipboard to v1.0.7 (#189) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update manager-pipeline.yml * Update module github.com/swaggo/swag to v1.7.1 (#208) * Update module github.com/swaggo/swag to v1.7.1 * ignoring build folder Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Ian Cardoso <ian.cardoso@zup.com.br> * Update module github.com/go-ldap/ldap/v3 to v3.4.1 (#210) * Update module github.com/go-ldap/ldap/v3 to v3.4.1 * Update module github.com/go-ldap/ldap/v3 to v3.4.1 * Update module github.com/go-ldap/ldap/v3 to v3.4.1 * Updating coverage Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update postgres Docker tag to v13 (#219) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update module google.golang.org/grpc to v1.40.0 (#211) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update Node.js to v16.8.0 (#217) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency cypress to v8 (#245) * Update dependency cypress to v8 * Upgrade cypress code to latest version Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: wilian <wilian.silva@zup.com.br> * Update module github.com/lib/pq to v1.10.3 (#257) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Bugfix/manage vulnerabilities workspace (#256) * Fixing error in vuln management update Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Adding license header Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Adding license header Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Alter route to update vulnerabilities when workspace or repository overview Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Update module github.com/ZupIT/horusec-devkit to v1.0.16 (#206) * Update module github.com/ZupIT/horusec-devkit to v1.0.16 * Update module github.com/ZupIT/horusec-devkit to v1.0.16 * Improving code and fixing some errors Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Fixing unity test Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Fixing error in default admin data Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update module github.com/go-chi/chi to v5 (#239) * Update module github.com/go-chi/chi to v5 * Update module github.com/go-chi/chi to v5 * Updating modules Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update dependency html-to-image to v1.7.0 (#231) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency eslint-plugin-react to v7.25.1 (#229) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency eslint-plugin-import to v2.24.2 (#224) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency export-from-json to v1.4.0 (#230) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency i18next to v20 (#249) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency react-i18next to v11.12.0 (#233) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency material-ui-popup-state to v1.9.3 (#232) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update module github.com/Nerzal/gocloak/v7 to v9 (#228) * Update module github.com/Nerzal/gocloak/v7 to v9 * Update module github.com/Nerzal/gocloak/v7 to v9 Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update dependency eslint-plugin-testing-library to v4 (#248) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update jboss/keycloak Docker tag to v15 (#227) * Update jboss/keycloak Docker tag to v15 * =Update license and e2e with keycloak * Fixing docker compose error Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> * Fixing e2e Signed-off-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: wilian <wilian.silva@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> * Update nginx Docker tag to v1.21.3 (#264) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update Node.js to v16.9.0 (#265) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/styled-components to v5.1.14 (#262) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency axios to v0.21.4 (#263) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/react to v16.14.15 (#261) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Pin dependency chokidar to 3.5.2 (#259) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency prettier to v2.4.0 (#266) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/node to v12.20.24 (#260) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency keycloak-js to v15 (#225) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency eslint to v7.32.0 (#223) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency date-fns to v2.23.0 (#222) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update typescript-eslint monorepo to v4.31.0 (#200) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/node to v14 (#241) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/jest to v27 (#240) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @testing-library/user-event to v13 (#238) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency query-string to v7 (#226) Co-authored-by: Renovate Bot <bot@renovateapp.com> * All issues from renovate bot for horusec-manager (#271) * Update dependency react-router-dom to v5.3.0 * Update material-ui monorepo * Update dependency @date-io/date-fns to v2 * Update dependency @testing-library/jest-dom to v5 * Update dependency @testing-library/react to v12 * Update dependency @testing-library/react-hooks to v7 * Update dependency @types/react to v17 * Update dependency @types/react-dom to v17 * Update dependency @types/single-spa-react to v3 * Update dependency react-datepicker to v4 * Update dependency react-hook-form to v7 * Update dependency react-svg to v14 * Update dependency single-spa-react to v4 * Update dependency typescript to v4 * Update react monorepo to v17 * Fixing compatibilities packages Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> * Adjusting flag for horusec on CLI Signed-off-by: lucas.bruno <lucas.bruno@zup.com.br> Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency axios to 0.21.2 [SECURITY] (#272) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Bump tar from 6.1.8 to 6.1.11 in /manager (#268) Bumps [tar](https://github.com/npm/node-tar) from 6.1.8 to 6.1.11. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v6.1.8...v6.1.11) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Bump axios from 0.21.1 to 0.21.2 in /manager (#267) Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](axios/axios@v0.21.1...v0.21.2) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: lucas.bruno <lucas.bruno@zup.com.br> * Update dependency eslint-plugin-jest-dom to v3.9.2 (#274) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency typescript to v4.4.3 (#254) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency react-hook-form to v7.15.3 (#251) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @types/react-datepicker to v4.1.7 (#250) Co-authored-by: Renovate Bot <bot@renovateapp.com> * Update dependency @testing-library/react to v12.1.0 (#236) Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Wilian Gabriel <63816070+wiliansilvazup@users.noreply.github.com> Co-authored-by: nathanmartinszup <63246935+nathanmartinszup@users.noreply.github.com> Co-authored-by: wilian <wilian.silva@zup.com.br> Co-authored-by: nathanmartinszup <nathan.martins@zup.com.br> Co-authored-by: Lucas Garcia Santos <78167170+lucasgarciazup@users.noreply.github.com> Co-authored-by: nathannascimentozup <65020170+nathannascimentozup@users.noreply.github.com> Co-authored-by: Tiago Angelo <tiago.angelo@zup.com.br> Co-authored-by: Nathan Tavares Nascimento <nathan.nascimento@zup.com.br> Co-authored-by: Lucas Garcia <lucas.garcia@zup.com.br> Co-authored-by: safe2008 <74587391+safe2008@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: iancardosozup <86669442+iancardosozup@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ian Cardoso <ian.cardoso@zup.com.br>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.