Public Errors and Internal Diagnostics

A public response should explain the relevant outcome and how to proceed. Internal diagnostics can record technical context appropriate to designated readers.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace an unavailable dependency
  2. Test both audiences

Trace an unavailable dependency

A request to save a note may report temporary unavailability. A diagnostic can record the component and a correlation identifier without placing implementation details in the response. See privacy-aware logging.

Test both audiences

Verify the public message offers useful action and the internal event keeps enough context to investigate. Machine codes and messages clarify which fields should remain stable.[1]

References

  1. NIST SP 800-218, Secure Software Development Framework ↩