Repository navigation
Conversation
|
During todays SSF WG call @identitymonk noted that the meaning "txn" claim is somewhat loosely defined at the moment so we should probably avoid using it to denote or carry a workload identifier in the examples. But I think a "workload" component as part of a complex subject is generic enough to apply it to many different use-cases. |
|
Also I think this should target a SSF 1.1 version of the document. I think @mike-kiser-sp got some approval today to finally merge #310. Once the 1.1 document exists I suggest to apply the change against that document. |
|
I wonder if it also would make sense to have an additional "transaction" member in the ComplexSubject to allow folks to target a specific txn - whatever that means for the respective platform. |
I am not clear on which event you would be targeting with "transaction" as a subject. |
I don't want to target an event, but a specific logical transaction; for example, some events might be raised during the execution of a workflow or a business transaction that spans multiple hops/services. This logical transaction might have an identifier, and I want to correlate all SSF events generated during this workflow. |
I was thinking about submitting this PR for a while, and in today's SSWG call @thomasdarimont raised this topic
The use case: a user starts an agent task and gets a txn value. When the task finishes, the Transmitter wants to send session-revoked for that workload only.
The current Subject Identifier formats can already express this. The missing piece is a named member in the complex format that tells the Receiver the identifier refers to an agent or workload, and not to a user or device.
Examples
A workload alone, using a workload identifier:
If the Receiver can tell from context that the subject is a workload, a simple uri subject also works:
A specific run of a workload. The session member carries the txn value as an opaque identifier, so a
session-revokedevent applies to that run only: