Crash Pings contain some fields in CrashAnnotations.yaml that are not present in Socorro's raw and processed crash schema or are classified as protected in the current schema. In both cases, this causes those fields to appear in the "Protected data" section of /report/index for Crash Pings, rather than being surfaced correctly as public data. It also blocks correct SuperSearch behavior for Crash Ping queries, since SUPERSEARCH_FIELDS permissions are derived from the schemas. This ticket aligns Socorro's schemas with CrashAnnotations.yaml for Crash Pings. Acceptance Criteria - Every annotation in CrashAnnotations.yaml with `scope: ping` is present in `socorro/schemas/raw_crash.schema.yaml` - Every annotation in CrashAnnotations.yaml with `scope: ping` is present in `socorro/schemas/processed_crash.schema.yaml` - Every scope:ping field in both schemas has `permissions: ["public"]` - Note: there are at least 3 fields in Crash Pings that are currently listed as "protected" that should be moved to "public": `MozCrashReason`, `RemoteType`, and `JavaException`. - Unit tests added or updated for the schema changes. - We could make use of `validate_raw_crash.py` here, but there's no equivalent currently for the processed crash schema.
Bug 2052944 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Crash Pings contain some fields in CrashAnnotations.yaml that are not present in Socorro's raw and processed crash schema or are classified as protected in the current schema. In both cases, this causes those fields to appear in the "Protected data" section of /report/index for Crash Pings, rather than being surfaced correctly as public data. It also blocks correct SuperSearch behavior for Crash Ping queries, since SUPERSEARCH_FIELDS permissions are derived from the schemas. This ticket aligns Socorro's schemas with CrashAnnotations.yaml for Crash Pings. Acceptance Criteria - Every annotation in CrashAnnotations.yaml with `scope: ping` is present in `socorro/schemas/raw_crash.schema.yaml` - Every annotation in CrashAnnotations.yaml with `scope: ping` is present in `socorro/schemas/processed_crash.schema.yaml` - Every scope:ping field in both schemas has `permissions: ["public"]` - Note: there are at least 3 fields in Crash Pings that are currently listed as "protected" that should be moved to "public": `MozCrashReason`, `RemoteType`, and `JavaException`. - Unit tests added or updated for the schema changes. - We could make use of `validate_raw_crash.py` here for the raw crash schema changes.