{"openapi":"3.1.0","info":{"title":"Threatconnectome","version":"0.1.0"},"paths":{"/auth/token":{"post":{"tags":["auth"],"summary":"Login For Access Token","operationId":"login_for_access_token_auth_token_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_login_for_access_token_auth_token_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/refresh":{"post":{"tags":["auth"],"summary":"Refresh Access Token","operationId":"refresh_access_token_auth_refresh_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/actionlogs":{"get":{"tags":["actionlogs"],"summary":"Get Logs","description":"Get actionlogs of pteams the user belongs to.","operationId":"get_logs_actionlogs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ActionLogResponse"},"type":"array","title":"Response Get Logs Actionlogs Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["actionlogs"],"summary":"Create Log","description":"Add an action log to the vuln.\n\n`executed_at` is optional, the default is the current time in the server.\n\nThe format of `executed_at` is ISO-8601.\nIn linux, you can check it with `date --iso-8601=seconds`.","operationId":"create_log_actionlogs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionLogRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionLogResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/actionlogs/vulns/{vuln_id}":{"get":{"tags":["actionlogs"],"summary":"Get Vuln Logs","description":"Get actionlogs associated with the specified vuln.","operationId":"get_vuln_logs_actionlogs_vulns__vuln_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vuln_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Vuln Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActionLogResponse"},"title":"Response Get Vuln Logs Actionlogs Vulns Vuln Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/external/slack/check":{"post":{"tags":["external"],"summary":"Check Webhook Url","description":"Send test message to slack used by incoming webhook url","operationId":"check_webhook_url_external_slack_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlackCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/external/email/check":{"post":{"tags":["external"],"summary":"Check Email","description":"Send test email with sendgrid","operationId":"check_email_external_email_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/pteams/apply_invitation":{"post":{"tags":["pteams"],"summary":"Apply Invitation","description":"Apply invitation to pteam.","operationId":"apply_invitation_pteams_apply_invitation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyInvitationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/pteams/invitation/{invitation_id}":{"get":{"tags":["pteams"],"summary":"Invited Pteam","operationId":"invited_pteam_pteams_invitation__invitation_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invitation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInviterResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}":{"get":{"tags":["pteams"],"summary":"Get Pteam","description":"Get pteam details. members only.","operationId":"get_pteam_pteams__pteam_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pteams"],"summary":"Update Pteam","description":"Update a pteam.\n- pteam_name\n * max length: 50 in half-width or 25 in full-width\n- contact_info\n * max length: 255 in half-width or 127 in full-width\n- webhook_url\n * max length: 255 in half-width or 127 in full-width\n- address\n * max length: 255 in half-width or 127 in full-width\n\nNote: monitoring tags cannot be update with this api. use (add|update|remove)_pteamtag instead.","operationId":"update_pteam_pteams__pteam_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pteams"],"summary":"Delete Pteam","operationId":"delete_pteam_pteams__pteam_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/fix_ssvc_priorities":{"post":{"tags":["pteams"],"summary":"Force Calculate Ssvc Priority","description":"Trigger ssvc priority calculation.\n\nNote: Many alerts may occur. Check your Alert-Threshold setting.","operationId":"force_calculate_ssvc_priority_pteams__pteam_id__fix_ssvc_priorities_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/services":{"get":{"tags":["pteams"],"summary":"Get Pteam Services","operationId":"get_pteam_services_pteams__pteam_id__services_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PTeamServiceResponse"},"title":"Response Get Pteam Services Pteams Pteam Id Services Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/services/{service_id}":{"put":{"tags":["pteams"],"summary":"Update Pteam Service","description":"Update params of the pteam service.\n- service_name\n * max length: 255 in half-width or 127 in full-width\n- keywords\n * max number: 5\n * max length: 20 in half-width or 10 in full-width\n- description\n * max length: 300 in half-width or 150 in full-width","operationId":"update_pteam_service_pteams__pteam_id__services__service_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamServiceUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamServiceUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pteams"],"summary":"Remove Service","description":"Remove service.","operationId":"remove_service_pteams__pteam_id__services__service_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/services/{service_id}/thumbnail":{"post":{"tags":["pteams"],"summary":"Upload Service Thumbnail","description":"Upload thumbnail image file of the pteam service.\n\nMaximum file size: 512 KiB\nSupported media types: image/png","operationId":"upload_service_thumbnail_pteams__pteam_id__services__service_id__thumbnail_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_service_thumbnail_pteams__pteam_id__services__service_id__thumbnail_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pteams"],"summary":"Get Service Thumbnail","description":"Get thumbnail image file of the pteam service.","operationId":"get_service_thumbnail_pteams__pteam_id__services__service_id__thumbnail_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pteams"],"summary":"Remove Service Thumbnail","description":"Remove thumbnail image file of the pteam service.","operationId":"remove_service_thumbnail_pteams__pteam_id__services__service_id__thumbnail_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Service Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/package_versions/summary":{"get":{"tags":["pteams"],"summary":"Get Pteam Package Versions Summary","description":"Get package versions summary of the pteam service.","operationId":"get_pteam_package_versions_summary_pteams__pteam_id__package_versions_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamPackageVersionsSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/dependencies":{"get":{"tags":["pteams"],"summary":"Get Dependencies","operationId":"get_dependencies_pteams__pteam_id__dependencies_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}},{"name":"package_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Id"}},{"name":"package_version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DependencyResponse"},"title":"Response Get Dependencies Pteams Pteam Id Dependencies Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/dependencies/{dependency_id}":{"get":{"tags":["pteams"],"summary":"Get Dependency","operationId":"get_dependency_pteams__pteam_id__dependencies__dependency_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"dependency_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Dependency Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependencyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/vuln_ids":{"get":{"tags":["pteams"],"summary":"Get Vuln Ids Tied To Service Package","operationId":"get_vuln_ids_tied_to_service_package_pteams__pteam_id__vuln_ids_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}},{"name":"package_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Id"}},{"name":"package_version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Version Id"}},{"name":"related_ticket_status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RelatedTicketStatus"},{"type":"null"}],"title":"Related Ticket Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePackageVulnsSolvedUnsolved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/ticket_counts":{"get":{"tags":["pteams"],"summary":"Get Ticket Counts Tied To Service Package","operationId":"get_ticket_counts_tied_to_service_package_pteams__pteam_id__ticket_counts_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}},{"name":"package_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Id"}},{"name":"package_version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Version Id"}},{"name":"related_ticket_status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/RelatedTicketStatus"},{"type":"null"}],"title":"Related Ticket Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicePackageTicketCountsSolvedUnsolved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/tickets":{"get":{"tags":["pteams"],"summary":"Get Tickets By Service Id And Package Id And Vuln Id","description":"Get tickets related to the service, package and vuln.","operationId":"get_tickets_by_service_id_and_package_id_and_vuln_id_pteams__pteam_id__tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"}},{"name":"package_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Id"}},{"name":"package_version_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Version Id"}},{"name":"vuln_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Vuln Id"}},{"name":"assigned_to_me","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Assigned To Me"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TicketResponse"},"title":"Response Get Tickets By Service Id And Package Id And Vuln Id Pteams Pteam Id Tickets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/tickets/{ticket_id}":{"get":{"tags":["pteams"],"summary":"Get Ticket","description":"Get a ticket.","operationId":"get_ticket_pteams__pteam_id__tickets__ticket_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pteams"],"summary":"Update Ticket","operationId":"update_ticket_pteams__pteam_id__tickets__ticket_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams":{"post":{"tags":["pteams"],"summary":"Create Pteam","description":"Create a pteam.\n- pteam_name\n * max length: 50 in half-width or 25 in full-width\n- contact_info\n * max length: 255 in half-width or 127 in full-width\n- webhook_url\n * max length: 255 in half-width or 127 in full-width\n- address\n * max length: 255 in half-width or 127 in full-width","operationId":"create_pteam_pteams_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/pteams/{pteam_id}/upload_sbom_file":{"post":{"tags":["pteams"],"summary":"Upload Pteam Sbom File","description":"upload sbom file","operationId":"upload_pteam_sbom_file_pteams__pteam_id__upload_sbom_file_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service","in":"query","required":false,"schema":{"type":"string","description":"name of service(repository or product)","default":"","title":"Service"},"description":"name of service(repository or product)"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_pteam_sbom_file_pteams__pteam_id__upload_sbom_file_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/upload_packages_file":{"post":{"tags":["pteams"],"summary":"Upload Pteam Packages File","description":"Update pteam packages by uploading a .jsonl file.\n\nFormat of file content must be JSON Lines.","operationId":"upload_pteam_packages_file_pteams__pteam_id__upload_packages_file_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"service","in":"query","required":false,"schema":{"type":"string","description":"name of service(repository or product)","default":"","title":"Service"},"description":"name of service(repository or product)"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_pteam_packages_file_pteams__pteam_id__upload_packages_file_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PackageFileResponse"},"title":"Response Upload Pteam Packages File Pteams Pteam Id Upload Packages File Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/sbom_upload_progress":{"get":{"tags":["pteams"],"summary":"Get Sbom Progress","description":"Get sbom upload progress of the pteam.","operationId":"get_sbom_progress_pteams__pteam_id__sbom_upload_progress_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SbomUploadProgressResponse"},"title":"Response Get Sbom Progress Pteams Pteam Id Sbom Upload Progress Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/members":{"get":{"tags":["pteams"],"summary":"Get Pteam Members","description":"Get members of the pteam.","operationId":"get_pteam_members_pteams__pteam_id__members_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PteamMemberGetResponse"},"title":"Response Get Pteam Members Pteams Pteam Id Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/members/{user_id}":{"put":{"tags":["pteams"],"summary":"Update Pteam Member","operationId":"update_pteam_member_pteams__pteam_id__members__user_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamMemberUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamMemberUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pteams"],"summary":"Delete Member","description":"User leaves the pteam.","operationId":"delete_member_pteams__pteam_id__members__user_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/invitation":{"post":{"tags":["pteams"],"summary":"Create Invitation","description":"Create a new pteam invitation token.","operationId":"create_invitation_pteams__pteam_id__invitation_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInvitationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamInvitationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["pteams"],"summary":"List Invitations","description":"list effective invitations.","operationId":"list_invitations_pteams__pteam_id__invitation_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PTeamInvitationResponse"},"title":"Response List Invitations Pteams Pteam Id Invitation Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/invitation/{invitation_id}":{"delete":{"tags":["pteams"],"summary":"Delete Invitation","operationId":"delete_invitation_pteams__pteam_id__invitation__invitation_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}},{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Invitation Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pteams/{pteam_id}/eols":{"get":{"tags":["pteams"],"summary":"Get Eol Products With Pteam Id","description":"Get EoL products and their versions associated with pteam_id","operationId":"get_eol_products_with_pteam_id_pteams__pteam_id__eols_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"pteam_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pteam Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PTeamEoLProductListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me":{"get":{"tags":["users"],"summary":"Get My User Info","description":"Get current user info.","operationId":"get_my_user_info_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}},"security":[{"HTTPBearer":[]}]},"delete":{"tags":["users"],"summary":"Delete User","description":"Delete current user and left admin-less pteams.","operationId":"delete_user_users_me_delete","responses":{"204":{"description":"Successful Response"}},"security":[{"HTTPBearer":[]}]}},"/users":{"post":{"tags":["users"],"summary":"Create User","description":"Create a user.","operationId":"create_user_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/users/{user_id}":{"put":{"tags":["users"],"summary":"Update User","description":"Update a user.","operationId":"update_user_users__user_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vulns/{vuln_id}":{"get":{"tags":["vulns"],"summary":"Get Vuln","description":"Get a vuln.","operationId":"get_vuln_vulns__vuln_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vuln_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Vuln Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VulnResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["vulns"],"summary":"Update Vuln","description":"Update a vuln if it exists,\nor create a new vuln if the specified vuln_id is not found in the database.\n- `cvss_v3_score` : Ranges from 0.0 to 10.0.","operationId":"update_vuln_vulns__vuln_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vuln_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Vuln Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VulnUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VulnResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["vulns"],"summary":"Delete Vuln","description":"Delete a vuln.","operationId":"delete_vuln_vulns__vuln_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"vuln_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Vuln Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vulns":{"get":{"tags":["vulns"],"summary":"Get Vulns","description":"Get vulns.\n\nGet a list of vulnerabilities with optional filtering, sorting, and pagination.\n\n### Filtering:\n- `min_cvss_v3_score`: Minimum CVSS v3 score (float).\n- `max_cvss_v3_score`: Maximum CVSS v3 score (float).\n- `vuln_ids`: List of vuln IDs to filter by.\n- `title_words`: List of words to search in the title (case-insensitive).\n- `detail_words`: List of words to search in the detail (case-insensitive).\n- `creator_ids`: List of creator IDs to filter by.\n- `created_after`: Filter vulnerabilities created after this datetime.\n- `created_before`: Filter vulnerabilities created before this datetime.\n- `updated_after`: Filter vulnerabilities updated after this datetime.\n- `updated_before`: Filter vulnerabilities updated before this datetime.\n- `pteam_id`: Filter vulnerabilities associated with this PTeam ID.\n- `cve_ids`: List of CVE IDs to filter by.\n- `package_name`: List of package names to filter by.\n- `ecosystem`: List of ecosystems to filter by.\n\n### Sorting:\n- `sort_keys`: Sort key for the results.\n Default is `[\"-cvss_v3_score\", \"-updated_at\"]`.\n - Supported values:\n - cvss_v3_score\n - updated_at\n - created_at\n - cve_id\n- If a minus sign is added, the order is descending. if not, the order is ascending.\n - Example: -cvss_v3_score, -updated_at, -created_at etc.\n- If only one sort key is provided, a second default sort key is automatically appended.\n This ensures deterministic ordering. If the first key is \"updated_at\" or \"-updated_at\",\n \"-cvss_v3_score\" is appended; otherwise, \"-updated_at\" is appended.\n\n### Pagination:\n- `offset`: Number of items to skip before starting to collect the result set.\n- `limit`: Maximum number of items to return.\n\nDefaults are `None` for all filtering parameters, which means skip filtering.\nDifferent parameters are combined with AND conditions.\nWords search is case-insensitive.\n\nExamples:\n- `...?title_words=a&title_words=%20&title_words=B` -> Title includes [a, A, b, B, or space].\n- `...?title_words=a&title_words=&title_words=B` -> Title includes [a, A, b, B] or is empty.\n- `...?cve_ids=CVE-2023-1234` -> Filter by the specific CVE ID.\n- `...?package_name=example` -> Filter by the package name \"example\".","operationId":"get_vulns_vulns_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"min_cvss_v3_score","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Cvss V3 Score"}},{"name":"max_cvss_v3_score","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Cvss V3 Score"}},{"name":"vuln_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Vuln Ids"}},{"name":"title_words","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Title Words"}},{"name":"detail_words","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Detail Words"}},{"name":"creator_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Creator Ids"}},{"name":"created_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created After"}},{"name":"created_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created Before"}},{"name":"updated_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated After"}},{"name":"updated_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated Before"}},{"name":"pteam_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pteam Id"}},{"name":"cve_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Cve Ids"}},{"name":"package_name","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Package Name"}},{"name":"ecosystem","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Ecosystem"}},{"name":"sort_keys","in":"query","required":false,"schema":{"type":"array","items":{},"default":["-cvss_v3_score","-updated_at"],"title":"Sort Keys"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VulnsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickets":{"get":{"tags":["tickets"],"summary":"Get Tickets","description":"Get tickets.\n\nGet a list of tickets with optional filtering, sorting, and pagination.\n\n### Filtering:\n- `assigned_to_me`: Filter tickets assigned to the current user.\n- `pteam_ids`: List of pteam IDs to filter tickets.\n If not provided, uses all pteams the user belongs to.\n- `exclude_statuses`: List of vulnerability statuses to exclude from results.\n- `cve_ids`: List of CVE IDs to filter tickets by.\n\n### Sorting:\n- `sort_keys`: Sort key for the results.\n - Supported values:\n - ssvc_deployer_priority\n - created_at\n - scheduled_at\n - cve_id\n - package_name\n - pteam_name\n - service_name\n- If a minus sign is added, the order is descending. if not, the order is ascending.\n - Example: -ssvc_deployer_priority, -created_at, -scheduled_at etc.\n\n\n### Pagination:\n- `offset`: Number of items to skip before starting to collect the result set.\n- `limit`: Maximum number of items to return.\n\nDefaults are `None` for all filtering parameters, which means skip filtering.\nDifferent parameters are combined with AND conditions.\n\nExamples:\n- `...?assigned_to_me=true` -> Only tickets assigned to the current user.\n- `...?cve_ids=CVE-2023-1234` -> Filter by the specific CVE ID.\n- `...?exclude_statuses=completed` -> Exclude completed tickets.","operationId":"get_tickets_tickets_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"assigned_to_me","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Assigned To Me"}},{"name":"pteam_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"title":"Pteam Ids"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"sort_keys","in":"query","required":false,"schema":{"type":"array","items":{},"default":["-ssvc_deployer_priority","-created_at"],"title":"Sort Keys"}},{"name":"exclude_statuses","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/TicketHandlingStatusType"}},{"type":"null"}],"title":"Exclude Statuses"}},{"name":"cve_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Cve Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tickets/{ticket_id}/insight":{"put":{"tags":["tickets"],"summary":"Update Insight","description":"Update a insight if it exists,\nor create a new insight if there is no insight associated with the specified ticket_id.","operationId":"update_insight_tickets__ticket_id__insight_put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["tickets"],"summary":"Get Insight","operationId":"get_insight_tickets__ticket_id__insight_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsightResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["tickets"],"summary":"Delete Insight","description":"Delete an insight by its ID.","operationId":"delete_insight_tickets__ticket_id__insight_delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Ticket Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/eols":{"get":{"tags":["eols"],"summary":"Get Eol Products","description":"Get EoL products and their versions.","operationId":"get_eol_products_eols_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EoLProductListResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"/eols/{eol_product_id}":{"put":{"tags":["eols"],"summary":"Update Eol","description":"Update a eol if it exists,\nor create a new eol if the specified eol_id is not found in the database.","operationId":"update_eol_eols__eol_product_id__put","security":[{"HTTPBearer":[]}],"parameters":[{"name":"eol_product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Eol Product Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EoLProductRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EoLProductResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["eols"],"summary":"Delete Eol","description":"Delete a eol.","operationId":"delete_eol_eols__eol_product_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"eol_product_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Eol Product Id"}},{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/eols/check_notifications":{"post":{"tags":["eols"],"summary":"Check Eol Notification","description":"Identify and notify records in EcosystemEoLDependency and PackageEoLDependency\nwhere EOL is approaching within six months and eol_notification_sent is false.","operationId":"check_eol_notification_eols_check_notifications_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"x-api-key","in":"header","required":true,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal-api/openapi.json":{"get":{"summary":"Internal Openapi Schema","operationId":"internal_openapi_schema_internal_api_openapi_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"ActionLogRequest":{"properties":{"action":{"type":"string","title":"Action"},"vuln_id":{"type":"string","format":"uuid","title":"Vuln Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"service_id":{"type":"string","format":"uuid","title":"Service Id"},"ticket_id":{"type":"string","format":"uuid","title":"Ticket Id"},"executed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Executed At"}},"type":"object","required":["action","vuln_id","user_id","pteam_id","service_id","ticket_id"],"title":"ActionLogRequest"},"ActionLogResponse":{"properties":{"logging_id":{"type":"string","format":"uuid","title":"Logging Id"},"vuln_id":{"type":"string","format":"uuid","title":"Vuln Id"},"action":{"type":"string","title":"Action"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"service_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"},"ticket_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Ticket Id"},"email":{"type":"string","title":"Email"},"executed_at":{"type":"string","format":"date-time","title":"Executed At"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["logging_id","vuln_id","action","pteam_id","email","executed_at","created_at"],"title":"ActionLogResponse"},"AffectedObject":{"properties":{"object_category":{"$ref":"#/components/schemas/ObjectCategoryEnum"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["object_category","name","description"],"title":"AffectedObject"},"ApplyInvitationRequest":{"properties":{"invitation_id":{"type":"string","format":"uuid","title":"Invitation Id"}},"type":"object","required":["invitation_id"],"title":"ApplyInvitationRequest"},"AssetInfo":{"properties":{"ip_addresses":{"anyOf":[{"items":{"type":"string","format":"ipvanynetwork"},"type":"array"},{"type":"null"}],"title":"Ip Addresses"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","title":"AssetInfo"},"AutomatableEnum":{"type":"string","enum":["yes","no"],"title":"AutomatableEnum"},"Body_login_for_access_token_auth_token_post":{"properties":{"username":{"type":"string","title":"Username"},"password":{"type":"string","format":"password","title":"Password","writeOnly":true}},"type":"object","required":["username","password"],"title":"Body_login_for_access_token_auth_token_post"},"Body_upload_pteam_packages_file_pteams__pteam_id__upload_packages_file_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_pteam_packages_file_pteams__pteam_id__upload_packages_file_post"},"Body_upload_pteam_sbom_file_pteams__pteam_id__upload_sbom_file_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_pteam_sbom_file_pteams__pteam_id__upload_sbom_file_post"},"Body_upload_service_thumbnail_pteams__pteam_id__services__service_id__thumbnail_post":{"properties":{"uploaded":{"type":"string","contentMediaType":"application/octet-stream","title":"Uploaded"}},"type":"object","required":["uploaded"],"title":"Body_upload_service_thumbnail_pteams__pteam_id__services__service_id__thumbnail_post"},"DependencyResponse":{"properties":{"dependency_id":{"type":"string","format":"uuid","title":"Dependency Id"},"service_id":{"type":"string","format":"uuid","title":"Service Id"},"package_version_id":{"type":"string","format":"uuid","title":"Package Version Id"},"package_id":{"type":"string","format":"uuid","title":"Package Id"},"package_manager":{"type":"string","title":"Package Manager"},"target":{"type":"string","title":"Target"},"dependency_mission_impact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dependency Mission Impact"},"package_name":{"type":"string","title":"Package Name"},"package_source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Package Source Name"},"package_version":{"type":"string","title":"Package Version"},"package_ecosystem":{"type":"string","title":"Package Ecosystem"},"vuln_matching_ecosystem":{"type":"string","title":"Vuln Matching Ecosystem"}},"type":"object","required":["dependency_id","service_id","package_version_id","package_id","package_manager","target","package_name","package_version","package_ecosystem","vuln_matching_ecosystem"],"title":"DependencyResponse"},"EmailCheckRequest":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"EmailCheckRequest"},"EoLProductListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"products":{"items":{"$ref":"#/components/schemas/EoLProductResponse"},"type":"array","title":"Products"}},"type":"object","required":["total","products"],"title":"EoLProductListResponse"},"EoLProductResponse":{"properties":{"eol_product_id":{"type":"string","format":"uuid","title":"Eol Product Id"},"name":{"type":"string","title":"Name"},"product_category":{"$ref":"#/components/schemas/ProductCategoryEnum"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_ecosystem":{"type":"boolean","title":"Is Ecosystem"},"eol_versions":{"items":{"$ref":"#/components/schemas/EoLVersionResponse"},"type":"array","title":"Eol Versions","default":[]}},"type":"object","required":["eol_product_id","name","product_category","description","is_ecosystem"],"title":"EoLProductResponse"},"EoLVersionResponse":{"properties":{"eol_version_id":{"type":"string","format":"uuid","title":"Eol Version Id"},"version":{"type":"string","title":"Version"},"release_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Release Date"},"eol_from":{"type":"string","format":"date","title":"Eol From"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["eol_version_id","version","release_date","eol_from","created_at","updated_at"],"title":"EoLVersionResponse"},"ExploitationEnum":{"type":"string","enum":["active","public_poc","none"],"title":"ExploitationEnum"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImpactCategoryEnum":{"type":"string","enum":["damage_to_property","denial_of_control","denial_of_view","loss_of_availability","loss_of_control","loss_of_productivity_and_revenue","loss_of_protection","loss_of_safety","loss_of_view","manipulation_of_control","manipulation_of_view","theft_of_operational_information"],"title":"ImpactCategoryEnum"},"InsightReference":{"properties":{"link_text":{"type":"string","title":"Link Text"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["link_text"],"title":"InsightReference"},"InsightResponse":{"properties":{"description":{"type":"string","title":"Description"},"data_processing_strategy":{"type":"string","title":"Data Processing Strategy"},"threat_scenarios":{"items":{"$ref":"#/components/schemas/ThreatScenario"},"type":"array","title":"Threat Scenarios","default":[]},"affected_objects":{"items":{"$ref":"#/components/schemas/AffectedObject"},"type":"array","title":"Affected Objects","default":[]},"insight_references":{"items":{"$ref":"#/components/schemas/InsightReference"},"type":"array","title":"Insight References","default":[]},"ticket_id":{"type":"string","format":"uuid","title":"Ticket Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["description","data_processing_strategy","ticket_id","created_at","updated_at"],"title":"InsightResponse"},"InsightUpdateRequest":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"data_processing_strategy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Processing Strategy"},"threat_scenarios":{"anyOf":[{"items":{"$ref":"#/components/schemas/ThreatScenario"},"type":"array"},{"type":"null"}],"title":"Threat Scenarios"},"affected_objects":{"anyOf":[{"items":{"$ref":"#/components/schemas/AffectedObject"},"type":"array"},{"type":"null"}],"title":"Affected Objects"},"insight_references":{"anyOf":[{"items":{"$ref":"#/components/schemas/InsightReference"},"type":"array"},{"type":"null"}],"title":"Insight References"}},"type":"object","title":"InsightUpdateRequest"},"Mail":{"properties":{"enable":{"type":"boolean","title":"Enable"},"address":{"type":"string","title":"Address"}},"type":"object","required":["enable","address"],"title":"Mail"},"MissionImpactEnum":{"type":"string","enum":["mission_failure","mef_failure","mef_support_crippled","degraded"],"title":"MissionImpactEnum"},"ObjectCategoryEnum":{"type":"string","enum":["server","client_device","mobile_device","network_device","storage","iot_device","physical_media","facility","person"],"title":"ObjectCategoryEnum"},"PTeamCreateRequest":{"properties":{"pteam_name":{"type":"string","title":"Pteam Name"},"contact_info":{"type":"string","title":"Contact Info","default":""},"alert_slack":{"anyOf":[{"$ref":"#/components/schemas/Slack"},{"type":"null"}]},"alert_ssvc_priority":{"$ref":"#/components/schemas/SSVCDeployerPriorityEnum","default":"immediate"},"alert_mail":{"anyOf":[{"$ref":"#/components/schemas/Mail"},{"type":"null"}]}},"type":"object","required":["pteam_name"],"title":"PTeamCreateRequest"},"PTeamEntry":{"properties":{"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"pteam_name":{"type":"string","title":"Pteam Name"},"contact_info":{"type":"string","title":"Contact Info"}},"type":"object","required":["pteam_id","pteam_name","contact_info"],"title":"PTeamEntry"},"PTeamEoLProductListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"products":{"items":{"$ref":"#/components/schemas/PTeamEoLProductResponse"},"type":"array","title":"Products"}},"type":"object","required":["total","products"],"title":"PTeamEoLProductListResponse"},"PTeamEoLProductResponse":{"properties":{"eol_product_id":{"type":"string","format":"uuid","title":"Eol Product Id"},"name":{"type":"string","title":"Name"},"product_category":{"$ref":"#/components/schemas/ProductCategoryEnum"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_ecosystem":{"type":"boolean","title":"Is Ecosystem"},"eol_versions":{"items":{"$ref":"#/components/schemas/PTeamEoLVersionResponse"},"type":"array","title":"Eol Versions","default":[]}},"type":"object","required":["eol_product_id","name","product_category","description","is_ecosystem"],"title":"PTeamEoLProductResponse"},"PTeamEoLVersionResponse":{"properties":{"eol_version_id":{"type":"string","format":"uuid","title":"Eol Version Id"},"version":{"type":"string","title":"Version"},"release_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Release Date"},"eol_from":{"type":"string","format":"date","title":"Eol From"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"services":{"items":{"$ref":"#/components/schemas/ServiceEntry"},"type":"array","title":"Services"}},"type":"object","required":["eol_version_id","version","release_date","eol_from","created_at","updated_at","services"],"title":"PTeamEoLVersionResponse"},"PTeamInfo":{"properties":{"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"pteam_name":{"type":"string","title":"Pteam Name"},"contact_info":{"type":"string","title":"Contact Info"},"alert_slack":{"$ref":"#/components/schemas/Slack"},"alert_ssvc_priority":{"$ref":"#/components/schemas/SSVCDeployerPriorityEnum"},"services":{"items":{"$ref":"#/components/schemas/PTeamServiceResponse"},"type":"array","title":"Services"},"alert_mail":{"$ref":"#/components/schemas/Mail"}},"type":"object","required":["pteam_id","pteam_name","contact_info","alert_slack","alert_ssvc_priority","services","alert_mail"],"title":"PTeamInfo"},"PTeamInvitationRequest":{"properties":{"expiration":{"type":"string","format":"date-time","title":"Expiration"},"limit_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit Count"}},"type":"object","required":["expiration"],"title":"PTeamInvitationRequest"},"PTeamInvitationResponse":{"properties":{"invitation_id":{"type":"string","format":"uuid","title":"Invitation Id"},"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"expiration":{"type":"string","format":"date-time","title":"Expiration"},"limit_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit Count"},"used_count":{"type":"integer","title":"Used Count"}},"type":"object","required":["invitation_id","pteam_id","expiration","used_count"],"title":"PTeamInvitationResponse"},"PTeamInviterResponse":{"properties":{"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"pteam_name":{"type":"string","title":"Pteam Name"},"email":{"type":"string","title":"Email"},"user_id":{"type":"string","format":"uuid","title":"User Id"}},"type":"object","required":["pteam_id","pteam_name","email","user_id"],"title":"PTeamInviterResponse"},"PTeamMemberUpdateRequest":{"properties":{"is_admin":{"type":"boolean","title":"Is Admin"}},"type":"object","required":["is_admin"],"title":"PTeamMemberUpdateRequest"},"PTeamMemberUpdateResponse":{"properties":{"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"is_admin":{"type":"boolean","title":"Is Admin"}},"type":"object","required":["pteam_id","user_id","is_admin"],"title":"PTeamMemberUpdateResponse"},"PTeamPackageVersionSummary":{"properties":{"package_id":{"type":"string","format":"uuid","title":"Package Id"},"package_version_id":{"type":"string","format":"uuid","title":"Package Version Id"},"package_name":{"type":"string","title":"Package Name"},"package_version":{"type":"string","title":"Package Version"},"ecosystem":{"type":"string","title":"Ecosystem"},"package_managers":{"items":{"type":"string"},"type":"array","title":"Package Managers"},"service_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Service Ids"},"ssvc_priority":{"$ref":"#/components/schemas/SSVCDeployerPackagePriorityEnum"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"status_count":{"additionalProperties":{"type":"integer"},"type":"object","title":"Status Count"}},"type":"object","required":["package_id","package_version_id","package_name","package_version","ecosystem","package_managers","service_ids","ssvc_priority","updated_at","status_count"],"title":"PTeamPackageVersionSummary"},"PTeamPackageVersionsSummary":{"properties":{"ssvc_priority_count":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/SSVCDeployerPackagePriorityEnum"},"type":"object","title":"Ssvc Priority Count"},"package_versions":{"items":{"$ref":"#/components/schemas/PTeamPackageVersionSummary"},"type":"array","title":"Package Versions"}},"type":"object","required":["ssvc_priority_count","package_versions"],"title":"PTeamPackageVersionsSummary"},"PTeamRole":{"properties":{"is_admin":{"type":"boolean","title":"Is Admin"},"pteam":{"$ref":"#/components/schemas/PTeamEntry"}},"type":"object","required":["is_admin","pteam"],"title":"PTeamRole"},"PTeamServiceResponse":{"properties":{"service_name":{"type":"string","title":"Service Name"},"service_id":{"type":"string","format":"uuid","title":"Service Id"},"sbom_uploaded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sbom Uploaded At"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"},"system_exposure":{"$ref":"#/components/schemas/SystemExposureEnum"},"service_mission_impact":{"$ref":"#/components/schemas/MissionImpactEnum"},"service_safety_impact":{"$ref":"#/components/schemas/SafetyImpactEnum"},"asset":{"anyOf":[{"$ref":"#/components/schemas/AssetInfo"},{"type":"null"}]}},"type":"object","required":["service_name","service_id","description","keywords","system_exposure","service_mission_impact","service_safety_impact"],"title":"PTeamServiceResponse"},"PTeamServiceUpdateRequest":{"properties":{"service_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Keywords"},"system_exposure":{"anyOf":[{"$ref":"#/components/schemas/SystemExposureEnum"},{"type":"null"}]},"service_mission_impact":{"anyOf":[{"$ref":"#/components/schemas/MissionImpactEnum"},{"type":"null"}]},"service_safety_impact":{"anyOf":[{"$ref":"#/components/schemas/SafetyImpactEnum"},{"type":"null"}]},"asset":{"anyOf":[{"$ref":"#/components/schemas/AssetInfo"},{"type":"null"}]}},"type":"object","title":"PTeamServiceUpdateRequest"},"PTeamServiceUpdateResponse":{"properties":{"service_name":{"type":"string","title":"Service Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"},"system_exposure":{"anyOf":[{"$ref":"#/components/schemas/SystemExposureEnum"},{"type":"null"}]},"service_mission_impact":{"anyOf":[{"$ref":"#/components/schemas/MissionImpactEnum"},{"type":"null"}]},"service_safety_impact":{"anyOf":[{"$ref":"#/components/schemas/SafetyImpactEnum"},{"type":"null"}]},"asset":{"anyOf":[{"$ref":"#/components/schemas/AssetInfo"},{"type":"null"}]}},"type":"object","required":["service_name","description","keywords","system_exposure","service_mission_impact","service_safety_impact"],"title":"PTeamServiceUpdateResponse"},"PTeamUpdateRequest":{"properties":{"pteam_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pteam Name"},"contact_info":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Info"},"alert_slack":{"anyOf":[{"$ref":"#/components/schemas/Slack"},{"type":"null"}]},"alert_ssvc_priority":{"anyOf":[{"$ref":"#/components/schemas/SSVCDeployerPriorityEnum"},{"type":"null"}]},"alert_mail":{"anyOf":[{"$ref":"#/components/schemas/Mail"},{"type":"null"}]}},"type":"object","title":"PTeamUpdateRequest"},"PackageFileResponse":{"properties":{"package_id":{"type":"string","format":"uuid","title":"Package Id"},"package_name":{"type":"string","title":"Package Name"},"ecosystem":{"type":"string","title":"Ecosystem"},"references":{"items":{"$ref":"#/components/schemas/Reference"},"type":"array","title":"References","default":[]}},"type":"object","required":["package_id","package_name","ecosystem"],"title":"PackageFileResponse"},"ProductCategoryEnum":{"type":"string","enum":["os","runtime","middleware","package"],"title":"ProductCategoryEnum"},"PteamMemberGetResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"uid":{"type":"string","title":"Uid"},"email":{"type":"string","title":"Email"},"disabled":{"type":"boolean","title":"Disabled"},"years":{"type":"integer","title":"Years"},"is_admin":{"type":"boolean","title":"Is Admin"}},"type":"object","required":["user_id","uid","email","disabled","years","is_admin"],"title":"PteamMemberGetResponse"},"Reference":{"properties":{"service":{"type":"string","title":"Service"},"target":{"type":"string","title":"Target"},"package_manager":{"type":"string","title":"Package Manager"},"version":{"type":"string","title":"Version"}},"type":"object","required":["service","target","package_manager","version"],"title":"Reference"},"RefreshTokenRequest":{"properties":{"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["refresh_token"],"title":"RefreshTokenRequest"},"RelatedTicketStatus":{"type":"string","enum":["solved","unsolved"],"title":"RelatedTicketStatus"},"SSVCDeployerPackagePriorityEnum":{"type":"string","enum":["immediate","out_of_cycle","scheduled","defer","no_known_vulnerability"],"title":"SSVCDeployerPackagePriorityEnum"},"SSVCDeployerPriorityEnum":{"type":"string","enum":["immediate","out_of_cycle","scheduled","defer"],"title":"SSVCDeployerPriorityEnum"},"SafetyImpactEnum":{"type":"string","enum":["catastrophic","critical","marginal","negligible"],"title":"SafetyImpactEnum"},"SbomUploadProgressResponse":{"properties":{"sbom_upload_progress_id":{"type":"string","format":"uuid","title":"Sbom Upload Progress Id"},"service_name":{"type":"string","title":"Service Name"},"progress_rate":{"type":"number","title":"Progress Rate"},"expected_finish_time":{"type":"string","format":"date-time","title":"Expected Finish Time"}},"type":"object","required":["sbom_upload_progress_id","service_name","progress_rate","expected_finish_time"],"title":"SbomUploadProgressResponse"},"ServiceEntry":{"properties":{"service_id":{"type":"string","format":"uuid","title":"Service Id"},"service_name":{"type":"string","title":"Service Name"}},"type":"object","required":["service_id","service_name"],"title":"ServiceEntry"},"ServicePackageTicketCountsSolvedUnsolved":{"properties":{"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"service_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"},"package_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Id"},"package_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Version Id"},"related_ticket_status":{"anyOf":[{"$ref":"#/components/schemas/RelatedTicketStatus"},{"type":"null"}]},"ssvc_priority_count":{"additionalProperties":{"type":"integer"},"type":"object","title":"Ssvc Priority Count"}},"type":"object","required":["pteam_id","service_id","package_id","related_ticket_status","ssvc_priority_count"],"title":"ServicePackageTicketCountsSolvedUnsolved"},"ServicePackageVulnsSolvedUnsolved":{"properties":{"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"service_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Service Id"},"package_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Id"},"package_version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Package Version Id"},"related_ticket_status":{"anyOf":[{"$ref":"#/components/schemas/RelatedTicketStatus"},{"type":"null"}]},"vuln_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Vuln Ids"}},"type":"object","required":["pteam_id","service_id","package_id","related_ticket_status","vuln_ids"],"title":"ServicePackageVulnsSolvedUnsolved"},"Slack":{"properties":{"enable":{"type":"boolean","title":"Enable"},"webhook_url":{"type":"string","title":"Webhook Url"}},"type":"object","required":["enable","webhook_url"],"title":"Slack"},"SlackCheckRequest":{"properties":{"slack_webhook_url":{"type":"string","title":"Slack Webhook Url"}},"type":"object","required":["slack_webhook_url"],"title":"SlackCheckRequest"},"SystemExposureEnum":{"type":"string","enum":["open","controlled","small"],"title":"SystemExposureEnum"},"ThreatScenario":{"properties":{"impact_category":{"$ref":"#/components/schemas/ImpactCategoryEnum"},"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description"}},"type":"object","required":["impact_category","title","description"],"title":"ThreatScenario"},"TicketHandlingStatusType":{"type":"string","enum":["alerted","acknowledged","scheduled","completed"],"title":"TicketHandlingStatusType"},"TicketListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"tickets":{"items":{"$ref":"#/components/schemas/TicketResponse"},"type":"array","title":"Tickets"}},"type":"object","required":["total","tickets"],"title":"TicketListResponse"},"TicketResponse":{"properties":{"ticket_id":{"type":"string","format":"uuid","title":"Ticket Id"},"vuln_id":{"type":"string","format":"uuid","title":"Vuln Id"},"dependency_id":{"type":"string","format":"uuid","title":"Dependency Id"},"service_id":{"type":"string","format":"uuid","title":"Service Id"},"pteam_id":{"type":"string","format":"uuid","title":"Pteam Id"},"ssvc_deployer_priority":{"anyOf":[{"$ref":"#/components/schemas/SSVCDeployerPriorityEnum"},{"type":"null"}]},"ticket_safety_impact":{"anyOf":[{"$ref":"#/components/schemas/SafetyImpactEnum"},{"type":"null"}]},"ticket_safety_impact_change_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Safety Impact Change Reason"},"ticket_status":{"$ref":"#/components/schemas/TicketStatusResponse"}},"type":"object","required":["ticket_id","vuln_id","dependency_id","service_id","pteam_id","ssvc_deployer_priority","ticket_safety_impact","ticket_safety_impact_change_reason","ticket_status"],"title":"TicketResponse"},"TicketStatusRequest":{"properties":{"ticket_handling_status":{"anyOf":[{"$ref":"#/components/schemas/TicketHandlingStatusType"},{"type":"null"}]},"logging_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Logging Ids"},"assignees":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Assignees"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"}},"type":"object","title":"TicketStatusRequest"},"TicketStatusResponse":{"properties":{"status_id":{"type":"string","format":"uuid","title":"Status Id"},"ticket_handling_status":{"$ref":"#/components/schemas/TicketHandlingStatusType"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"assignees":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Assignees","default":[]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"scheduled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Scheduled At"},"action_logs":{"items":{"$ref":"#/components/schemas/ActionLogResponse"},"type":"array","title":"Action Logs","default":[]}},"type":"object","required":["status_id","ticket_handling_status","user_id","created_at","updated_at"],"title":"TicketStatusResponse"},"TicketUpdateRequest":{"properties":{"ticket_safety_impact":{"anyOf":[{"$ref":"#/components/schemas/SafetyImpactEnum"},{"type":"null"}]},"ticket_safety_impact_change_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ticket Safety Impact Change Reason"},"ticket_status":{"anyOf":[{"$ref":"#/components/schemas/TicketStatusRequest"},{"type":"null"}]}},"type":"object","title":"TicketUpdateRequest"},"Token":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type"},"refresh_token":{"type":"string","title":"Refresh Token"}},"type":"object","required":["access_token","token_type","refresh_token"],"title":"Token"},"UserCreateRequest":{"properties":{"years":{"type":"integer","title":"Years","default":0}},"type":"object","title":"UserCreateRequest"},"UserResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"uid":{"type":"string","title":"Uid"},"email":{"type":"string","title":"Email"},"disabled":{"type":"boolean","title":"Disabled"},"years":{"type":"integer","title":"Years"},"pteam_roles":{"items":{"$ref":"#/components/schemas/PTeamRole"},"type":"array","title":"Pteam Roles"},"default_pteam_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Pteam Id"}},"type":"object","required":["user_id","uid","email","disabled","years","pteam_roles","default_pteam_id"],"title":"UserResponse"},"UserUpdateRequest":{"properties":{"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disabled"},"years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Years"},"default_pteam_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Pteam Id"}},"type":"object","title":"UserUpdateRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VulnResponse":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"cve_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cve Id"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"exploitation":{"anyOf":[{"$ref":"#/components/schemas/ExploitationEnum"},{"type":"null"}]},"automatable":{"anyOf":[{"$ref":"#/components/schemas/AutomatableEnum"},{"type":"null"}]},"cvss_v3_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss V3 Score"},"vulnerable_packages":{"items":{"$ref":"#/components/schemas/VulnerablePackageResponse"},"type":"array","title":"Vulnerable Packages","default":[]},"vuln_id":{"type":"string","format":"uuid","title":"Vuln Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"created_by":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By"}},"type":"object","required":["vuln_id","created_at","updated_at"],"title":"VulnResponse"},"VulnerablePackageResponse":{"properties":{"affected_name":{"type":"string","title":"Affected Name"},"ecosystem":{"type":"string","title":"Ecosystem"},"affected_versions":{"items":{"type":"string"},"type":"array","title":"Affected Versions"},"fixed_versions":{"items":{"type":"string"},"type":"array","title":"Fixed Versions"}},"type":"object","required":["affected_name","ecosystem","affected_versions","fixed_versions"],"title":"VulnerablePackageResponse"},"VulnsListResponse":{"properties":{"num_vulns":{"type":"integer","title":"Num Vulns"},"vulns":{"items":{"$ref":"#/components/schemas/VulnResponse"},"type":"array","title":"Vulns"}},"type":"object","required":["num_vulns","vulns"],"title":"VulnsListResponse"},"EoLProductRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"product_category":{"anyOf":[{"$ref":"#/components/schemas/ProductCategoryEnum"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"is_ecosystem":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Ecosystem"},"eol_versions":{"items":{"$ref":"#/components/schemas/EoLVersionRequest"},"type":"array","title":"Eol Versions","default":[]}},"type":"object","title":"EoLProductRequest"},"EoLVersionRequest":{"properties":{"version":{"type":"string","title":"Version"},"release_date":{"type":"string","format":"date","title":"Release Date"},"eol_from":{"type":"string","format":"date","title":"Eol From"}},"type":"object","required":["version","release_date","eol_from"],"title":"EoLVersionRequest"},"VulnUpdateRequest":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"cve_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cve Id"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail"},"exploitation":{"anyOf":[{"$ref":"#/components/schemas/ExploitationEnum"},{"type":"null"}]},"automatable":{"anyOf":[{"$ref":"#/components/schemas/AutomatableEnum"},{"type":"null"}]},"cvss_v3_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cvss V3 Score"},"vulnerable_packages":{"items":{"$ref":"#/components/schemas/VulnerablePackageResponse"},"type":"array","title":"Vulnerable Packages","default":[]}},"type":"object","title":"VulnUpdateRequest"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}