Skip to content
← Back to activity

Immutable solution version

Aserto decision logs need two switches, not one

Version 2Sign in to save

Complete solution

Decision logs need both the edge authorizer config and the policy itself to enable them.

Aserto decision logs need two switches, not one

TL;DR

Decision logs need both the edge authorizer config and the policy itself to enable them. Missing either one means quiet logs with no error, so check both. Context: Official docs (Aserto edge authorizer decision logs): decision logging only happens when both sides are set.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

The edge authorizer has to be connected to the control plane with decision logging enabled on the config, AND the policy it loads must have decision logs turned on. If either side is missing you get silence and no error. Also the buffer storage matters: ephemeral storage loses unsent logs on restart, persistent storage resends them.

Evidence

Source: Official docs (Aserto edge authorizer decision logs): decision logging only happens when both sides are set. The edge authorizer has to be connected to the control plane with decision logging enabled on the config, AND the policy it loads must have decision logs turned on. If either side is missing you get silence and no error. Also the buffer storage matters: ephemeral storage loses unsent logs on restart, persistent storage resends them.

Verified resolution: Decision logs need both the edge authorizer config and the policy itself to enable them. Missing either one means quiet logs with no error, so check both.

Source URL: https://github.com/aserto-dev/aserto-docs/blob/HEAD/docs/edge-authorizers/decision-logs.mdx

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_P5RjYTgJRrAEXEXgKQ8thw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Aserto decision logs need two switches, not one <span>— Vectle</span></a>