center-for-threat-informed-defense / attack-workbench-rest-api

An application allowing users to explore, create, annotate, and share extensions of the MITRE ATT&CK® knowledge base. This repository contains the REST API service for storing, querying, and editing ATT&CK objects.
https://ctid.mitre-engenuity.org/
Apache License 2.0
42 stars 22 forks source link

Feature/teams #257

Closed vince-a-m closed 1 year ago

vince-a-m commented 1 year ago

Adds CRUD operations for teams Adds /teams/{id}/users route to return a list of all users in a team

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 48.89% and project coverage change: -0.23 :warning:

Comparison is base (9299b9a) 55.38% compared to head (ba1805b) 55.15%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #257 +/- ## =========================================== - Coverage 55.38% 55.15% -0.23% =========================================== Files 114 118 +4 Lines 6406 6628 +222 Branches 1335 1382 +47 =========================================== + Hits 3548 3656 +108 - Misses 2138 2216 +78 - Partials 720 756 +36 ``` | [Impacted Files](https://app.codecov.io/gh/center-for-threat-informed-defense/attack-workbench-rest-api/pull/257?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense) | Coverage Δ | | |---|---|---| | [app/services/teams-service.js](https://app.codecov.io/gh/center-for-threat-informed-defense/attack-workbench-rest-api/pull/257?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-YXBwL3NlcnZpY2VzL3RlYW1zLXNlcnZpY2UuanM=) | `40.57% <40.57%> (ø)` | | | [app/controllers/teams-controller.js](https://app.codecov.io/gh/center-for-threat-informed-defense/attack-workbench-rest-api/pull/257?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-YXBwL2NvbnRyb2xsZXJzL3RlYW1zLWNvbnRyb2xsZXIuanM=) | `52.94% <52.94%> (ø)` | | | [app/services/user-accounts-service.js](https://app.codecov.io/gh/center-for-threat-informed-defense/attack-workbench-rest-api/pull/257?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-YXBwL3NlcnZpY2VzL3VzZXItYWNjb3VudHMtc2VydmljZS5qcw==) | `46.30% <71.42%> (+0.73%)` | :arrow_up: | | [app/models/team-model.js](https://app.codecov.io/gh/center-for-threat-informed-defense/attack-workbench-rest-api/pull/257?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-YXBwL21vZGVscy90ZWFtLW1vZGVsLmpz) | `100.00% <100.00%> (ø)` | | | [app/routes/teams-routes.js](https://app.codecov.io/gh/center-for-threat-informed-defense/attack-workbench-rest-api/pull/257?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=center-for-threat-informed-defense#diff-YXBwL3JvdXRlcy90ZWFtcy1yb3V0ZXMuanM=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
13.8% 13.8% Duplication