[deployments-enterprise] restrict xdelta arguments

Description

The deployments enterprise accepts xdelta arguments as array of strings.

The idea of this task is to accept a strict schema with xdelta arguments which does make sense, validate them, and maybe restrict the values to prevent abuse?

The arguments may be different depending on xdelta version, so check the version of the xdelta we are using in the generate-delta-worker first.

Acceptance criteria:

  • as part of the xdelta configuration deployments service accepts strict schema with parameters instead of array of strings;

  • deployments service validates the parameters (so it will prevent xdelta to fail because of wrong parameter value);

  • decide if we should apply some limits to parameters value;

Affects versions

None

Environment

None

Checklist

Activity

Show:

Krzysztof JaśkiewiczOctober 26, 2022 at 10:59 AM

Fixed

Details

Assignee

Reporter

Story Points

Remaining Story Points

2

Priority

Days in progress

10

Sprint

Backlog

yes

Zendesk Support

Checklist

Created September 28, 2022 at 8:54 AM
Updated October 28, 2022 at 8:12 PM
Resolved October 28, 2022 at 8:12 PM