Closed Bug 746003 Opened 13 years ago Closed 11 years ago

use metlog for CEF logging of auth failures in mozsvc

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: telliott, Assigned: rfkelly)

References

Details

(Whiteboard: [qa?])

Attachments

(1 file)

There aren't a lot of points that the sync/aitc server needs to do security logging - most of those are now in the purview of BID. However, I suspect that submitting a token with a bad signature (as opposed to an expired one) should raise a flag somewhere. We will need to continue to support CEF through metlog in some fashion, so that gives us a good single point to do some poking at.
Whiteboard: [qa?]
This will be simple to add into mozsvc once Bug 753117 lands.
Depends on: 753117
This patch copies the approach taken in the old auth system, directly calling log_cef() when there is an auth failure. :RaFromBRC what's the situation with CEF logging in metlog? Should I modify this patch to call into metlog, or leave it as-is for now and rework it for metlog in a later version?
Attachment #637755 - Flags: review?(telliott)
Attachment #637755 - Flags: review?(telliott) → review+
Initial patch committed in https://github.com/mozilla-services/mozservices/commit/d621720a8f933201ab1f01fabe889f6e4e27dbfe I'm morphing this into a "do CEF logging through metlog" bug since that seems like the logical next step.
Assignee: rfkelly → rmiller
Summary: Add CEF touchpoint on badly signed auth token → use metlog for CEF logging of auth failures
Assignee: rmiller → rfkelly
Adding Bug 784926 as a dependency, because I'll just copy whatever plugin-loading approach we take there.
Depends on: 784926
Summary: use metlog for CEF logging of auth failures → use metlog for CEF logging of auth failures in mozsvc
s/metlog/heka/g so we don't need this any longer
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
+1 for heka
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: