Skip to content

Commit 192ea8b

Browse files
lpcoxCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 22a45e0 commit 192ea8b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

pkg/workflow/sandbox.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ type SandboxConfig struct {
4646

4747
// AgentSandboxConfig represents the agent sandbox configuration
4848
type AgentSandboxConfig struct {
49-
ID string `yaml:"id,omitempty"` // Agent ID: "awf" or "srt" (replaces Type in new object format)
50-
Type SandboxType `yaml:"type,omitempty"` // Sandbox type: "awf" or "srt" (legacy, use ID instead)
51-
Version string `yaml:"version,omitempty"` // AWF version override used to install and run the matching firewall version
52-
Platform string `yaml:"platform,omitempty" json:"platform,omitempty"` // AWF platform.type override (github.com, ghes, ghec, ghec-self-hosted)
53-
Disabled bool `yaml:"-"` // True when agent is explicitly set to false (disables firewall). This is a runtime flag, not serialized to YAML.
49+
ID string `yaml:"id,omitempty"` // Agent ID: "awf" or "srt" (replaces Type in new object format)
50+
Type SandboxType `yaml:"type,omitempty"` // Sandbox type: "awf" or "srt" (legacy, use ID instead)
51+
Version string `yaml:"version,omitempty"` // AWF version override used to install and run the matching firewall version
52+
Platform string `yaml:"platform,omitempty"` // AWF platform.type override (github.com, ghes, ghec, ghec-self-hosted)
53+
Disabled bool `yaml:"-"` // True when agent is explicitly set to false (disables firewall). This is a runtime flag, not serialized to YAML.
5454
DisableReason string `yaml:"-"` // Operator-authored justification from dangerously-disable-sandbox-agent feature; available for diagnostics and audit logging.
5555
Config *SandboxRuntimeConfig `yaml:"config,omitempty"` // Custom SRT config (optional)
5656
Command string `yaml:"command,omitempty"` // Custom command to replace AWF or SRT installation

0 commit comments

Comments
 (0)