-
Notifications
You must be signed in to change notification settings - Fork 27
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
Backend Updates #324
Backend Updates #324
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"""Platform the agent is operating on.""" | ||
platform: HostPlatform! | ||
"""Timestamp of when a task was last claimed or updated for the host.""" | ||
lastSeenAt: Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 👌👌👌
Codecov Report
@@ Coverage Diff @@
## main #324 +/- ##
==========================================
- Coverage 74.75% 74.57% -0.18%
==========================================
Files 95 96 +1
Lines 6346 6380 +34
==========================================
+ Hits 4744 4758 +14
- Misses 1515 1535 +20
Partials 87 87
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
* require auth for queries * added a 'me' query * Adding new host entity and refactoring the whole backend... * Tests pass * Fix agent type export * add root level 'hosts' query * fix(UI): Change structure of beacons to have host type * fix(UI): Build UI for production --------- Co-authored-by: Hulto <7121375+hulto@users.noreply.github.com> Co-authored-by: Squidli <catie@squidli.com>
Backend Updates (#324) * require auth for queries * added a 'me' query * Adding new host entity and refactoring the whole backend... * Tests pass * Fix agent type export * add root level 'hosts' query * fix(UI): Change structure of beacons to have host type * fix(UI): Build UI for production --------- Co-authored-by: Hulto <7121375+hulto@users.noreply.github.com> Co-authored-by: Squidli <catie@squidli.com>
What type of PR is this?
/kind feature
What this PR does / why we need it:
Host
entme
query to get information about the current userhosts
query to get information about compromised hostsHost
ent, migratingTag
to it (instead ofBeacon
)