Skip to content

feat(api): refactor additional findings resolvers - #7534

Open
lcampbell2 wants to merge 8 commits into
masterfrom
feat/refactor-additional-findings-resolvers
Open

feat(api): refactor additional findings resolvers#7534
lcampbell2 wants to merge 8 commits into
masterfrom
feat/refactor-additional-findings-resolvers

Conversation

@lcampbell2

Copy link
Copy Markdown
Collaborator
  • refactors additionalFindings object to match fields established in feat: additional findings processor #7518
  • refactors Domain.additionalFindings loader to a Relay connection and adds pagination, sorting, and filtering support
  • removes legacy top-25 additional findings query code

@lcampbell2
lcampbell2 requested a review from FestiveKyle August 20, 2026 19:29
type: GraphQLString,
description: `The date the finding was discovered.`,
resolve: ({ PortStateLastSeen }) => PortStateLastSeen,
occurenceCount: {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo occurenceCount/occurrenceCount leads to duplicate document fields and API query failure

type: GraphQLString,
description: '',
resolve: ({ WebComponentFirstSeen }) => WebComponentFirstSeen,
description: 'NATS channel subject of the scanner.',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be the domain/entity name, not the NATS channel?

type: GraphQLString,
description: `The URL of the web component.`,
resolve: ({ WebComponentName }) => WebComponentName,
description: 'Name of the domain the finding is attributed to.',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants