Skip to content

Commit 26ff91e

Browse files
authored
monitor: don’t expose jitconfig token in API (#68)
there’s no reason to expose these values, and doing so may make us vulnerable to rogue runners.
1 parent f5c1141 commit 26ff91e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

monitor/src/runner.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ pub struct Runner {
3535
registration: Option<ApiRunner>,
3636
guest_name: Option<String>,
3737
ipv4_address: Option<Ipv4Addr>,
38+
#[serde(skip)]
3839
github_jitconfig: Option<String>,
3940
details: RunnerDetails,
4041
}

0 commit comments

Comments
 (0)