Skip to content

Commit f48451f

Browse files
committed
fix(agentic-workflow): rename governance field to IP allow list
1 parent 4f808e5 commit f48451f

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

libs/domains/services/feature/src/lib/service-creation-flow/agentic-workflow/agentic-workflow-configuration.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -764,11 +764,11 @@ export function AgenticWorkflowConfiguration() {
764764

765765
<AgenticWorkflowSection section="governance" iconName="shield-halved" invalid={sectionInvalid.governance}>
766766
<InputTextArea
767-
name="whitelist-hosts"
768-
label="Whitelist hosts"
769-
value={values.whitelistHosts}
770-
hint="Enter domains separated by commas. Example: api.github.com, jira.company.com. Hosts from configured connectors are automatically whitelisted."
771-
onChange={(event) => form.setValue('whitelistHosts', event.currentTarget.value, { shouldDirty: true })}
767+
name="ip-allow-list"
768+
label="IP allow list"
769+
value={values.ipAllowlist}
770+
hint="Enter IPs or CIDR ranges separated by commas. Example: 203.0.113.10, 198.51.100.0/24."
771+
onChange={(event) => form.setValue('ipAllowlist', event.currentTarget.value, { shouldDirty: true })}
772772
/>
773773
<CodeEditorField
774774
name="claude-config"

libs/domains/services/feature/src/lib/service-creation-flow/agentic-workflow/agentic-workflow-context.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export interface AgenticWorkflowFormData {
6666
gitRepositories: AgenticWorkflowGitRepository[]
6767
modelApiKey: string
6868
modelSettingsJson: string
69-
whitelistHosts: string
69+
ipAllowlist: string
7070
claudeConfigJson: string
7171
dockerFragment: string
7272
outputs: AgenticWorkflowOutput[]
@@ -113,7 +113,7 @@ export function AgenticWorkflowCreationFlow({ children, creationFlowUrl, onExit
113113
gitRepositories: [],
114114
modelApiKey: '',
115115
modelSettingsJson: DEFAULT_MODEL_SETTINGS,
116-
whitelistHosts: '',
116+
ipAllowlist: '',
117117
claudeConfigJson: DEFAULT_CLAUDE_CONFIG,
118118
dockerFragment: '',
119119
outputs: [],

libs/domains/services/feature/src/lib/service-creation-flow/agentic-workflow/agentic-workflow-summary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function AgenticWorkflowSummary() {
134134
</SummarySection>
135135

136136
<SummarySection title="Governance" onEdit={() => handleEditSection('governance')}>
137-
<SummaryValue label="Whitelist hosts" value={values.whitelistHosts || undefined} />
137+
<SummaryValue label="IP allow list" value={values.ipAllowlist || undefined} />
138138
<SummaryValue label="Claude configuration" value={truncateSummary(values.claudeConfigJson)} />
139139
</SummarySection>
140140

libs/domains/services/feature/src/lib/service-creation-flow/agentic-workflow/use-create-agentic-workflow.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function parseHeaders(headersJson: string): AgenticWorkflowHeader[] {
2020
.map(([name, value]) => ({ name, value }))
2121
}
2222

23-
function formatWhitelistHosts(value: string) {
23+
function formatIpAllowlist(value: string) {
2424
return value
2525
.split(',')
26-
.map((host) => host.trim())
26+
.map((entry) => entry.trim())
2727
.filter(Boolean)
2828
}
2929

@@ -39,7 +39,7 @@ export function formatAgenticWorkflowRequest(values: AgenticWorkflowFormData): A
3939
return {
4040
name: values.name,
4141
description: values.description,
42-
whitelist_hosts: formatWhitelistHosts(values.whitelistHosts),
42+
whitelist_hosts: formatIpAllowlist(values.ipAllowlist),
4343
model_settings: values.modelSettingsJson,
4444
docker_fragment: values.dockerFragment,
4545
enabled: values.workflowEnabled,

0 commit comments

Comments
 (0)