[Backend] Add scan profile graphql field

Description

Implement a GraphQL field that allows querying scan profiles by their id. This field should support both persisted ids and virtual ids of default values. This is required for frontend functionality.

Requirements

  • Create a GraphQL field to retrieve scan profile data by id
  • Support both persisted and virtual id types
  • Ensure proper error handling for invalid/non-existent ids

Description was generated using AI

Edited by Gal Katz