Name files predictably
Predictable filenames let another operator relate a note to a case and version. Names should describe what was captured without embedding secrets or sensitive user content.
Understand the pattern
Predictable filenames let another operator relate a note to a case and version. Names should describe what was captured without embedding secrets or sensitive user content.
Interpret the evidence
Use the case identifier and artifact type, not a secret, in the filename.
A tempting mistake
Putting a secret in the filename is safe because file contents are redacted.
All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.
Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-cli-workspace-005.json{
"fixture": "Fictional training data; not a live measurement.",
"good_name": "latency-case-014.json",
"bad_name": "api-token-example-secret.txt",
"case_id": "014"
}Exit status: 0. The command completed successfully in the training fixture.
$ jq .good_name /opt/ai-lab/cases/aiops-cli-workspace-005.json"latency-case-014.json"
Exit status: 0. The command completed successfully in the training fixture.
$ printf '%s\n' 'name-by-case' > /home/learner/lab/aiops-cli-workspace-005-decision.txt(no output; exit 0)
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Compare a configuration copyTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.
Keep learning
- 01Protect local configurationConfiguration containing credentials needs an appropriate local permission boundary. In this exercise mode 600 gives the owner read/write access and no group or other access.Practice
- 02Compare a configuration copyCompare the intended configuration with the candidate before activation. A one-line change can still alter behavior substantially, so read the value and its context.Practice
- 03Search without exposing secretsSearching logs should minimize unnecessary disclosure. Select the needed fields and redact credentials before sharing an evidence bundle.Practice