Policy Parameters Rename Proposal #1106
Tharsanan1
started this conversation in
General
Replies: 1 comment
-
|
I recommend using a similar skill and integrate Copilot reviews on PR checks API Platform Policy ReviewOverviewReview a policy as a contract: schema, runtime parsing/validation, and observed behavior must align. Produce concrete, action-oriented findings with precise parameter paths and code references. Review ScopeCover these areas unless the user narrows scope:
Workflow
Naming Rules
Schema Best Practices
Output FormatsWhen producing rename sheets (CSV/Markdown):
When producing findings:
Final ChecksBefore finishing:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Policy Parameters Rename Proposal
Starting this thread to review proposed policy parameter renames across gateway policies.
Goals:
These are proposed changes, not final decisions.
Please review with focus on runtime behavior, schema compatibility, migration impact, and backward-compat strategy.
requestHeadersrequest.headersresponseHeadersresponse.headerskeyExtraction[].keysourceKeyOrValueheader/metadatatypes and literal value forconstanttype.costExtraction.sources[].keykeyNamerequestHeadersToFilterrequestrequestHeadersToFilter.operationrequest.moderequestHeadersToFilter.headersrequest.headersrequestobject.responseHeadersToFilterresponseresponseHeadersToFilter.operationresponse.moderesponseHeadersToFilter.headersresponse.headersinkeyLocationinis too terse;keyLocationclearly describes where the API key is expected.keykeyNamekeyNamemore clearly describes that this is the identifier (header/query param name) for the API key.value-prefixvaluePrefixrequest.redactPIIrequest.piiRedactionhateCategoryhateSeverityThresholdsexualCategorysexualSeverityThresholdselfHarmCategoryselfHarmSeverityThresholdviolenceCategoryviolenceSeverityThresholdrequest.min/maxrequest.minBytes/maxBytesresponse.min/maxresponse.minBytes/maxBytesmaxAgemaxAgeSecondsonRequestFlowrequest.enabledrequest/responseobjects for better structure and consistency.onResponseFlowresponse.enabledissuersissuerOrKeyManagerNamesissuerskeyManagerNamesrules[].attribute.namerules[].attribute.identifierresources[].nameresources[].displayNameuriand this field is presentation-oriented.tools[].target/prompts[].target/resources[].targettools[].targetName/prompts[].targetName/resources[].targetUriauthHeaderPrefixauthSchemeuserIdClaimuserIdClaimNamelogRequestPayloadrequest.logPayloadlogRequestHeadersrequest.logHeadersexcludedRequestHeadersrequest.excludedHeaderslogResponsePayloadresponse.logPayloadlogResponseHeadersresponse.logHeadersexcludedResponseHeadersresponse.excludedHeaderssuspendDurationsuspendDurationSecondsrequestModel.identifierrequestModel.keyNameOrPathrequestModelis currently runtime-required but not declared in policy schema.piiEntitiesrequest.entities/response.entitiesrequest/responseand removes redundant "pii" prefix.piiEntitytypepiiRegexregexpromptDecoratorConfigdecorationdecorationobject.promptTemplateConfigtemplatesttlttlSecondsjsonPath/allowedPhrases...request.jsonPath/request.allowedPhrases...requestobject for consistency with other guardrail policies.request.min/maxrequest.minSentences/maxSentencesresponse.min/maxresponse.minSentences/maxSentencescountlimitadvanced-ratelimitpolicy.request.timeoutrequest.timeoutMillisresponse.timeoutresponse.timeoutMillisrequest.onlyDNSrequest.useDnsOnlyrequest.min/maxrequest.minWords/maxWordsresponse.min/maxresponse.minWords/maxWordsBeta Was this translation helpful? Give feedback.
All reactions