{"openapi":"3.0.3","info":{"title":"Governance Policy Management API","description":"Read and manage OPA Governance policies, policy sets and evaluations","version":"1.2.0"},"servers":[{"url":"https://app.harness.io/gateway/pm/"}],"paths":{"/api/v1/aida/accept":{"post":{"tags":["aida"],"description":"Record explicit AI acceptance from UI","operationId":"aida#accept","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Voluptas consequatur voluptas."},"example":"Molestias perferendis voluptate non."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptRequestBody"},"example":{"output":"package policy\n...","prompt":"make a policy that..."}}}},"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/aida/analyze":{"post":{"tags":["aida"],"description":"Describe Policy On Basis of rego","operationId":"aida#analyze","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Et delectus harum eius."},"example":"Qui dolores."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeRequestBody"},"example":{"entityType":"encryptedJsonData example","rego":"query example"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyzeResponse"},"example":{"desc":"policy example","status":"SUCCESS"}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/aida/generate":{"post":{"tags":["aida"],"description":"Generate Policy On Basis of free Text","operationId":"aida#generate","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Quae ad blanditiis labore illo sed ullam."},"example":"Sapiente eaque non similique."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRequestBody"},"example":{"policyData":"encryptedJsonData example","query":"query example"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicySample"},"example":{"policy":"policy example","status":"SUCCESS"}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/dashboard":{"get":{"tags":["dashboard"],"description":"Get metrics about policies, policy sets and evaluations","operationId":"dashboard#metrics","parameters":[{"name":"range","in":"query","description":"The time period over which to aggregate dashboard data. Can be: 24 hours, 7 days or 30 days","allowEmptyValue":true,"schema":{"type":"string","description":"The time period over which to aggregate dashboard data. Can be: 24 hours, 7 days or 30 days","default":"30d","example":"30d","enum":["24h","7d","30d"]},"example":"30d"},{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Libero modi libero numquam qui."},"example":"Consequatur maxime possimus voluptatem sunt."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardMetrics"},"example":{"aggregates":[{"error":37656522607197603,"pass":7464956699742083753,"time":1538550125153778775,"warning":5697036629664589528},{"error":37656522607197603,"pass":7464956699742083753,"time":1538550125153778775,"warning":5697036629664589528},{"error":37656522607197603,"pass":7464956699742083753,"time":1538550125153778775,"warning":5697036629664589528},{"error":37656522607197603,"pass":7464956699742083753,"time":1538550125153778775,"warning":5697036629664589528}],"policy_health":{"total_evaluation_count":14201876849955834,"total_evaluation_entity_count":{"error":1214081903279077858,"pass":4596833819605482062,"warning":8308934578896301418},"total_policy_count":8771905109859713397,"total_policy_set_count":5841960613785412653,"total_policy_set_entity_count":{"Quia officia eos voluptatem qui impedit quia.":3572455679767887998,"Quibusdam dolore aut.":3325537192149463273,"Vitae deleniti qui quisquam voluptas voluptas officiis.":2265009791480361441}}}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/evaluate":{"post":{"tags":["evaluate"],"description":"Evaluate arbitrary rego","operationId":"evaluate#evaluate","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Aut occaecati repellendus illo consequatur dolores."},"example":"Consectetur aut minus eum laborum."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateRequestBody"},"example":{"input":{"message":"everyone"},"rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluatedPolicy"},"example":{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}}}},"400":{"description":"LargePayload: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":[]},{"api_key_header_x-api-key":[]}]}},"/api/v1/evaluations":{"get":{"tags":["evaluations"],"description":"List evaluations","operationId":"evaluations#list","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"per_page","in":"query","description":"Number of results per page","allowEmptyValue":true,"schema":{"type":"integer","description":"Number of results per page","default":50,"example":20,"format":"int64","minimum":1,"maximum":100},"example":20},{"name":"page","in":"query","description":"Page number (starting from 0)","allowEmptyValue":true,"schema":{"type":"integer","description":"Page number (starting from 0)","default":0,"example":4,"format":"int64","minimum":0},"example":4},{"name":"entity","in":"query","description":"Filter by the entity associated with the evaluation","allowEmptyValue":true,"schema":{"type":"string","description":"Filter by the entity associated with the evaluation","example":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e"},"example":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e"},{"name":"type","in":"query","description":"Filter by the type associated with the evaluation","allowEmptyValue":true,"schema":{"type":"string","description":"Filter by the type associated with the evaluation","example":"pipeline"},"example":"pipeline"},{"name":"action","in":"query","description":"Filter by the action associated with the evaluation","allowEmptyValue":true,"schema":{"type":"string","description":"Filter by the action associated with the evaluation","example":"onrun"},"example":"onrun"},{"name":"last_seen","in":"query","description":"Retrieve results starting after this last-seen result","allowEmptyValue":true,"schema":{"type":"integer","description":"Retrieve results starting after this last-seen result","example":123,"format":"int64"},"example":123},{"name":"created_date_from","in":"query","description":"Retrieve results created from this date","allowEmptyValue":true,"schema":{"type":"integer","description":"Retrieve results created from this date","example":123,"format":"int64"},"example":123},{"name":"created_date_to","in":"query","description":"Retrieve results created up to this date","allowEmptyValue":true,"schema":{"type":"integer","description":"Retrieve results created up to this date","example":123,"format":"int64"},"example":123},{"name":"status","in":"query","description":"Retrieve results with these statuses","allowEmptyValue":true,"schema":{"type":"string","description":"Retrieve results with these statuses","example":"pass,warning,error"},"example":"pass,warning,error"},{"name":"includeChildScopes","in":"query","description":"When true, evaluations from child scopes will be included in the results","allowEmptyValue":true,"schema":{"type":"boolean","description":"When true, evaluations from child scopes will be included in the results","default":false,"example":false},"example":true},{"name":"execution_id","in":"query","description":"Filter by the execution Id associated with the evaluation","allowEmptyValue":true,"schema":{"type":"string","description":"Filter by the execution Id associated with the evaluation","example":"ehsPKtczTRO5CUDAt-NR"},"example":"ehsPKtczTRO5CUDAt-NR"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Assumenda dolorem."},"example":"Sint voluptatem."}],"responses":{"200":{"description":"OK response.","headers":{"Link":{"description":"Link-based paging","schema":{"type":"string","description":"Link-based paging","example":""},"example":""},"X-Page-Index":{"description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","example":4,"format":"int64"},"example":4},"X-Page-Item-Count":{"description":"Number of results in this page","schema":{"type":"integer","description":"Number of results in this page","example":20,"format":"int64"},"example":20},"X-Page-Number":{"description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","schema":{"type":"integer","description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","example":4,"format":"int64"},"example":4},"X-Page-Size":{"description":"Requested page size. Harness standard pagination header X-Page-Size.","schema":{"type":"integer","description":"Requested page size. Harness standard pagination header X-Page-Size.","example":20,"format":"int64"},"example":20},"X-Total-Elements":{"description":"Total number of results available. Harness standard pagination header X-Total-Elements.","schema":{"type":"integer","description":"Total number of results available. Harness standard pagination header X-Total-Elements.","example":230,"format":"int64"},"example":230},"X-Total-Items":{"description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","example":230,"format":"int64"},"example":230},"X-Total-Pages":{"description":"Total pages available","schema":{"type":"integer","description":"Total pages available","example":12,"format":"int64"},"example":12}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Evaluation"},"example":[{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"}]},"example":[{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"}]}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/evaluations/evaluation-input-signed-url/{evaluation_id}":{"get":{"tags":["evaluations"],"summary":"Get signed URL for evaluation input","description":"Get signed URL for evaluation input offloaded to bucket storage","operationId":"evaluations#evaluation-input-signed-url","parameters":[{"name":"evaluation_id","in":"path","description":"The evaluation ID to get the input signed URL for","required":true,"schema":{"type":"integer","description":"The evaluation ID to get the input signed URL for","example":1234,"format":"int64"},"example":1234},{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Sint error odit impedit consequatur voluptas."},"example":"Vel quos."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationInputSignedURLResponseBody"},"example":{"expires":1704067200000,"signed_url":"Non distinctio."}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/evaluations/getYaml":{"get":{"tags":["evaluations"],"description":"Get entity yaml","operationId":"evaluations#getYaml","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"entityIdentifier","in":"query","description":"Entity identifier","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Entity identifier","example":"testPipelineName"},"example":"testPipelineName"},{"name":"entityType","in":"query","description":"Entity type","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Entity type","example":"pipeline","enum":["pipeline"]},"example":"pipeline"},{"name":"validateAsync","in":"query","description":"Validate Async","allowEmptyValue":true,"schema":{"type":"boolean","description":"Validate Async","example":true},"example":true},{"name":"parentEntityConnectorRef","in":"query","description":"Connector Reference","allowEmptyValue":true,"schema":{"type":"string","description":"Connector Reference","example":"github_connector"},"example":"github_connector"},{"name":"parentEntityRepoName","in":"query","description":"Repo Name","allowEmptyValue":true,"schema":{"type":"string","description":"Repo Name","example":"testrepo"},"example":"testrepo"},{"name":"loadFromFallbackBranch","in":"query","description":"Load from fall back branch","allowEmptyValue":true,"schema":{"type":"boolean","description":"Load from fall back branch","example":true},"example":true},{"name":"branch","in":"query","description":"Git Branch","allowEmptyValue":true,"schema":{"type":"string","description":"Git Branch","example":"main"},"example":"main"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Sed aut voluptates sequi sapiente consequatur corporis."},"example":"Rerum alias amet asperiores in nam asperiores."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityYaml"},"example":{"yaml":"x: asdf"}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":[]},{"api_key_header_x-api-key":[]}]}},"/api/v1/evaluations/{id}":{"get":{"tags":["evaluations"],"description":"Find an evaluation by ID","operationId":"evaluations#find","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"id","in":"path","description":"The ID of the evaluation to retrieve","required":true,"schema":{"type":"integer","description":"The ID of the evaluation to retrieve","example":123,"format":"int64"},"examples":{"default":{"summary":"default","value":123}}},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Nostrum deserunt."},"example":"Doloribus et sint in accusantium voluptatem."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Evaluation"},"example":{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/examples":{"get":{"tags":["examples"],"description":"list examples","operationId":"examples#list","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Non eveniet."},"example":"Non qui tenetur maxime sed."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolicyExample"},"example":[{"desc":"This is a pipeline example","input":"{\"message\": \"everyone\"}","name":"Pipeline example","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}","type":"pipeline","variables":[{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}]},{"desc":"This is a pipeline example","input":"{\"message\": \"everyone\"}","name":"Pipeline example","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}","type":"pipeline","variables":[{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}]}]},"example":[{"desc":"This is a pipeline example","input":"{\"message\": \"everyone\"}","name":"Pipeline example","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}","type":"pipeline","variables":[{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}]},{"desc":"This is a pipeline example","input":"{\"message\": \"everyone\"}","name":"Pipeline example","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}","type":"pipeline","variables":[{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}]}]}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policies":{"get":{"tags":["policies"],"description":"List all policies","operationId":"policies#list","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"per_page","in":"query","description":"Number of results per page","allowEmptyValue":true,"schema":{"type":"integer","description":"Number of results per page","default":50,"example":20,"format":"int64","minimum":1,"maximum":100},"example":20},{"name":"page","in":"query","description":"Page number (starting from 0)","allowEmptyValue":true,"schema":{"type":"integer","description":"Page number (starting from 0)","default":0,"example":4,"format":"int64","minimum":0},"example":4},{"name":"identifierFilter","in":"query","description":"Comma separated List of Identifiers to filter on","allowEmptyValue":true,"schema":{"type":"string","description":"Comma separated List of Identifiers to filter on","default":"","example":"test-projectId1, test-projectId2"},"example":"test-projectId1, test-projectId2"},{"name":"searchTerm","in":"query","description":"Filter results by partial name match","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by partial name match","default":"","example":"poli"},"example":"poli"},{"name":"sort","in":"query","description":"Sort order for results","allowEmptyValue":true,"schema":{"type":"string","description":"Sort order for results","default":"name,ASC","example":"name,ASC","enum":["name,ASC","name,DESC","updated,ASC","updated,DESC"]},"example":"updated,DESC"},{"name":"excludeRegoFromResponse","in":"query","description":"Set to true to exclude Rego content from the response","allowEmptyValue":true,"schema":{"type":"boolean","description":"Set to true to exclude Rego content from the response","default":false,"example":false},"example":true},{"name":"includePolicySetCount","in":"query","description":"Set to true to include the count of policy sets associated with each policy in the response","allowEmptyValue":true,"schema":{"type":"boolean","description":"Set to true to include the count of policy sets associated with each policy in the response","default":false,"example":true},"example":false},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Corporis praesentium praesentium magnam."},"example":"Velit unde veniam nobis animi cum."}],"responses":{"200":{"description":"OK response.","headers":{"Link":{"description":"Link-based paging","schema":{"type":"string","description":"Link-based paging","example":""},"example":""},"X-Page-Index":{"description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","example":4,"format":"int64"},"example":4},"X-Page-Item-Count":{"description":"Number of results in this page","schema":{"type":"integer","description":"Number of results in this page","example":20,"format":"int64"},"example":20},"X-Page-Number":{"description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","schema":{"type":"integer","description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","example":4,"format":"int64"},"example":4},"X-Page-Size":{"description":"Requested page size. Harness standard pagination header X-Page-Size.","schema":{"type":"integer","description":"Requested page size. Harness standard pagination header X-Page-Size.","example":20,"format":"int64"},"example":20},"X-Total-Elements":{"description":"Total number of results available. Harness standard pagination header X-Total-Elements.","schema":{"type":"integer","description":"Total number of results available. Harness standard pagination header X-Total-Elements.","example":230,"format":"int64"},"example":230},"X-Total-Items":{"description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","example":230,"format":"int64"},"example":230},"X-Total-Pages":{"description":"Total pages available","schema":{"type":"integer","description":"Total pages available","example":12,"format":"int64"},"example":12}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Policy"},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}]},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}]}}},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Error et rerum nam.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]},"post":{"tags":["policies"],"description":"Create a policy","operationId":"policies#create","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"git_commit_msg","in":"query","description":"The commit message used in git when creating the policy","allowEmptyValue":true,"schema":{"type":"string","description":"The commit message used in git when creating the policy","example":"harness policy commit msg"},"example":"harness policy commit msg"},{"name":"git_import","in":"query","description":"A flag to determine if the api should try and import and existing policy from git","allowEmptyValue":true,"schema":{"type":"boolean","description":"A flag to determine if the api should try and import and existing policy from git","example":true},"example":true},{"name":"git_branch","in":"query","description":"The git branch the policy will be created in","allowEmptyValue":true,"schema":{"type":"string","description":"The git branch the policy will be created in","example":"main"},"example":"main"},{"name":"git_is_new_branch","in":"query","description":"A flag to determine if the api should try and commit to a new branch","allowEmptyValue":true,"schema":{"type":"boolean","description":"A flag to determine if the api should try and commit to a new branch","example":true},"example":true},{"name":"git_base_branch","in":"query","description":"If committing to a new branch, git_base_branch tells the api which branch to base the new branch from","allowEmptyValue":true,"schema":{"type":"string","description":"If committing to a new branch, git_base_branch tells the api which branch to base the new branch from","example":"main"},"example":"main"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Aut doloribus alias labore."},"example":"Laboriosam tempore."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRequestBody"},"example":{"git_connector_ref":".","git_path":".harness/policy.rego","git_repo":"github.com/org/repo","identifier":"policy-1","name":"Check that an approval step is present","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"}}}},"responses":{"201":{"description":"Created response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Dignissimos velit est iusto commodi.","polciy_size_in_bytes":8556924866667305796,"policy_package_name":"Minus velit ad occaecati distinctio sed.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Optio voluptatem.","updated":1636669297674}}}},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Quis libero dolore in velit nam quibusdam.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_create"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policies/dry-run":{"post":{"tags":["policies"],"summary":"Dry run policy evaluation","description":"Evaluate a Rego policy against recent entity inputs without persisting results (dry run). Requires CREATE permission when identifier is omitted; EDIT when identifier is present.","operationId":"policies#dry_run","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Aut consequatur nemo perferendis earum."},"example":"Necessitatibus sit."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DryRunRequestBody"},"example":{"action":"onrun","entityOrgIdentifier":"default","entityProjectIdentifier":"project_alpha","identifier":"my-pipeline-policy","rego":"package policy\ndeny[\"must approve\"] { input.status != \"approved\" }","type":"pipeline"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DryRunResult"},"example":{"results":[{"deny_messages":["Numquam facilis inventore quis enim alias deserunt.","Quidem est dolorem laudantium."],"entity":"pipeline:my-pipeline","error":"Unde consequuntur et.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Numquam facilis inventore quis enim alias deserunt.","Quidem est dolorem laudantium."],"entity":"pipeline:my-pipeline","error":"Unde consequuntur et.","source":"history","source_evaluation_id":12345,"status":"error"}],"summary":{"errors":0,"failed":4,"passed":20,"total":25}}}}},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Explicabo pariatur qui deserunt.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_edit"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policies/move-policy/{identifier}":{"post":{"tags":["policies"],"description":"Move an inline policy's configuration to remote (Git)","operationId":"policies#move_policy","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"identifier","in":"path","description":"Identifier of the policy to move","required":true,"schema":{"type":"string","description":"Identifier of the policy to move","example":"policy-1","minLength":1},"example":"policy-1"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Et sit voluptas."},"example":"Aliquid repudiandae adipisci necessitatibus."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovePolicyRequestBody"},"example":{"git_base_branch":"main","git_branch":"main","git_commit_msg":"Move policy to remote","git_connector_ref":"github_connector","git_is_new_branch":false,"git_path":".harness/policy.rego","git_repo":"github.com/org/repo"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Nihil beatae ut.","polciy_size_in_bytes":307083773713586752,"policy_package_name":"Et accusamus voluptatum.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Delectus officiis eum totam nam ut et.","updated":1636669297674}}}},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Aut illo corporis atque.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_edit"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policies/{identifier}":{"delete":{"tags":["policies"],"description":"Delete a policy by identifier. Returns 409 Conflict if the policy is referenced by policy sets (unless force=true).","operationId":"policies#delete","parameters":[{"name":"force","in":"query","description":"Force deletion even if the policy is referenced by policy sets","allowEmptyValue":true,"schema":{"type":"boolean","description":"Force deletion even if the policy is referenced by policy sets","default":false,"example":false},"example":false},{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"identifier","in":"path","description":"Identifier of the policy","required":true,"schema":{"type":"string","description":"Identifier of the policy","example":"policy-1","minLength":1},"examples":{"default":{"summary":"default","value":"policy-1"}}},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Molestiae voluptate."},"example":"Et nulla soluta cum vero quam et."}],"responses":{"204":{"description":"No Content response."},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Perferendis blanditiis consequatur facere atque porro corrupti.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_delete"]},{"api_key_header_x-api-key":[]}]},"get":{"tags":["policies"],"description":"Find a policy by identifier","operationId":"policies#find","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"git_branch","in":"query","description":"The git branch the policy resides in","allowEmptyValue":true,"schema":{"type":"string","description":"The git branch the policy resides in","example":"main"},"example":"main"},{"name":"show_summary","in":"query","description":"Setting to true returns the metadata about the\n\t\t\t    requested policy including the information held about the status of this policy in the default branch.\n\t\t\t    git_branch is ignored as no git operation takes place.","allowEmptyValue":true,"schema":{"type":"boolean","description":"Setting to true returns the metadata about the\n\t\t\t    requested policy including the information held about the status of this policy in the default branch.\n\t\t\t    git_branch is ignored as no git operation takes place.","example":true},"example":true},{"name":"identifier","in":"path","description":"Identifier of the policy to retrieve","required":true,"schema":{"type":"string","description":"Identifier of the policy to retrieve","example":"policy-1","minLength":1},"examples":{"default":{"summary":"default","value":"policy-1"}}},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Quia eum beatae maxime."},"example":"Dignissimos iure aperiam sunt nihil fuga non."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Qui quod doloremque aspernatur modi sit.","polciy_size_in_bytes":143515904024534117,"policy_package_name":"Qui cum dignissimos eligendi commodi.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Similique ad non aut nobis quia quis.","updated":1636669297674}}}},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Quae unde corrupti et.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]},"patch":{"tags":["policies"],"description":"Update a policy by identifier","operationId":"policies#update","parameters":[{"name":"git_commit_msg","in":"query","description":"The commit message used in git when creating the policy","allowEmptyValue":true,"schema":{"type":"string","description":"The commit message used in git when creating the policy","example":"harness policy commit msg"},"example":"harness policy commit msg"},{"name":"git_is_new_branch","in":"query","description":"A flag to determine if the api should try and commit to a new branch","allowEmptyValue":true,"schema":{"type":"boolean","description":"A flag to determine if the api should try and commit to a new branch","example":true},"example":true},{"name":"git_base_branch","in":"query","description":"If committing to a new branch, git_base_branch tells the api which branch to base the new branch from","allowEmptyValue":true,"schema":{"type":"string","description":"If committing to a new branch, git_base_branch tells the api which branch to base the new branch from","example":"main"},"example":"main"},{"name":"git_branch","in":"query","description":"The git branch the policy resides in","allowEmptyValue":true,"schema":{"type":"string","description":"The git branch the policy resides in","example":"main"},"example":"main"},{"name":"git_commit_sha","in":"query","description":"The existing commit sha of the file being updated","allowEmptyValue":true,"schema":{"type":"string","description":"The existing commit sha of the file being updated","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},{"name":"git_file_id","in":"query","description":"The existing file id of the file being updated, not required for bitbucket files","allowEmptyValue":true,"schema":{"type":"string","description":"The existing file id of the file being updated, not required for bitbucket files","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"identifier","in":"path","description":"Identifier of the policy","required":true,"schema":{"type":"string","description":"Identifier of the policy","example":"policy-1"},"example":"policy-1"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Impedit corporis."},"example":"Architecto reiciendis molestias occaecati accusamus explicabo."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRequestBody"},"example":{"name":"Check that an approval step is present","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"}}}},"responses":{"204":{"description":"No Content response."},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Molestiae nesciunt.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_edit"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policies/{identifier}/policysets":{"get":{"tags":["policies"],"description":"List all policy sets that reference a specific policy","operationId":"policies#list_policy_sets","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"per_page","in":"query","description":"Number of results per page","allowEmptyValue":true,"schema":{"type":"integer","description":"Number of results per page","default":50,"example":20,"format":"int64","minimum":1,"maximum":100},"example":20},{"name":"page","in":"query","description":"Page number (starting from 0)","allowEmptyValue":true,"schema":{"type":"integer","description":"Page number (starting from 0)","default":0,"example":4,"format":"int64","minimum":0},"example":4},{"name":"searchTerm","in":"query","description":"Filter results by partial name match","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by partial name match","default":"","example":"poli"},"example":"poli"},{"name":"sort","in":"query","description":"Sort order for results","allowEmptyValue":true,"schema":{"type":"string","description":"Sort order for results","default":"name,ASC","example":"updated,ASC","enum":["name,ASC","name,DESC","updated,ASC","updated,DESC"]},"example":"name,ASC"},{"name":"identifier","in":"path","description":"Identifier for the policy","required":true,"schema":{"type":"string","description":"Identifier for the policy","example":"policy-1"},"example":"policy-1"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Omnis tempore delectus vero aliquid."},"example":"Ad asperiores doloremque laudantium impedit nisi autem."}],"responses":{"200":{"description":"OK response.","headers":{"Link":{"description":"Link-based paging","schema":{"type":"string","description":"Link-based paging","example":""},"example":""},"X-Page-Index":{"description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","example":4,"format":"int64"},"example":4},"X-Page-Item-Count":{"description":"Number of results in this page","schema":{"type":"integer","description":"Number of results in this page","example":20,"format":"int64"},"example":20},"X-Page-Number":{"description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","schema":{"type":"integer","description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","example":4,"format":"int64"},"example":4},"X-Page-Size":{"description":"Requested page size. Harness standard pagination header X-Page-Size.","schema":{"type":"integer","description":"Requested page size. Harness standard pagination header X-Page-Size.","example":20,"format":"int64"},"example":20},"X-Total-Elements":{"description":"Total number of results available. Harness standard pagination header X-Total-Elements.","schema":{"type":"integer","description":"Total number of results available. Harness standard pagination header X-Total-Elements.","example":230,"format":"int64"},"example":230},"X-Total-Items":{"description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","example":230,"format":"int64"},"example":230},"X-Total-Pages":{"description":"Total pages available","schema":{"type":"integer","description":"Total pages available","example":12,"format":"int64"},"example":12}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolicyToPolicySet"},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","updated":1636669297674}]},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","updated":1636669297674}]}}},"400":{"description":"GitError: Bad Request response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"PolicyReferenced: Conflict response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyReferencedResult"},"example":{"message":"Eaque non eaque.","referenced_by":[{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."},{"account_id":"Blanditiis ut perspiciatis.","identifier":"Incidunt voluptas non quam atque voluptates.","name":"Dolor laborum soluta exercitationem veritatis hic.","org_id":"Id voluptatem laudantium officiis.","project_id":"Nulla alias."}]}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policy-packs":{"get":{"tags":["policy-packs"],"summary":"List compliance policy packs","description":"Lists the built-in compliance policy packs and their policies","operationId":"policy-packs#list","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Et ut."},"example":"Magni voluptas maxime ut nemo quibusdam."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompliancePolicyPack"},"example":[{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]},{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]},{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]}]},"example":[{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]},{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]},{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]},{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Et dolores cum.","Sed perspiciatis debitis."]}]}]}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicy_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policysets":{"get":{"tags":["policysets"],"description":"List all policy sets","operationId":"policysets#list","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"per_page","in":"query","description":"Number of results per page","allowEmptyValue":true,"schema":{"type":"integer","description":"Number of results per page","default":50,"example":20,"format":"int64","minimum":1,"maximum":100},"example":20},{"name":"page","in":"query","description":"Page number (starting from 0)","allowEmptyValue":true,"schema":{"type":"integer","description":"Page number (starting from 0)","default":0,"example":4,"format":"int64","minimum":0},"example":4},{"name":"identifierFilter","in":"query","description":"Comma separated List of Identifiers to filter on","allowEmptyValue":true,"schema":{"type":"string","description":"Comma separated List of Identifiers to filter on","default":"","example":"test-projectId1, test-projectId2"},"example":"test-projectId1, test-projectId2"},{"name":"searchTerm","in":"query","description":"Filter results by partial name match","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by partial name match","default":"","example":"poli"},"example":"poli"},{"name":"sort","in":"query","description":"Sort order for results","allowEmptyValue":true,"schema":{"type":"string","description":"Sort order for results","default":"name,ASC","example":"name,ASC","enum":["name,ASC","name,DESC","updated,ASC","updated,DESC"]},"example":"updated,DESC"},{"name":"type","in":"query","description":"Filter results by type","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by type","example":"pipeline","minLength":1},"example":"pipeline"},{"name":"types","in":"query","description":"Filter results by multiple types (comma-separated), e.g. pipeline,environment","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by multiple types (comma-separated), e.g. pipeline,environment","example":"pipeline,environment","minLength":1},"example":"pipeline,environment"},{"name":"action","in":"query","description":"Filter results by action","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by action","example":"onrun","minLength":1},"example":"onrun"},{"name":"yaml_version","in":"query","description":"Harness yaml version associated with this policySet","allowEmptyValue":true,"schema":{"type":"string","description":"Harness yaml version associated with this policySet","default":"0","example":"0","enum":["0","1"]},"example":"0"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Qui maxime molestiae."},"example":"Consequatur rerum deserunt doloremque."}],"responses":{"200":{"description":"OK response.","headers":{"Link":{"description":"Link-based paging","schema":{"type":"string","description":"Link-based paging","example":""},"example":""},"X-Page-Index":{"description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","example":4,"format":"int64"},"example":4},"X-Page-Item-Count":{"description":"Number of results in this page","schema":{"type":"integer","description":"Number of results in this page","example":20,"format":"int64"},"example":20},"X-Page-Number":{"description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","schema":{"type":"integer","description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","example":4,"format":"int64"},"example":4},"X-Page-Size":{"description":"Requested page size. Harness standard pagination header X-Page-Size.","schema":{"type":"integer","description":"Requested page size. Harness standard pagination header X-Page-Size.","example":20,"format":"int64"},"example":20},"X-Total-Elements":{"description":"Total number of results available. Harness standard pagination header X-Total-Elements.","schema":{"type":"integer","description":"Total number of results available. Harness standard pagination header X-Total-Elements.","example":230,"format":"int64"},"example":230},"X-Total-Items":{"description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","example":230,"format":"int64"},"example":230},"X-Total-Pages":{"description":"Total pages available","schema":{"type":"integer","description":"Total pages available","example":12,"format":"int64"},"example":12}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolicySet"},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"}]},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"}]}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_view"]},{"api_key_header_x-api-key":[]}]},"post":{"tags":["policysets"],"description":"Create a policy set","operationId":"policysets#create","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Nobis porro possimus pariatur praesentium et sit."},"example":"Rerum assumenda in qui."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRequestBody2"},"example":{"action":"onrun","description":"Captures critical production policies","enabled":true,"identifier":"policyset-1","name":"Production Policies","type":"pipeline","yaml_version":"0"}}}},"responses":{"201":{"description":"Created response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicySet"},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Quam ratione molestiae deleniti facere est est.":"Veniam eius veritatis.","Vel et tempora similique reiciendis aut esse.":"Et quos id ut perspiciatis impedit rerum."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Dolorum quia earum.":"Vero accusamus illum libero adipisci beatae.","Expedita nobis praesentium.":"In iste voluptatem consequatur ut."},"namespace":"default","nodeSelector":{"Accusantium odit aut et.":"Aperiam earum eligendi quas aspernatur recusandae."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Voluptatem ut repellat asperiores mollitia accusantium.","polciy_size_in_bytes":6449960843080837103,"policy_package_name":"Veniam voluptates et tempore saepe.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Dolor ex facilis nesciunt.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Voluptatem ut repellat asperiores mollitia accusantium.","polciy_size_in_bytes":6449960843080837103,"policy_package_name":"Veniam voluptates et tempore saepe.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Dolor ex facilis nesciunt.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Voluptatem ut repellat asperiores mollitia accusantium.","polciy_size_in_bytes":6449960843080837103,"policy_package_name":"Veniam voluptates et tempore saepe.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Dolor ex facilis nesciunt.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Labore pariatur.","created":2310597787532854062,"identifier":"Doloremque enim quia nihil vero iusto molestiae.","name":"Nam vel ut.","org_id":"Repellendus quia.","project_id":"Aperiam maxime fugit autem provident ut."},{"account_id":"Labore pariatur.","created":2310597787532854062,"identifier":"Doloremque enim quia nihil vero iusto molestiae.","name":"Nam vel ut.","org_id":"Repellendus quia.","project_id":"Aperiam maxime fugit autem provident ut."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_create"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policysets/all":{"get":{"tags":["policysets"],"summary":"List all policy sets hierarchically","description":"List all policy sets hierarchically (includes policy sets from account, org, and project levels)","operationId":"policysets#listall","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"per_page","in":"query","description":"Number of results per page","allowEmptyValue":true,"schema":{"type":"integer","description":"Number of results per page","default":50,"example":20,"format":"int64","minimum":1,"maximum":100},"example":20},{"name":"page","in":"query","description":"Page number (starting from 0)","allowEmptyValue":true,"schema":{"type":"integer","description":"Page number (starting from 0)","default":0,"example":4,"format":"int64","minimum":0},"example":4},{"name":"identifierFilter","in":"query","description":"Comma separated List of Identifiers to filter on","allowEmptyValue":true,"schema":{"type":"string","description":"Comma separated List of Identifiers to filter on","default":"","example":"test-projectId1, test-projectId2"},"example":"test-projectId1, test-projectId2"},{"name":"type","in":"query","description":"Filter results by type","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by type","example":"pipeline","minLength":1},"example":"pipeline"},{"name":"action","in":"query","description":"Filter results by action","allowEmptyValue":true,"schema":{"type":"string","description":"Filter results by action","example":"onrun","minLength":1},"example":"onrun"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Rem exercitationem molestias et quia dolorem."},"example":"In voluptas eius est."}],"responses":{"200":{"description":"OK response.","headers":{"Link":{"description":"Link-based paging","schema":{"type":"string","description":"Link-based paging","example":""},"example":""},"X-Page-Index":{"description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use pageNumber / X-Page-Number instead. Same value as pageNumber; kept for legacy UI clients.","example":4,"format":"int64"},"example":4},"X-Page-Item-Count":{"description":"Number of results in this page","schema":{"type":"integer","description":"Number of results in this page","example":20,"format":"int64"},"example":20},"X-Page-Number":{"description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","schema":{"type":"integer","description":"Current page number (0-based). Harness standard pagination header X-Page-Number.","example":4,"format":"int64"},"example":4},"X-Page-Size":{"description":"Requested page size. Harness standard pagination header X-Page-Size.","schema":{"type":"integer","description":"Requested page size. Harness standard pagination header X-Page-Size.","example":20,"format":"int64"},"example":20},"X-Total-Elements":{"description":"Total number of results available. Harness standard pagination header X-Total-Elements.","schema":{"type":"integer","description":"Total number of results available. Harness standard pagination header X-Total-Elements.","example":230,"format":"int64"},"example":230},"X-Total-Items":{"description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","schema":{"type":"integer","description":"Deprecated: Please use totalElements / X-Total-Elements instead. Same value as totalElements; kept for legacy UI clients.","example":230,"format":"int64"},"example":230},"X-Total-Pages":{"description":"Total pages available","schema":{"type":"integer","description":"Total pages available","example":12,"format":"int64"},"example":12}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolicySet"},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"}]},"example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"}]}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_view"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/policysets/{identifier}":{"delete":{"tags":["policysets"],"description":"Delete a policy set by identifier","operationId":"policysets#delete","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"identifier","in":"path","description":"Identifier of the policy set","required":true,"schema":{"type":"string","description":"Identifier of the policy set","example":"policyset-1","minLength":1},"examples":{"default":{"summary":"default","value":"policyset-1"}}},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Ipsam iure autem et quas."},"example":"Velit et ea possimus illum dolorem."}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_delete"]},{"api_key_header_x-api-key":[]}]},"get":{"tags":["policysets"],"description":"Find a policy set by identifier","operationId":"policysets#find","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"identifier","in":"path","description":"Identifier of the policy set to retrieve","required":true,"schema":{"type":"string","description":"Identifier of the policy set to retrieve","example":"policyset-1","minLength":1},"examples":{"default":{"summary":"default","value":"policyset-1"}}},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Corporis autem ullam."},"example":"Voluptas molestiae magni fugit."}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicySet"},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_scope","identifier":"policyset-1","infra_params":{"annotations":{"Quam ratione molestiae deleniti facere est est.":"Veniam eius veritatis.","Vel et tempora similique reiciendis aut esse.":"Et quos id ut perspiciatis impedit rerum."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Dolorum quia earum.":"Vero accusamus illum libero adipisci beatae.","Expedita nobis praesentium.":"In iste voluptatem consequatur ut."},"namespace":"default","nodeSelector":{"Accusantium odit aut et.":"Aperiam earum eligendi quas aspernatur recusandae."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Voluptatem ut repellat asperiores mollitia accusantium.","polciy_size_in_bytes":6449960843080837103,"policy_package_name":"Veniam voluptates et tempore saepe.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Dolor ex facilis nesciunt.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Voluptatem ut repellat asperiores mollitia accusantium.","polciy_size_in_bytes":6449960843080837103,"policy_package_name":"Veniam voluptates et tempore saepe.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Dolor ex facilis nesciunt.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aperiam quod.","polciy_size_in_bytes":8751929130004459722,"policy_package_name":"Eum qui praesentium.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ullam quo libero illo officiis id quo.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Voluptatem ut repellat asperiores mollitia accusantium.","polciy_size_in_bytes":6449960843080837103,"policy_package_name":"Veniam voluptates et tempore saepe.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Dolor ex facilis nesciunt.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Labore pariatur.","created":2310597787532854062,"identifier":"Doloremque enim quia nihil vero iusto molestiae.","name":"Nam vel ut.","org_id":"Repellendus quia.","project_id":"Aperiam maxime fugit autem provident ut."},{"account_id":"Labore pariatur.","created":2310597787532854062,"identifier":"Doloremque enim quia nihil vero iusto molestiae.","name":"Nam vel ut.","org_id":"Repellendus quia.","project_id":"Aperiam maxime fugit autem provident ut."},{"account_id":"Labore pariatur.","created":2310597787532854062,"identifier":"Doloremque enim quia nihil vero iusto molestiae.","name":"Nam vel ut.","org_id":"Repellendus quia.","project_id":"Aperiam maxime fugit autem provident ut."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"}}}},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_view"]},{"api_key_header_x-api-key":[]}]},"patch":{"tags":["policysets"],"description":"Update a policy set by identifier","operationId":"policysets#update","parameters":[{"name":"accountIdentifier","in":"query","description":"Harness account ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness account ID","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"example":"eBqAoNchMLKigC_qZ5EdC"},{"name":"orgIdentifier","in":"query","description":"Harness organization ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness organization ID","default":"","example":"test-org"},"example":"test-org"},{"name":"projectIdentifier","in":"query","description":"Harness project ID","allowEmptyValue":true,"schema":{"type":"string","description":"Harness project ID","default":"","example":"test-project"},"example":"test-project"},{"name":"identifier","in":"path","description":"Identifier of the policy set","required":true,"schema":{"type":"string","description":"Identifier of the policy set","example":"policyset-1"},"example":"policyset-1"},{"name":"x-api-key","in":"header","description":"Harness PAT key used to perform authorization","allowEmptyValue":true,"schema":{"type":"string","description":"Harness PAT key used to perform authorization","example":"Id incidunt nostrum omnis eos est."},"example":"Sed ab et."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRequestBody2"},"example":{"action":"onrun","description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","infra_params":{"annotations":{"Laborum iusto veniam quidem ut qui.":"Beatae aperiam.","Modi deleniti veniam.":"Qui et non aut.","Sint voluptatem in.":"Neque accusantium minima accusamus laboriosam possimus illo."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Deleniti aut nesciunt reiciendis voluptatem.":"Magni et iste.","Ipsum ipsum ducimus et beatae.":"Aut qui."},"namespace":"default","nodeSelector":{"Aperiam sit voluptatem laborum tempore.":"Illum corrupti quas fuga.","Rem veritatis fugit quia.":"Accusamus aut sit."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","policies":[{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"}],"resource_groups":[{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."},{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."}],"type":"pipeline"}}}},"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequest: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFound: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"ScopeInfoError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"jwt_header_Authorization":["core_governancePolicySets_edit"]},{"api_key_header_x-api-key":[]}]}},"/api/v1/system/health":{"get":{"tags":["system"],"description":"Check service health","operationId":"system#health","responses":{"204":{"description":"No Content response."},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/system/version":{"get":{"tags":["system"],"description":"Check service version","operationId":"system#version","responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceVersion"},"example":{"commit":"96381692bf3a2bd7904769c6886e832435768b57","version":"v0.123.0"}}}},"500":{"description":"InternalServer: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGateway: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"AcceptRequestBody":{"type":"object","properties":{"output":{"type":"string","description":"Generated rego output","example":"package policy\n..."},"prompt":{"type":"string","description":"Text query","example":"make a policy that..."}},"example":{"output":"package policy\n...","prompt":"make a policy that..."}},"AggregateStatus":{"type":"object","properties":{"error":{"type":"integer","description":"Count of evaluations that have a status of 'error'","example":4515124423872097512,"format":"int64"},"pass":{"type":"integer","description":"Count of evaluations that have a status of 'pass'","example":2493803842566946964,"format":"int64"},"time":{"type":"integer","description":"The Unix time of this particular aggregation","example":3496255353263429874,"format":"int64"},"warning":{"type":"integer","description":"Count of evaluations that have a status of 'warning'","example":6402435011022526144,"format":"int64"}},"description":"Aggregate metrics for evaluations on a single day","example":{"error":8163102983488834870,"pass":6864996181355895147,"time":6074255305503224825,"warning":5055538564399462543},"required":["time","error","warning","pass"]},"AnalyzeRequestBody":{"type":"object","properties":{"entityType":{"type":"string","description":"Type of entity on which rego is written on","example":"encryptedJsonData example"},"rego":{"type":"string","description":"Rego Policy","example":"query example"}},"example":{"entityType":"encryptedJsonData example","rego":"query example"}},"AnalyzeResponse":{"type":"object","properties":{"desc":{"type":"string","description":"Build identifier","example":"policy example"},"status":{"type":"string","description":"status","example":"SUCCESS"}},"description":"Description of Policy","example":{"desc":"policy example","status":"SUCCESS"},"required":["status","desc"]},"CacheResponse":{"type":"object","properties":{"cache_state":{"type":"string","description":"Cache state (UNKNOWN_STATE, VALID_CACHE, STALE_CACHE)","example":"STALE_CACHE"},"is_sync_enabled":{"type":"boolean","description":"Whether sync is enabled for this resource","example":true},"last_updated_at":{"type":"integer","description":"Timestamp (millis) when cache was last updated","example":1773917288158,"format":"int64"},"ttl_left":{"type":"integer","description":"Remaining time-to-live in milliseconds","example":258234442,"format":"int64"}},"description":"Cache metadata from GitX getFile RPC","example":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442}},"CompliancePolicy":{"type":"object","properties":{"control":{"type":"string","description":"Compliance control reference","example":"CC6.3"},"description":{"type":"string","description":"Policy purpose and compliance mapping","example":"Enforces separation of duties by preventing self-approval"},"entityType":{"type":"string","description":"Harness entity evaluated by the policy","example":"pipeline","enum":["pipeline","connector"]},"identifier":{"type":"string","description":"Stable policy identifier","example":"soc2_cc6_3_no_self_approval"},"name":{"type":"string","description":"Policy display name","example":"No Self Approval"},"rego":{"type":"string","description":"OPA/Rego policy source","example":"package soc2.cc6_3_no_self_approval"},"tags":{"type":"array","items":{"type":"string","example":"Esse dolorem ut vel eum."},"description":"Searchable policy tags","example":["Est adipisci consectetur.","Ut possimus odit accusantium quaerat.","Ea dolorem ab commodi ut velit animi.","Et ipsam rerum sit."]}},"description":"A built-in OPA policy mapped to a compliance control","example":{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Autem iste quidem.","Vitae earum soluta ut nostrum."]},"required":["identifier","name","description","control","entityType","rego","tags"]},"CompliancePolicyPack":{"type":"object","properties":{"description":{"type":"string","description":"Framework description","example":"Trust service criteria for security, availability, and processing integrity"},"identifier":{"type":"string","description":"Stable framework identifier","example":"soc2"},"industry":{"type":"string","description":"Industries commonly using the framework","example":"SaaS and cloud services"},"name":{"type":"string","description":"Framework display name","example":"SOC 2"},"policies":{"type":"array","items":{"$ref":"#/components/schemas/CompliancePolicy"},"description":"Policies included in this framework","example":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]}]}},"description":"A built-in collection of policies mapped to a compliance framework","example":{"description":"Trust service criteria for security, availability, and processing integrity","identifier":"soc2","industry":"SaaS and cloud services","name":"SOC 2","policies":[{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]},{"control":"CC6.3","description":"Enforces separation of duties by preventing self-approval","entityType":"pipeline","identifier":"soc2_cc6_3_no_self_approval","name":"No Self Approval","rego":"package soc2.cc6_3_no_self_approval","tags":["Eveniet fuga velit.","Qui dolor cum possimus."]}]},"required":["identifier","name","description","industry","policies"]},"ContainerResource":{"type":"object","properties":{"limits":{"$ref":"#/components/schemas/ResourceLimits"},"requests":{"$ref":"#/components/schemas/ResourceLimits"}},"description":"Container resource requests and limits","example":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"CreateRequestBody":{"type":"object","properties":{"git_connector_ref":{"type":"string","description":"The harness connector used for authenticating on the git provider","example":"."},"git_path":{"type":"string","description":"The path to the file in the git repo","example":".harness/policy.rego"},"git_repo":{"type":"string","description":"The git repo the policy resides in","example":"github.com/org/repo"},"identifier":{"type":"string","description":"Identifier for the policy","example":"policy-1","minLength":1},"name":{"type":"string","description":"Name of the policy","example":"Check that an approval step is present","minLength":1},"rego":{"type":"string","description":"Rego that defines the policy","example":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"}},"example":{"git_connector_ref":".","git_path":".harness/policy.rego","git_repo":"github.com/org/repo","identifier":"policy-1","name":"Check that an approval step is present","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"},"required":["name","identifier"]},"CreateRequestBody2":{"type":"object","properties":{"action":{"type":"string","description":"Action that triggers the policy set","example":"onrun","minLength":1},"description":{"type":"string","description":"Description of the policy set","example":"Captures critical production policies"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action","example":true},"identifier":{"type":"string","description":"Identifier for the policy set","example":"policyset-1","minLength":1},"name":{"type":"string","description":"Name of the policy set","example":"Production Policies","minLength":1},"type":{"type":"string","description":"Type of input suitable for the policy set","example":"pipeline","minLength":1},"yaml_version":{"type":"string","description":"Harness yaml version associated with this policySet","default":"0","example":"0","enum":["0","1"]}},"example":{"action":"onrun","description":"Captures critical production policies","enabled":true,"identifier":"policyset-1","name":"Production Policies","type":"pipeline","yaml_version":"0"},"required":["identifier","name","enabled","type","action","created","updated","account_id","org_id","project_id","entity_selector"]},"DashboardMetrics":{"type":"object","properties":{"aggregates":{"type":"array","items":{"$ref":"#/components/schemas/AggregateStatus"},"description":"Aggregate evaluation counts by day","example":[{"error":4519995479588994876,"pass":5494365916723999407,"time":8957006902264325767,"warning":1523657253567608491},{"error":4519995479588994876,"pass":5494365916723999407,"time":8957006902264325767,"warning":1523657253567608491},{"error":4519995479588994876,"pass":5494365916723999407,"time":8957006902264325767,"warning":1523657253567608491}]},"policy_health":{"$ref":"#/components/schemas/PolicyHealth"}},"description":"Policy, policy set and evaluation metrics","example":{"aggregates":[{"error":4519995479588994876,"pass":5494365916723999407,"time":8957006902264325767,"warning":1523657253567608491},{"error":4519995479588994876,"pass":5494365916723999407,"time":8957006902264325767,"warning":1523657253567608491}],"policy_health":{"total_evaluation_count":1769564229833820520,"total_evaluation_entity_count":{"error":9002233923235185382,"pass":293819207662023998,"warning":6268702180178596341},"total_policy_count":8586752919744530142,"total_policy_set_count":8225866832264512779,"total_policy_set_entity_count":{"Dolor mollitia ut veritatis ab et id.":8973132261581406845,"Facere voluptatem consequuntur esse ut quod.":8214467751907685417}}},"required":["policy_health","aggregates"]},"DryRunEntityResult":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string","example":"Dignissimos consequuntur eum accusamus debitis officiis autem."},"description":"Deny messages produced by the Rego policy","example":["Illum enim qui aspernatur qui eos.","Aspernatur ipsum consequatur.","Dignissimos molestias suscipit."]},"entity":{"type":"string","description":"Entity identifier that was evaluated","example":"pipeline:my-pipeline"},"error":{"type":"string","description":"Error message when evaluation failed (e.g. GCS fetch timeout, parse error)","example":"Tempore facere."},"source":{"type":"string","description":"Origin of the input: history or sample_payload","example":"history"},"source_evaluation_id":{"type":"integer","description":"ID of the history evaluation this input was replayed from (only set when source=history)","example":12345,"format":"int64"},"status":{"type":"string","description":"Evaluation status: pass, fail, or error","example":"error","enum":["pass","fail","error"]}},"description":"Result of evaluating a single entity payload during dry run","example":{"deny_messages":["Quidem ut nisi.","Aut ut nihil libero."],"entity":"pipeline:my-pipeline","error":"Et est labore.","source":"history","source_evaluation_id":12345,"status":"error"},"required":["entity","status","source"]},"DryRunRequestBody":{"type":"object","properties":{"action":{"type":"string","description":"Optional action filter (e.g. onrun, onsave). Restricts history replay to evaluations with this action.","example":"onrun"},"entityOrgIdentifier":{"type":"string","description":"Optional analysis org. Must stay within the policy scope hierarchy. Omit at account-level policy to replay account-wide.","example":"default"},"entityProjectIdentifier":{"type":"string","description":"Optional analysis project. Omit at org-level policy to replay all projects in the org. Requires entityOrgIdentifier when the policy is account-level.","example":"project_alpha"},"identifier":{"type":"string","description":"Policy identifier for edit mode. Used for RBAC and existence check only. Returns 404 if not found.","example":"my-pipeline-policy"},"rego":{"type":"string","description":"Rego source to evaluate. Always required — UI sends the current editor content (inline or GitX-loaded) on both create and edit.","example":"package policy\ndeny[\"must approve\"] { input.status != \"approved\" }"},"type":{"type":"string","description":"Entity type to evaluate against (e.g. pipeline, featureFlag). Required.","example":"pipeline"}},"example":{"action":"onrun","entityOrgIdentifier":"default","entityProjectIdentifier":"project_alpha","identifier":"my-pipeline-policy","rego":"package policy\ndeny[\"must approve\"] { input.status != \"approved\" }","type":"pipeline"},"required":["type","rego"]},"DryRunResult":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/DryRunEntityResult"},"description":"Per-entity evaluation results","example":[{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"}]},"summary":{"$ref":"#/components/schemas/DryRunSummary"}},"description":"Dry-run evaluation response","example":{"results":[{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"},{"deny_messages":["Earum quo id sunt.","Molestiae sequi accusamus velit libero a.","Blanditiis ea quis qui quia et cumque."],"entity":"pipeline:my-pipeline","error":"Quibusdam maxime dicta magnam quia.","source":"history","source_evaluation_id":12345,"status":"error"}],"summary":{"errors":0,"failed":4,"passed":20,"total":25}},"required":["summary","results"]},"DryRunSummary":{"type":"object","properties":{"errors":{"type":"integer","description":"Number of entities that could not be evaluated due to infrastructure errors","example":0,"format":"int64"},"failed":{"type":"integer","description":"Number of entities that triggered at least one deny rule","example":4,"format":"int64"},"passed":{"type":"integer","description":"Number of entities that passed all deny rules","example":20,"format":"int64"},"total":{"type":"integer","description":"Total number of entities evaluated","example":25,"format":"int64"}},"description":"Aggregate counts for a dry-run evaluation","example":{"errors":0,"failed":4,"passed":20,"total":25},"required":["total","passed","failed","errors"]},"EntityYaml":{"type":"object","properties":{"yaml":{"type":"string","description":"entity yaml","example":"x: asdf"}},"example":{"yaml":"x: asdf"},"required":["yaml"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":true}},"example":{"fault":false,"id":"123abc","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":true},"required":["name","id","message","temporary","timeout","fault"]},"ErrorResultWithIdentifier":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?","example":true},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem.","example":"123abc"},"identifier":{"type":"string","description":"the identifier associated with the error","example":"policy-1"},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem.","example":"parameter 'p' must be an integer"},"name":{"type":"string","description":"Name is the name of this class of errors.","example":"bad_request"},"temporary":{"type":"boolean","description":"Is the error temporary?","example":false},"timeout":{"type":"boolean","description":"Is the error a timeout?","example":false}},"example":{"fault":true,"id":"123abc","identifier":"policy-1","message":"parameter 'p' must be an integer","name":"bad_request","temporary":false,"timeout":false},"required":["name","id","message","temporary","timeout","fault"]},"EvaluateRequestBody":{"type":"object","properties":{"input":{"description":"Input to evaluate","example":{"message":"everyone"}},"rego":{"type":"string","description":"Arbitrary rego to be evaluated","example":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}","minLength":1}},"example":{"input":{"message":"everyone"},"rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"},"required":["rego","input"]},"EvaluatedPolicy":{"type":"object","properties":{"deny_messages":{"type":"array","items":{"type":"string","example":"Nobis dolorum ea quos qui fuga."},"description":"The values of any `deny` rego rules as returned by the rego engine","example":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"]},"error":{"type":"string","description":"Any errors returned by the rego engine when this policy was evaluated","example":"policy.rego:25: rego_parse_error: non-terminated string m == \"test"},"output":{"description":"The output returned by the rego engine when this policy was evaluated","example":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}"},"policy":{"$ref":"#/components/schemas/Policy"},"policy_severity":{"type":"string","description":"The severity of the policy that was selected while creating the policyset","example":"Warn \u0026 Continue","enum":["Warn \u0026 Continue","Error \u0026 Exit"]},"status":{"type":"string","description":"The overall status for this individual policy indicating whether it passed","example":"error","enum":["error","warning","pass","pending"]}},"example":{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},"required":["status","policy","output","deny_messages","error"]},"Evaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"The Harness account in which the evaluation was performed","example":"XRQAjvT37acOiXx9PRaQMF"},"action":{"type":"string","description":"The action that triggered evaluation","example":"onrun"},"created":{"type":"integer","description":"The time at which the evaluation was performed in Unix time millseconds","example":1636370209475,"format":"int64"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluationDetail"},"description":"The detailed results of te evaluation","example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}]},"entity":{"type":"string","description":"An arbtrary user-supplied string that globally identifies the entity under evaluation","example":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e"},"entity_metadata":{"type":"string","description":"Additional arbtrary user-supplied metadta about the entity under evaluation","example":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e"},"id":{"type":"integer","description":"The ID of this evaluation","example":123,"format":"int64"},"input":{"description":"The input provided at evaluation time","example":""},"org_id":{"type":"string","description":"The Harness organization in which the evaluation was performed","example":"test-org"},"project_id":{"type":"string","description":"The Harness project in which the evaluation was performed","example":"test-project"},"status":{"type":"string","description":"The overall status of the evaluation indicating whether it passed","example":"error","enum":["error","warning","pass","pending"]},"type":{"type":"string","description":"The types of the entity under evaluation","example":"pipeline,service"}},"description":"The result of a single evaluation","example":{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},"required":["id","status","entity","entity_metadata","type","action","account_id","org_id","project_id","created","details"]},"EvaluationCounts":{"type":"object","properties":{"error":{"type":"integer","description":"Count of evaluations that have a status of 'error'","example":8533477514358469495,"format":"int64"},"pass":{"type":"integer","description":"Count of evaluations that have a status of 'pass'","example":123417934855496692,"format":"int64"},"warning":{"type":"integer","description":"Count of evaluations that have a status of 'warning'","example":9832122674666148,"format":"int64"}},"description":"Evaluation counts by status","example":{"error":5856686713496240547,"pass":2798094369378615269,"warning":5428560252933442220},"required":["error","warning","pass"]},"EvaluationDetail":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"action":{"type":"string","description":"Action that triggers the policy set","example":"onrun","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","example":1636669297674,"format":"int64"},"description":{"type":"string","description":"Description of the policy set","example":"Captures critical production policies"},"details":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"},"example":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}]},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action","example":true},"identifier":{"type":"string","description":"Identifier of the policy set","example":"policyset-1","minLength":1},"name":{"type":"string","description":"Name of the policy set","example":"Production Policies","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":"","example":"test-org"},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":"","example":"test-project"},"status":{"type":"string","description":"The overall status for this policy set indicating whether it passed","example":"error","enum":["error","warning","pass","pending"]},"type":{"type":"string","description":"Type of input suitable for the policy set","example":"pipeline","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","example":1636669297674,"format":"int64"}},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},"required":["status","details","identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"EvaluationInputSignedURLResponseBody":{"type":"object","properties":{"expires":{"type":"integer","description":"Expiry of the signed URL in milliseconds since epoch","example":1704067200000,"format":"int64"},"signed_url":{"type":"string","description":"The signed URL for the evaluation input","example":"Quibusdam eligendi voluptatem."}},"example":{"expires":1704067200000,"signed_url":"Repudiandae alias iusto."},"required":["signed_url","expires"]},"Evaluationdetailsresponse":{"type":"object","properties":{"evaluations":{"type":"array","items":{"$ref":"#/components/schemas/Evaluation"},"description":"List of evaluations","example":[{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"}]},"pageIndex":{"type":"integer","description":"Page number","example":9208204094872073665,"format":"int64"},"pageItemCount":{"type":"integer","description":"Number of results in this page","example":3299505126532401547,"format":"int64"},"pageSize":{"type":"integer","description":"Requested page size","example":1789680012827880955,"format":"int64"},"totalItems":{"type":"integer","description":"Total results available","example":5762708153652312019,"format":"int64"},"totalPages":{"type":"integer","description":"Total pages available","example":6519934171246195955,"format":"int64"}},"example":{"evaluations":[{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"},{"account_id":"XRQAjvT37acOiXx9PRaQMF","action":"onrun","created":1636370209475,"details":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","details":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline","updated":1636669297674}],"entity":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","entity_metadata":"7bbca5d4-e9f2-4955-9b2a-019ec4d3645e","id":123,"input":"","org_id":"test-org","project_id":"test-project","status":"error","type":"pipeline,service"}],"pageIndex":1048736754611332965,"pageItemCount":3441560251710911073,"pageSize":5571595955967133651,"totalItems":5907805685090915902,"totalPages":3094161189563388880},"required":["evaluations","pageIndex","pageSize","pageItemCount","totalPages","totalItems"]},"GenerateRequestBody":{"type":"object","properties":{"policyData":{"type":"string","description":"policySample Data","example":"encryptedJsonData example"},"query":{"type":"string","description":"Text query","example":"query example"}},"example":{"policyData":"encryptedJsonData example","query":"query example"}},"GitErrorResult":{"type":"object","properties":{"explanation":{"type":"string","description":"the explanation of the error","example":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file"},"hint":{"type":"string","description":"the hint on how to resolve the error","example":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"message":{"type":"string","description":"the message is a human-readable explanation specific to this occurrence of the problem","example":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."}},"example":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"required":["message","explanation","hint"]},"InfraParams":{"type":"object","properties":{"annotations":{"type":"object","description":"Kubernetes annotations (for KubernetesDirect)","example":{"Amet sapiente officiis explicabo illum.":"Delectus et recusandae.","Aut hic odio iste ea.":"Tempore sed saepe.","Consectetur odio.":"Saepe veniam vero aut distinctio omnis."},"additionalProperties":{"type":"string","example":"Quas numquam aliquid suscipit."}},"connectorRef":{"type":"string","description":"Connector reference (for KubernetesDirect)","example":"account.k8s_connector"},"harnessImageConnectorRef":{"type":"string","description":"Harness image connector reference","example":"account.docker_connector"},"initTimeout":{"type":"string","description":"Initialization timeout (for KubernetesDirect)","example":"10m"},"labels":{"type":"object","description":"Kubernetes labels (for KubernetesDirect)","example":{"Quia cumque pariatur.":"Atque dolor rerum.","Veritatis quia veritatis porro sit molestiae.":"Quod quaerat."},"additionalProperties":{"type":"string","example":"Facere natus minus consequatur nam."}},"namespace":{"type":"string","description":"Kubernetes namespace (for KubernetesDirect)","example":"default"},"nodeSelector":{"type":"object","description":"Kubernetes node selector (for KubernetesDirect)","example":{"Nihil molestiae dolore qui quis.":"Cum sunt est."},"additionalProperties":{"type":"string","example":"Alias assumenda aut provident reiciendis."}},"os":{"type":"string","description":"Operating system (for VM)","example":"linux"},"poolName":{"type":"string","description":"VM pool name (for VM)","example":"vm-pool-1"},"resources":{"$ref":"#/components/schemas/ContainerResource"}},"description":"Infrastructure parameters for executing policies on customer infrastructure","example":{"annotations":{"Nemo aliquam aut.":"Fugit sit fugit."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Et voluptatum sunt rerum quod.":"Velit aut rem.","Ipsa nihil tenetur et qui eum voluptatum.":"Tempora est facere.","Sequi non.":"Ab facere rerum itaque earum consequatur odit."},"namespace":"default","nodeSelector":{"Impedit dolorem ullam ut et.":"Dicta nisi eius dolor tenetur magni.","Vero pariatur aperiam quasi earum voluptatum.":"Sequi laudantium."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}}},"KubernetesDirectInfraParams":{"type":"object","properties":{"annotations":{"type":"object","description":"Kubernetes annotations","example":{"Facere voluptatibus porro quo.":"At consequatur quo doloremque aut nihil eveniet.","Quisquam placeat non possimus.":"Earum possimus asperiores nemo numquam quam.","Sapiente modi eveniet esse tenetur sequi in.":"Facilis est veniam sed."},"additionalProperties":{"type":"string","example":"Est quae et dignissimos ipsum."}},"connectorRef":{"type":"string","description":"Connector reference","example":"account.k8s_connector"},"harnessImageConnectorRef":{"type":"string","description":"Harness image connector reference","example":"account.docker_connector"},"initTimeout":{"type":"string","description":"Initialization timeout","example":"10m"},"labels":{"type":"object","description":"Kubernetes labels","example":{"Illo minus voluptatem unde est vitae.":"Eveniet est quaerat fuga."},"additionalProperties":{"type":"string","example":"Occaecati pariatur maxime perferendis et a recusandae."}},"namespace":{"type":"string","description":"Kubernetes namespace","example":"default"},"nodeSelector":{"type":"object","description":"Kubernetes node selector","example":{"Harum dolorum.":"Ratione tenetur reiciendis atque molestias nihil.","Tempore quisquam nihil provident quia voluptas impedit.":"Molestias quo odio soluta."},"additionalProperties":{"type":"string","example":"Sed ea."}},"resources":{"$ref":"#/components/schemas/ContainerResource"}},"description":"Infrastructure parameters for Kubernetes Direct infrastructure","example":{"annotations":{"Blanditiis iusto.":"Suscipit quibusdam vero et et saepe mollitia.","Blanditiis voluptatem non quis.":"Rerum tenetur.","Dolor ad.":"Veniam accusantium dignissimos."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Animi sed quae quia.":"Velit et.","Soluta quaerat.":"Id praesentium optio ipsam ratione fuga."},"namespace":"default","nodeSelector":{"Ab sit et recusandae accusamus molestiae similique.":"Veritatis voluptatem."},"resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"required":["connectorRef"]},"LinkedPolicy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"created":{"type":"integer","description":"Time the policy was created","example":1636669297674,"format":"int64"},"git_commit_sha":{"type":"string","description":"The commit sha of the commit that last effected the file","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"git_connector_ref":{"type":"string","description":"The harness connector used for authenticating on the git provider","example":"."},"git_file_id":{"type":"string","description":"The file id of the file, may be empty for bitbucket files","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"git_file_url":{"type":"string","description":"The url of the file on the fit provider","example":""},"git_path":{"type":"string","description":"The path to the file in the git repo","example":".harness/policy.rego"},"git_repo":{"type":"string","description":"The git repo the policy resides in","example":"github.com/org/repo,omitempty"},"identifier":{"type":"string","description":"identifier of the policy","example":"policy-1","minLength":1},"imported_policies":{"type":"array","items":{"$ref":"#/components/schemas/Policy"},"description":"Policies imported (via `import data.*`) by this policy's Rego, flattened across the whole import chain. These are compiler inputs only — they are loaded alongside this policy's Rego so imports resolve, and are never evaluated on their own.","example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}]},"name":{"type":"string","description":"Name of the policy","example":"Pipeline Approval","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":"","example":"test-org"},"parent_unique_id":{"type":"string","description":"Parent unique identifier for the policy","example":"Alias accusantium pariatur."},"polciy_size_in_bytes":{"type":"integer","description":"Size of the policy in bytes","example":4806796447958767065,"format":"int64"},"policy_package_name":{"type":"string","description":"Package name of the policy","example":"Natus dolor et vero et."},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":"","example":"test-project"},"rego":{"type":"string","description":"Rego that defines the policy","example":"","minLength":1},"severity":{"type":"string","description":"The severity of this policy in this context","example":"warning","enum":["warning","error"]},"unique_id":{"type":"string","description":"Unique identifier for the policy","example":"Fugiat aut qui laudantium esse quo."},"updated":{"type":"integer","description":"Time the policy was last updated","example":1636669297674,"format":"int64"}},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Officiis quo.","polciy_size_in_bytes":1624002190453069545,"policy_package_name":"Illum incidunt.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Quam magni perspiciatis sed explicabo officia aut.","updated":1636669297674},"required":["account_id","org_id","project_id","identifier","name","severity","rego","created","updated"]},"Linkedpolicyidentifier":{"type":"object","properties":{"identifier":{"type":"string","description":"identifier of the policy with account. or org. prefix if needed","example":"policy-1","minLength":1},"severity":{"type":"string","description":"The severity of this policy in this context","example":"warning","enum":["warning","error"]}},"example":{"identifier":"policy-1","severity":"warning"},"required":["identifier","severity"]},"MovePolicyRequestBody":{"type":"object","properties":{"git_base_branch":{"type":"string","description":"If committing to a new branch, git_base_branch tells the api which branch to base the new branch from","example":"main"},"git_branch":{"type":"string","description":"The git branch to commit the policy to","example":"main"},"git_commit_msg":{"type":"string","description":"The commit message used in git when moving the policy","example":"Move policy to remote"},"git_connector_ref":{"type":"string","description":"The harness connector used for authenticating on the git provider","example":"github_connector"},"git_is_new_branch":{"type":"boolean","description":"A flag to determine if the api should try and commit to a new branch","example":false},"git_path":{"type":"string","description":"The path to the file in the git repo","example":".harness/policy.rego"},"git_repo":{"type":"string","description":"The git repo to store the policy in","example":"github.com/org/repo"}},"example":{"git_base_branch":"main","git_branch":"main","git_commit_msg":"Move policy to remote","git_connector_ref":"github_connector","git_is_new_branch":false,"git_path":".harness/policy.rego","git_repo":"github.com/org/repo"},"required":["git_repo","git_branch","git_path","git_commit_msg"]},"PoliciesValidateRego":{"type":"object","properties":{"error_message":{"type":"string","description":"Error message when validation fails","example":""},"policy_identifier":{"type":"string","description":"Identifier of the matched policy","example":"my_pipeline_policy"},"status":{"type":"string","description":"Validation status: success or failure","example":"success"}},"example":{"error_message":"","policy_identifier":"my_pipeline_policy","status":"success"},"required":["status"]},"Policy":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"cache_response":{"$ref":"#/components/schemas/CacheResponse"},"created":{"type":"integer","description":"Time the policy was created","example":1636669297674,"format":"int64"},"git_commit_sha":{"type":"string","description":"The commit sha of the commit that last effected the file","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"git_connector_ref":{"type":"string","description":"The harness connector used for authenticating on the git provider","example":"."},"git_default_branch":{"type":"string","description":"The default branch, the service pulls in changes from this branch for policy evaluation","example":"main"},"git_default_branch_commit_sha":{"type":"string","description":"The commit sha of the commit that last effected the file in the default branch","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"git_default_branch_file_id":{"type":"string","description":"The file id of the file in the default branch, may be empty for bitbucket files","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"git_default_branch_file_url":{"type":"string","description":"The url of the file in the default branch","example":""},"git_default_branch_update_error":{"$ref":"#/components/schemas/GitErrorResult"},"git_default_branch_updated":{"type":"integer","description":"The last time the service successfully pulled in changes from the default branch","example":1636669297674,"format":"int64"},"git_file_id":{"type":"string","description":"The file id of the file, may be empty for bitbucket files","example":"1369b45c20fc685113adcfd1a08a914180ff3c0d"},"git_file_url":{"type":"string","description":"The url of the file on the fit provider","example":""},"git_path":{"type":"string","description":"The path to the file in the git repo","example":".harness/policy.rego"},"git_repo":{"type":"string","description":"The git repo the policy resides in","example":"github.com/org/repo,omitempty"},"identifier":{"type":"string","description":"identifier of the policy","example":"policy-1","minLength":1},"name":{"type":"string","description":"Name of the policy","example":"Pipeline Approval","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy","default":"","example":"test-org"},"parent_unique_id":{"type":"string","description":"Parent unique identifier for the policy","example":"Asperiores voluptates nemo porro eveniet."},"polciy_size_in_bytes":{"type":"integer","description":"Size of the policy in bytes","example":8717480060768550396,"format":"int64"},"policy_package_name":{"type":"string","description":"Package name of the policy","example":"Velit et exercitationem qui tempore."},"policy_set_count":{"type":"integer","description":"Count of policy sets associated with this policy","example":3,"format":"int64"},"project_id":{"type":"string","description":"Harness project ID associated with this policy","default":"","example":"test-project"},"rego":{"type":"string","description":"Rego that defines the policy","example":"","minLength":1},"unique_id":{"type":"string","description":"Unique identifier for the policy","example":"Nemo ullam rem at autem rem totam."},"updated":{"type":"integer","description":"Time the policy was last updated","example":1636669297674,"format":"int64"}},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Repellat in molestias aliquid et eligendi quia.","polciy_size_in_bytes":6630888188299981345,"policy_package_name":"Quae porro vel cumque voluptatem modi.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Quibusdam omnis atque saepe voluptas magni quas.","updated":1636669297674},"required":["identifier","name","rego","created","updated","account_id","org_id","project_id"]},"PolicyExample":{"type":"object","properties":{"desc":{"type":"string","description":"Longer description of the example","example":"This is a pipeline example"},"input":{"type":"string","description":"Example input to illustrate the rego policy","example":"{\"message\": \"everyone\"}"},"name":{"type":"string","description":"Example name","example":"Pipeline example"},"rego":{"type":"string","description":"Example rego policy","example":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"},"type":{"type":"string","description":"The type of entity illustrated in this example","example":"pipeline"},"variables":{"type":"array","items":{"$ref":"#/components/schemas/Variable"},"description":"The list of substitutable variables in the policy example","example":[{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}]}},"description":"Example policies and input","example":{"desc":"This is a pipeline example","input":"{\"message\": \"everyone\"}","name":"Pipeline example","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}","type":"pipeline","variables":[{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]},{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}]},"required":["name","desc","type","rego","input"]},"PolicyHealth":{"type":"object","properties":{"total_evaluation_count":{"type":"integer","description":"Total number of evaluations that have occurred","example":7162024249218734434,"format":"int64"},"total_evaluation_entity_count":{"$ref":"#/components/schemas/EvaluationCounts"},"total_policy_count":{"type":"integer","description":"Total number of policies stored","example":4843055370101016208,"format":"int64"},"total_policy_set_count":{"type":"integer","description":"Total number of policy sets stored","example":1601662014619088251,"format":"int64"},"total_policy_set_entity_count":{"type":"object","description":"Total number of policy sets by type","example":{"Excepturi quam sit.":4667227425435319372,"Fugiat quis nihil non.":7254375600735168645,"Rerum nulla eaque aut.":2237733781929639936},"additionalProperties":{"type":"integer","example":5490269877426333710,"format":"int64"}}},"description":"Policy health metrics","example":{"total_evaluation_count":516673830095642420,"total_evaluation_entity_count":{"error":9002233923235185382,"pass":293819207662023998,"warning":6268702180178596341},"total_policy_count":1474204461934760276,"total_policy_set_count":2280002453382497694,"total_policy_set_entity_count":{"Aut tenetur distinctio nemo eum commodi tempora.":7110250116596381033,"Saepe vel enim.":165991549180321115}},"required":["total_policy_count","total_policy_set_count","total_policy_set_entity_count","total_evaluation_count","total_evaluation_entity_count"]},"PolicyReferencedResult":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable warning message","example":"Qui dignissimos perferendis occaecati distinctio."},"referenced_by":{"type":"array","items":{"$ref":"#/components/schemas/PolicySetRef"},"description":"Policy sets that reference this policy","example":[{"account_id":"Eius illum.","identifier":"Et iusto ea adipisci quo sint.","name":"Tenetur repellendus delectus illo eaque.","org_id":"Rerum ut in non voluptas.","project_id":"Natus autem inventore ut ea voluptates sunt."},{"account_id":"Eius illum.","identifier":"Et iusto ea adipisci quo sint.","name":"Tenetur repellendus delectus illo eaque.","org_id":"Rerum ut in non voluptas.","project_id":"Natus autem inventore ut ea voluptates sunt."},{"account_id":"Eius illum.","identifier":"Et iusto ea adipisci quo sint.","name":"Tenetur repellendus delectus illo eaque.","org_id":"Rerum ut in non voluptas.","project_id":"Natus autem inventore ut ea voluptates sunt."}]}},"description":"Error returned when deleting a policy that is referenced by policy sets","example":{"message":"Quidem est.","referenced_by":[{"account_id":"Eius illum.","identifier":"Et iusto ea adipisci quo sint.","name":"Tenetur repellendus delectus illo eaque.","org_id":"Rerum ut in non voluptas.","project_id":"Natus autem inventore ut ea voluptates sunt."},{"account_id":"Eius illum.","identifier":"Et iusto ea adipisci quo sint.","name":"Tenetur repellendus delectus illo eaque.","org_id":"Rerum ut in non voluptas.","project_id":"Natus autem inventore ut ea voluptates sunt."},{"account_id":"Eius illum.","identifier":"Et iusto ea adipisci quo sint.","name":"Tenetur repellendus delectus illo eaque.","org_id":"Rerum ut in non voluptas.","project_id":"Natus autem inventore ut ea voluptates sunt."}]},"required":["message","referenced_by"]},"PolicySample":{"type":"object","properties":{"policy":{"type":"string","description":"Build identifier","example":"policy example"},"status":{"type":"string","description":"status","example":"SUCCESS"}},"description":"Sample of Policy","example":{"policy":"policy example","status":"SUCCESS"},"required":["status","policy"]},"PolicySet":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"action":{"type":"string","description":"Action that triggers the policy set","example":"onrun","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","example":1636669297674,"format":"int64"},"description":{"type":"string","description":"Description of the policy set","example":"Captures critical production policies"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action","example":true},"entity_selector":{"type":"string","description":"A string enum value which determines which entities the policy set applies to during evaluation","example":"all_entities_in_resource_groups","enum":["all_entities_in_scope","all_entities_in_resource_groups"]},"identifier":{"type":"string","description":"Identifier of the policy set","example":"policyset-1","minLength":1},"infra_params":{"$ref":"#/components/schemas/InfraParams"},"infra_type":{"type":"string","description":"Infrastructure type for executing policies on customer infrastructure","example":"KubernetesDirect","enum":["KubernetesDirect","VM"]},"name":{"type":"string","description":"Name of the policy set","example":"Production Policies","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":"","example":"test-org"},"policies":{"type":"array","items":{"$ref":"#/components/schemas/LinkedPolicy"},"description":"Policies linked to this policy set","example":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}]},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":"","example":"test-project"},"resource_groups":{"type":"array","items":{"$ref":"#/components/schemas/ResourceGroup"},"description":"The groups of resources that this policy set should be applied to","example":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}]},"type":{"type":"string","description":"Type of input suitable for the policy set","example":"pipeline","minLength":1},"updated":{"type":"integer","description":"Time the policy set was last updated","example":1636669297674,"format":"int64"},"yaml_version":{"type":"string","description":"Harness yaml version associated with this policySet","default":"0","example":"0","enum":["0","1"]}},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},"required":["identifier","name","action","type","enabled","created","updated","account_id","org_id","project_id","entity_selector"]},"PolicySetEvaluation":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID","example":"kmpySmUISimoRrJL6NL73w"},"created":{"type":"integer","description":"Timestamp when evaluation was created (milliseconds since epoch)","example":1704067200000,"format":"int64"},"ended":{"type":"integer","description":"Timestamp when evaluation ended (milliseconds since epoch)","example":1704067200000,"format":"int64"},"evaluation_data":{"type":"array","items":{"$ref":"#/components/schemas/EvaluatedPolicy"},"description":"List of evaluated policies","example":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}]},"evaluation_id":{"type":"integer","description":"The evaluation ID","example":1234,"format":"int64"},"id":{"type":"integer","description":"The ID of the policy set evaluation","example":1,"format":"int64"},"org_id":{"type":"string","description":"Harness organization ID","example":"default"},"parent_unique_id":{"type":"string","description":"Parent unique identifier for the policy set","example":"parent-unique-123"},"policy_set":{"$ref":"#/components/schemas/PolicySet"},"policy_set_id":{"type":"string","description":"The policy set identifier","example":"my-policy-set"},"project_id":{"type":"string","description":"Harness project ID","example":"Elastic"},"status":{"type":"string","description":"The evaluation status (pass, warning, error, pending)","example":"pass","enum":["pass","warning","error","pending"]},"unique_id":{"type":"string","description":"Unique identifier for the policy set","example":"unique-123"}},"description":"Policy set evaluation result","example":{"account_id":"kmpySmUISimoRrJL6NL73w","created":1704067200000,"ended":1704067200000,"evaluation_data":[{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"},{"deny_messages":["deployment stage 'example-stage' does not have a HarnessApproval step","deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"],"error":"policy.rego:25: rego_parse_error: non-terminated string m == \"test","output":"{\n    \"deny\": [\n        \"deployment stage 'deploy' does not have a HarnessApproval step\"\n    ],\n    \"stages_with_approval\": []\n}","policy":{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},"policy_severity":"Warn \u0026 Continue","status":"error"}],"evaluation_id":1234,"id":1,"org_id":"default","parent_unique_id":"parent-unique-123","policy_set":{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_resource_groups","identifier":"policyset-1","infra_params":{"annotations":{"Perspiciatis ipsam explicabo sit omnis magni omnis.":"At neque dignissimos harum asperiores dolorum.","Voluptatem quia maxime fugit voluptatem repudiandae nulla.":"Rem eum commodi quasi aut sapiente tenetur."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Commodi sunt quas suscipit dolores id dolore.":"Facere nobis."},"namespace":"default","nodeSelector":{"Quasi ut doloribus ea.":"Doloribus voluptatem est repudiandae numquam.","Veritatis et saepe non culpa ea.":"Omnis numquam reiciendis cum esse voluptates et."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","org_id":"test-org","policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","imported_policies":[{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674},{"account_id":"eBqAoNchMLKigC_qZ5EdC","cache_response":{"cache_state":"STALE_CACHE","is_sync_enabled":true,"last_updated_at":1773917288158,"ttl_left":258234442},"created":1636669297674,"git_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_connector_ref":".","git_default_branch":"main","git_default_branch_commit_sha":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_default_branch_file_url":"","git_default_branch_update_error":{"explanation":"File with given filepath [file.rego] already exists in Github, thus couldn't create a new file","hint":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main].","message":"Please check if there's already a file [file.rego] in Github repository [rego-demo] for the given filepath and branch [main]."},"git_default_branch_updated":1636669297674,"git_file_id":"1369b45c20fc685113adcfd1a08a914180ff3c0d","git_file_url":"","git_path":".harness/policy.rego","git_repo":"github.com/org/repo,omitempty","identifier":"policy-1","name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Aliquam est.","polciy_size_in_bytes":4204212102816286337,"policy_package_name":"Aspernatur in molestias recusandae odit quia.","policy_set_count":3,"project_id":"test-project","rego":"","unique_id":"Ex consequuntur saepe.","updated":1636669297674}],"name":"Pipeline Approval","org_id":"test-org","parent_unique_id":"Odio expedita adipisci.","polciy_size_in_bytes":7440435055692946987,"policy_package_name":"Enim ea.","project_id":"test-project","rego":"","severity":"warning","unique_id":"Exercitationem molestiae consequuntur sint adipisci iusto.","updated":1636669297674}],"project_id":"test-project","resource_groups":[{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."},{"account_id":"Exercitationem harum consequatur dolorum minima molestiae aperiam.","created":3521594352669719737,"identifier":"Voluptates dolor aut corporis qui doloremque possimus.","name":"Doloremque nihil.","org_id":"Maxime pariatur ut architecto quisquam earum suscipit.","project_id":"Iste qui molestias qui."}],"type":"pipeline","updated":1636669297674,"yaml_version":"0"},"policy_set_id":"my-policy-set","project_id":"Elastic","status":"pass","unique_id":"unique-123"},"required":["id","policy_set_id","evaluation_id","status","account_id","org_id","project_id","unique_id","parent_unique_id","created"]},"PolicySetRef":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID","example":"Architecto aut consequuntur architecto."},"identifier":{"type":"string","description":"Identifier of the referencing policy set","example":"Quia est autem."},"name":{"type":"string","description":"Name of the referencing policy set","example":"Voluptas modi in."},"org_id":{"type":"string","description":"Harness organization ID","default":"","example":"Necessitatibus aut molestias."},"project_id":{"type":"string","description":"Harness project ID","default":"","example":"Veniam sequi sed et."}},"description":"Lightweight reference to a policy set (used in error responses)","example":{"account_id":"Sunt quas.","identifier":"Dicta et rerum non.","name":"Sunt aliquam modi tempora dolore.","org_id":"Consequatur est ad qui ex excepturi non.","project_id":"Rerum esse labore."},"required":["identifier","name","account_id"]},"PolicyToPolicySet":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID associated with this policy set","default":"","example":"eBqAoNchMLKigC_qZ5EdC"},"action":{"type":"string","description":"Action that triggers the policy set","example":"onrun","minLength":1},"created":{"type":"integer","description":"Time the policy set was created","example":1636669297674,"format":"int64"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action","example":true},"identifier":{"type":"string","description":"Identifier of the policy set","example":"policyset-1","minLength":1},"name":{"type":"string","description":"Name of the policy set","example":"Production Policies","minLength":1},"org_id":{"type":"string","description":"Harness organization ID associated with this policy set","default":"","example":"test-org"},"project_id":{"type":"string","description":"Harness project ID associated with this policy set","default":"","example":"test-project"},"updated":{"type":"integer","description":"Time the policy set was last updated","example":1636669297674,"format":"int64"}},"example":{"account_id":"eBqAoNchMLKigC_qZ5EdC","action":"onrun","created":1636669297674,"enabled":true,"identifier":"policyset-1","name":"Production Policies","org_id":"test-org","project_id":"test-project","updated":1636669297674},"required":["identifier","name","action","enabled","created","updated","account_id","org_id","project_id"]},"ResourceGroup":{"type":"object","properties":{"account_id":{"type":"string","description":"resource group account id","example":"Pariatur dicta est."},"created":{"type":"integer","description":"resource group timestamp","example":7316998936452432783,"format":"int64"},"identifier":{"type":"string","description":"resource group identifier","example":"Ipsa quasi expedita qui neque dolore."},"name":{"type":"string","description":"resource group name","example":"Et ipsa porro."},"org_id":{"type":"string","description":"resource group org id","example":"Maiores sequi rem ducimus."},"project_id":{"type":"string","description":"resource group project identifier","example":"Aut qui et sit inventore minus consequatur."}},"example":{"account_id":"Ut et quo.","created":2651535724499236395,"identifier":"Alias eaque incidunt est.","name":"Adipisci aut reprehenderit omnis quis est et.","org_id":"Error officiis.","project_id":"Qui non quod aut."},"required":["account_id","org_id","project_id","identifier","name","created"]},"ResourceGroupIdentifier":{"type":"object","properties":{"account_id":{"type":"string","description":"resource group account id","example":"Esse ut vitae voluptas voluptatem."},"identifier":{"type":"string","description":"resource group identifier","example":"Ea nesciunt autem deserunt."},"org_id":{"type":"string","description":"resource group org id","example":"Eos sapiente quasi fugit dolores ut."},"project_id":{"type":"string","description":"resource group project identifier","example":"Vel est et officiis ut."}},"example":{"account_id":"Ea sint voluptatem voluptatem.","identifier":"Qui saepe laudantium excepturi ducimus minus non.","org_id":"Et qui repudiandae facere velit.","project_id":"Eum aut."},"required":["account_id","org_id","project_id","identifier"]},"ResourceLimits":{"type":"object","properties":{"cpu":{"type":"string","description":"CPU quantity","example":"100m"},"memory":{"type":"string","description":"Memory quantity","example":"128Mi"}},"description":"CPU and memory quantities for container resources","example":{"cpu":"100m","memory":"128Mi"},"required":["cpu","memory"]},"ServiceVersion":{"type":"object","properties":{"commit":{"type":"string","description":"Build identifier","example":"96381692bf3a2bd7904769c6886e832435768b57"},"version":{"type":"string","description":"Version number","example":"v0.123.0"}},"description":"Service version","example":{"commit":"96381692bf3a2bd7904769c6886e832435768b57","version":"v0.123.0"},"required":["version","commit"]},"UpdateRequestBody":{"type":"object","properties":{"name":{"type":"string","description":"The name of the policy","example":"Check that an approval step is present"},"rego":{"type":"string","description":"The rego that defines the policy","example":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"}},"example":{"name":"Check that an approval step is present","rego":"package test\ndeny[\"should say hello world\"] {input.message != \"world\"}"}},"UpdateRequestBody2":{"type":"object","properties":{"action":{"type":"string","description":"Action that triggers the policy set","example":"onrun","minLength":1},"description":{"type":"string","description":"Description of the policy set","example":"Captures critical production policies"},"enabled":{"type":"boolean","description":"Only enabled policy sets are evaluated when evaluating by type/action","example":true},"entity_selector":{"type":"string","description":"A string enum value which determines which entities the policy set applies to during evaluation. This feature is not available for all accounts, Contact support if you wish to have it enabled.","example":"all_entities_in_scope","enum":["all_entities_in_scope","all_entities_in_resource_groups"]},"infra_params":{"$ref":"#/components/schemas/InfraParams"},"infra_type":{"type":"string","description":"Infrastructure type for executing policies on customer infrastructure. Use empty string or null to clear infrastructure configuration.","example":"KubernetesDirect"},"name":{"type":"string","description":"Name of the policy set","example":"Production Policies"},"policies":{"type":"array","items":{"$ref":"#/components/schemas/Linkedpolicyidentifier"},"description":"Policies linked to this policy set","example":[{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"}]},"resource_groups":{"type":"array","items":{"$ref":"#/components/schemas/ResourceGroupIdentifier"},"description":"Resource groups that contain the resources that this policy set should be evaluated for. Resource groups are not supported for flag or custom policy sets. This feature is not available for all accounts, Contact support if you wish to have it enabled.","example":[{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."},{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."},{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."},{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."}]},"type":{"type":"string","description":"Type of input suitable for the policy set","example":"pipeline"}},"example":{"action":"onrun","description":"Captures critical production policies","enabled":true,"entity_selector":"all_entities_in_scope","infra_params":{"annotations":{"Laborum iusto veniam quidem ut qui.":"Beatae aperiam.","Modi deleniti veniam.":"Qui et non aut.","Sint voluptatem in.":"Neque accusantium minima accusamus laboriosam possimus illo."},"connectorRef":"account.k8s_connector","harnessImageConnectorRef":"account.docker_connector","initTimeout":"10m","labels":{"Deleniti aut nesciunt reiciendis voluptatem.":"Magni et iste.","Ipsum ipsum ducimus et beatae.":"Aut qui."},"namespace":"default","nodeSelector":{"Aperiam sit voluptatem laborum tempore.":"Illum corrupti quas fuga.","Rem veritatis fugit quia.":"Accusamus aut sit."},"os":"linux","poolName":"vm-pool-1","resources":{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}},"infra_type":"KubernetesDirect","name":"Production Policies","policies":[{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"},{"identifier":"policy-1","severity":"warning"}],"resource_groups":[{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."},{"account_id":"Id consequatur.","identifier":"Ut odio.","org_id":"Sed tenetur.","project_id":"Necessitatibus excepturi et."}],"type":"pipeline"}},"VMInfraParams":{"type":"object","properties":{"harnessImageConnectorRef":{"type":"string","description":"Harness image connector reference","example":"account.docker_connector"},"os":{"type":"string","description":"Operating system","example":"linux"},"poolName":{"type":"string","description":"VM pool name","example":"vm-pool-1"}},"description":"Infrastructure parameters for VM infrastructure","example":{"harnessImageConnectorRef":"account.docker_connector","os":"linux","poolName":"vm-pool-1"},"required":["os","poolName"]},"ValidateRegoRequest":{"type":"object","properties":{"account_id":{"type":"string","description":"Harness account ID","example":"abc123"},"branch_name":{"type":"string","description":"Git branch name","default":"","example":"main"},"commit_id":{"type":"string","description":"Git commit SHA","default":"","example":"abc123def456"},"connector_ref":{"type":"string","description":"Git connector reference (optional for Harness Code)","default":"","example":"github_connector"},"file_content":{"type":"string","description":"Rego file content","default":"","example":"package policy\ndeny[msg] { msg := \"denied\" }"},"file_path":{"type":"string","description":"Path to the .rego file in the repository","example":"policies/pipeline.rego"},"is_default_branch":{"type":"boolean","description":"Whether this change is on the default branch","default":false,"example":true},"org_id":{"type":"string","description":"Harness organization ID","default":"","example":"default"},"project_id":{"type":"string","description":"Harness project ID","default":"","example":"my_project"},"repo_name":{"type":"string","description":"Git repository name","example":"policy-repo"}},"example":{"account_id":"abc123","branch_name":"main","commit_id":"abc123def456","connector_ref":"github_connector","file_content":"package policy\ndeny[msg] { msg := \"denied\" }","file_path":"policies/pipeline.rego","is_default_branch":true,"org_id":"default","project_id":"my_project","repo_name":"policy-repo"},"required":["account_id","repo_name","file_path"]},"Variable":{"type":"object","properties":{"default":{"type":"array","items":{"type":"string","example":"Cumque aut veniam."},"description":"The values that are selected by default","example":["JiraUpdate","HarnessApproval"]},"desc":{"type":"string","description":"Longer description of the variable to substitute","example":"The required steps that the policy enforces"},"id":{"type":"string","description":"The id of the variable to substitute in the rego","example":"requiredsteps"},"name":{"type":"string","description":"The human readable name of the variable to substitute in the rego","example":"Required Steps"},"type":{"type":"string","description":"The variable type","example":"selectOne","enum":["text","textMultiple","selectOne","selectMultiple"]},"values":{"type":"array","items":{"type":"string","example":"Asperiores veritatis."},"description":"Pre populated sample values to substitute the variable with","example":["JiraUpdate","HarnessApproval"]}},"example":{"default":["JiraUpdate","HarnessApproval"],"desc":"The required steps that the policy enforces","id":"requiredsteps","name":"Required Steps","type":"selectOne","values":["JiraUpdate","HarnessApproval"]}}},"securitySchemes":{"api_key_header_x-api-key":{"type":"apiKey","description":"Harness PAT","name":"x-api-key","in":"header"},"jwt_header_Authorization":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"aida","description":"AIDA API's for Harness OPA"},{"name":"dashboard","description":"Aggregate summary of policies, policy sets and evaluations for display on the dashboard"},{"name":"examples","description":"Example rego policies and corresponding input"},{"name":"policies","description":"Create, edit and delete Governance policies written in rego"},{"name":"policy-packs","description":"Built-in compliance policy packs"},{"name":"evaluate","description":"Perform evaluations"},{"name":"evaluations","description":"Access evaluation results"},{"name":"policysets","description":"Create, edit and delete Governance policy sets"},{"name":"system","description":"System version and health"}]}