Skip to content

Commit 0e2675f

Browse files
Update bug report template to include broker drop-in configuration files
Closes #1358
1 parent 335bac0 commit 0e2675f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,19 @@ body:
127127
\`\`\`
128128
$(sudo cat 2>&1 /var/snap/authd-msentraid/current/broker.conf | sed -E 's/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/<UUID redacted>/g')
129129
\`\`\`
130+
$(sudo sh -c 'for f in /var/snap/authd-msentraid/current/broker.conf.d/*.conf; do [ -f "$f" ] && echo "##### $f" && echo "\`\`\`" && cat "$f" && echo "\`\`\`"; done' 2>/dev/null | sed -E 's/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/<UUID redacted>/g')
130131
131132
#### authd-google configuration
132133
\`\`\`
133134
$(sudo cat 2>&1 /var/snap/authd-google/current/broker.conf | sed -E 's/client_id = .*/client_id = <redacted>/g' | sed -E 's/client_secret = .*/client_secret = <redacted>/g')
134135
\`\`\`
136+
$(sudo sh -c 'for f in /var/snap/authd-google/current/broker.conf.d/*.conf; do [ -f "$f" ] && echo "##### $f" && echo "\`\`\`" && cat "$f" && echo "\`\`\`"; done' 2>/dev/null | sed -E 's/client_id = .*/client_id = <redacted>/g' | sed -E 's/client_secret = .*/client_secret = <redacted>/g')
135137
136138
#### authd-oidc configuration
137139
\`\`\`
138140
$(sudo cat 2>&1 /var/snap/authd-oidc/current/broker.conf | sed -E 's/client_id = .*/client_id = <redacted>/g' | sed -E 's/client_secret = .*/client_secret = <redacted>/g')
139141
\`\`\`
142+
$(sudo sh -c 'for f in /var/snap/authd-oidc/current/broker.conf.d/*.conf; do [ -f "$f" ] && echo "##### $f" && echo "\`\`\`" && cat "$f" && echo "\`\`\`"; done' 2>/dev/null | sed -E 's/client_id = .*/client_id = <redacted>/g' | sed -E 's/client_secret = .*/client_secret = <redacted>/g')
140143
141144
EOF
142145
```

0 commit comments

Comments
 (0)