MCPcopy
hub / github.com/simstudioai/sim / validateJiraCloudId

Function validateJiraCloudId

apps/sim/lib/core/security/input-validation.ts:617–628  ·  view source on GitHub ↗
(
  value: string | null | undefined,
  paramName = 'cloudId'
)

Source from the content-addressed store, hash-verified

615 * ```
616 */
617export function validateJiraCloudId(
618 value: string | null | undefined,
619 paramName = 'cloudId'
620): ValidationResult {
621 return validatePathSegment(value, {
622 paramName,
623 allowHyphens: true,
624 allowUnderscores: false,
625 allowDots: false,
626 maxLength: 100,
627 })
628}
629
630/**
631 * Validates an Atlassian Assets workspace ID (a UUID-shaped, hyphenated

Callers 15

route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls 1

validatePathSegmentFunction · 0.85

Tested by

no test coverage detected