DEENESPTFRRUARHIKOZHNL

namespace ara::idsm

Diese Seite wurde vollständig KI-generiert auf Basis von SWS IntrusionDetectionSystemManager (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.

User GuideAI-GENERATED

Provides interfaces and types to report security-relevant events to the IdsM in a standardized manner.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 79f9927c6ea2 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides interfaces and types to report security-relevant events to the IdsM in a standardized manner.

The namespace ara::idsm provides standardized interfaces and types with which adaptive applications report security events to the Intrusion Detection System Management in a structured manner ([SWS_AIDSM_10205]). Via the EventReporter and associated providers for timestamps, context data, and transmission modes, incidents can be recorded in detail or in filtered form ([SWS_AIDSM_10207]). For unknown event identifiers, the IdsmErrorDomain provides targeted error codes for further handling.

Context

The namespace ara::idsm provides the application programming interface of the AUTOSAR Adaptive Platform for Intrusion Detection System Management (IdsM). Its central task is to capture security-relevant events (security events) from application processes and platform instances in a standardized manner and forward them to the higher-level IdsM.

The primary interaction interface for reporting applications is formed by the class EventReporter. This capturing is accompanied by specialized functional interfaces: The ReportingModeProvider manages the current transmission mode ([SWS_AIDSM_10207]), the ContextDataProvider provides dynamic accompanying data ([SWS_AIDSM_10201], [SWS_AIDSM_10206]), and the TimestampProvider contributes timing information ([SWS_AIDSM_10202]). On the receiver side, the QualifiedEventsReceiver processes already qualified events. The interplay of these roles connects adaptive applications to security-oriented monitoring.

idsm_kontext app Adaptive Anwendung (Security Sensor) idsm_api ara::idsm (EventReporter, Provider, Receiver) app->idsm_api Meldet Events idsm_api->app Transmits qualified events idsm_daemon Intrusion Detection System Manager (IdsM) idsm_api->idsm_daemon Transmits security events idsm_daemon->idsm_api Konfiguriert Melde-Modus

Context diagram: Interplay of application components, ara::idsm interfaces, and IdsM. Sources: [SWS_AIDSM_10205], [SWS_AIDSM_10207]

Usage Path

A typical sequence for signaling a security event is divided into querying the reporting state, assembling relevant context information, and transmitting it to the EventReporter.

Before reporting an event, the application queries the active reporting mode via the ReportingModeProvider ([SWS_AIDSM_10207]). The enumeration ReportingModeType distinguishes, among others, between disabled transmission (kOff), compact messages (kBrief), detailed reports (kDetailed), and modes that bypass local filter rules (kBriefBypassingFilters, kDetailedBypassingFilters). If reporting is not disabled, the application prepares the payload. An identifier of type EventIdType serves as the event ID ([SWS_AIDSM_10205]). For further analysis, the ContextDataProvider provides mutable context data as a byte span ContextDataType ([SWS_AIDSM_10201]) or as a versioned pair VersionedContextDataType including a version counter ([SWS_AIDSM_10206]). In addition, a counter of type CountType ([SWS_AIDSM_10203]) for prequalified events and a timestamp of type TimestampType ([SWS_AIDSM_10202]) via the TimestampProvider can be included. Finally, the application passes the data to the EventReporter.

Sequence of reporting a security eventApplicationReportingModeProviderContextDataProviderEventReporterMelde-Modus abfragenReturn ReportingModeTypealtReportingModeType != kOffKontextdaten abrufenVersionedContextDataTypeEvent melden (EventIdType, ContextDataType)Ergebnis / Fehlercode (IdsmErrc)ReportingModeType == kOffMeldung verwerfen

Sequence diagram: Call sequence for checking reporting status and transmitting a security event. Sources: [SWS_AIDSM_10201], [SWS_AIDSM_10205], [SWS_AIDSM_10207]

Error Scenarios

Erroneous operations within namespace ara::idsm are signaled via the error domain IdsmErrorDomain and error code type IdsmErrc ([SWS_AIDSM_10204]). For standard-compliant error handling, functions GetIdsmErrorDomain ([SWS_AIDSM_10702]) and MakeErrorCode ([SWS_AIDSM_10703]) exist, which allow thread-safe construction of ara::core::ErrorCode instances.

A central error scenario occurs when an unknown event ID is used. In this case, the system reports the error IdsmErrc::kUnknownEventId ([SWS_AIDSM_10204]). This occurs when a caller passes an identifier of type EventIdType that is not known to the IdsM or not configured in the manifest. In synchronous interfaces with exception handling, this state is represented by class IdsmException. A prerequisite for every successful report is therefore that the passed EventIdType values match the IdsM configuration.

This guide is based exclusively on the specifications of AUTOSAR Release R25-11.

Topic map

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

Detail view

Select an entry in the outline.

Ereignisverarbeitung

Meldet Security Events an IdsM.

Empfängt qualifizierte Ereignisse.

CountType type alias
using CountType = std::uint16_t;
EventIdType type alias
using EventIdType = std::uint16_t;

Kontextdaten

Stellt veränderbare Kontextdaten für IdsM bereit.

ContextDataType type alias
using ContextDataType = ara::core::Span<const std::uint8_t>;
using VersionedContextDataType = std::pair<ContextDataType, std::uint16_t>;

Zeitstempel

Stellt optionale Zeitstempel bereit.

TimestampType type alias
using TimestampType = std::uint64_t;

Meldemodus

Liest und setzt Reporting Modes.

ReportingModeType enumeration
enum class ReportingModeType : std::uint8_t { kOff, kBrief, kDetailed, kBriefBypassingFilters, kDetailedBypassingFilters };

Fehlerbehandlung

Fehlerdomäne für ara::idsm.

Exception-Typ für ara::idsm.

constexpr const ara::core::ErrorDomain& GetIdsmErrorDomain() noexcept;
MakeErrorCode function
constexpr ara::core::ErrorCode MakeErrorCode(ara::idsm::IdsmErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;
IdsmErrc enumeration
enum class IdsmErrc : ara::core::ErrorDomain::CodeType { kUnknownEventId = 3 };

Enumerations

enumeration ReportingModeType [SWS_AIDSM_10207]

enum class ReportingModeType : std::uint8_t { kOff, kBrief, kDetailed, kBriefBypassingFilters, kDetailedBypassingFilters };
Headerara/idsm/common.h

Enumeration der Melde-Modi.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10207
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10207@rel:R25-11#94f7a605
Content hash
94f7a605
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10207
Status: valid/unmigrated Version: rel:R25-11#dff46ac3 Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10207@rel:R25-11#dff46ac3
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#94f7a6052026-09-30
  • R24-11rel:R24-11#be3fd95a2026-10-14
  • R25-11rel:R25-11#dff46ac32026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

enumeration IdsmErrc [SWS_AIDSM_10204]

enum class IdsmErrc : ara::core::ErrorDomain::CodeType { kUnknownEventId = 3 };
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00130, RS_AP_00122, RS_AP_00127

Fehlercodes der IdsmErrorDomain.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 58b3761a5fdb Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and purpose

The enumeration IdsmErrc represents the error codes of the IdsM error domain (header ara/idsm/idsm_error_domain.h) and is based on the base type ara::core::ErrorDomain::CodeType [SWS_AIDSM_10204]. For compact handling in client applications, AUTOSAR provides the type-identical alias Errc [SWS_AIDSM_10707]. The function MakeErrorCode serves for integration into the standardized error handling model of AUTOSAR Adaptive: It converts an error code together with vendor-specific supplementary data (SupportDataType) into an ara::core::ErrorCode object with noexcept [SWS_AIDSM_10703].

Error Codes and Interaction

The specification defines the concrete error value:

  • kUnknownEventId = 3: Signals that a passed eventId is not known to the Intrusion Detection System Manager as a configured security event [SWS_AIDSM_10204].

This code is conveyed in synchronous interfaces as an error state within the return type ara::core::Result. Both querying the reporting mode via GetReportingMode [SWS_AIDSM_10602] and updating it via SetReportingMode [SWS_AIDSM_10603] fail with IdsmErrc::kUnknownEventId if an unconfigured event is addressed. Interpretation: Due to the explicit assignment of value 3, values 1 and 2 are presumably reserved for internally or future-used error states of the domain. Question Q-374e315b0ea6d0c7 (open)

Concurrency and Limitations

The helper function MakeErrorCode for creating error objects is thread-safe and designated as constexpr [SWS_AIDSM_10703]. In contrast, the operational functions of reporting_mode_provider.h that return these error states (GetReportingMode [SWS_AIDSM_10602] and SetReportingMode [SWS_AIDSM_10603]) are explicitly declared as not thread-safe. Concurrent calls must therefore be synchronized by the caller.

This text was generated by an AI based on the specification documents.

Implementer's Guide to follow (complexity I1)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10204
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10204@rel:R25-11#693b2e61
Content hash
693b2e61
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10204
Status: valid/unmigrated Version: rel:R25-11#13e7a36c Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10204@rel:R25-11#13e7a36c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#693b2e612026-09-30
  • R23-11rel:R23-11#e8bd68a92026-10-14
  • R24-11rel:R24-11#cd8df1812026-10-14
  • R25-11rel:R25-11#13e7a36c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Type aliases

type alias ContextDataType [SWS_AIDSM_10201]

using ContextDataType = ara::core::Span<const std::uint8_t>;
Headerara/idsm/common.h

Kontextdaten zur Übergabe an IdsM.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10201
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10201@rel:R25-11#0512ae3d
Content hash
0512ae3d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10201
Status: valid/unmigrated Version: rel:R25-11#4fce0afa Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10201@rel:R25-11#4fce0afa
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#0512ae3d2026-09-30
  • R20-11rel:R20-11#4b6a57072026-10-14
  • R21-11rel:R21-11#4b6a57072026-10-14
  • R22-11rel:R22-11#c77fa2c12026-10-14
  • R23-11rel:R23-11#4c6918d12026-10-14
  • R24-11rel:R24-11#4fce0afa2026-10-14
  • R25-11rel:R25-11#4fce0afa2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias CountType [SWS_AIDSM_10203]

using CountType = std::uint16_t;
Headerara/idsm/common.h

Optionaler Zähler für vorqualifizierte Ereignisvorkommen.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10203
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10203@rel:R25-11#90e7e5da
Content hash
90e7e5da
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10203
Status: valid/unmigrated Version: rel:R25-11#ac4a6b12 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10203@rel:R25-11#ac4a6b12
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#90e7e5da2026-09-30
  • R20-11rel:R20-11#6ccaf6f12026-10-14
  • R21-11rel:R21-11#6ccaf6f12026-10-14
  • R22-11rel:R22-11#b41f73d32026-10-14
  • R23-11rel:R23-11#74c0f2a12026-10-14
  • R24-11rel:R24-11#74c0f2a12026-10-14
  • R25-11rel:R25-11#ac4a6b122026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias EventIdType [SWS_AIDSM_10205]

using EventIdType = std::uint16_t;
Headerara/idsm/common.h

Typ einer Ereignis-ID.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10205
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10205@rel:R25-11#bf8a2034
Content hash
bf8a2034
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10205
Status: valid/unmigrated Version: rel:R25-11#dac07242 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10205@rel:R25-11#dac07242
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#bf8a20342026-09-30
  • R23-11rel:R23-11#dac072422026-10-14
  • R24-11rel:R24-11#c046b6272026-10-14
  • R25-11rel:R25-11#dac072422026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias TimestampType [SWS_AIDSM_10202]

using TimestampType = std::uint64_t;
Headerara/idsm/common.h

Optionaler sensorspezifischer Zeitstempeltyp.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10202
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10202@rel:R25-11#ff18bc23
Content hash
ff18bc23
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10202
Status: valid/unmigrated Version: rel:R25-11#a57229f2 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10202@rel:R25-11#a57229f2
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#ff18bc232026-09-30
  • R20-11rel:R20-11#7c87d6bf2026-10-14
  • R21-11rel:R21-11#1d09e5db2026-10-14
  • R22-11rel:R22-11#fe26fdd52026-10-14
  • R23-11rel:R23-11#a57229f22026-10-14
  • R24-11rel:R24-11#a57229f22026-10-14
  • R25-11rel:R25-11#a57229f22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

type alias VersionedContextDataType [SWS_AIDSM_10206]

using VersionedContextDataType = std::pair<ContextDataType, std::uint16_t>;
Headerara/idsm/common.h

Versionierte Kontextdaten für IdsM.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10206
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10206@rel:R25-11#0f8403ff
Content hash
0f8403ff
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10206
Status: valid/unmigrated Version: rel:R25-11#fb380948 Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10206@rel:R25-11#fb380948
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#0f8403ff2026-09-30
  • R24-11rel:R24-11#fb3809482026-10-14
  • R25-11rel:R25-11#fb3809482026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentation of free functions

function GetIdsmErrorDomain [SWS_AIDSM_10702]

constexpr const ara::core::ErrorDomain& GetIdsmErrorDomain() noexcept;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00130
Thread Safetythread-safe
Rückgabeconst ara::core::ErrorDomain&

Liefert die IdsmErrorDomain.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10702
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10702@rel:R25-11#d730631e
Content hash
d730631e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10702
Status: valid/unmigrated Version: rel:R25-11#6f8411ca Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10702@rel:R25-11#6f8411ca
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2184fd6c2026-09-30
  • R24-11rel:R24-11#6f8411ca2026-10-14
  • R25-11rel:R25-11#6f8411ca2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function MakeErrorCode [SWS_AIDSM_10703]

constexpr ara::core::ErrorCode MakeErrorCode(ara::idsm::IdsmErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;
Headerara/idsm/idsm_error_domain.h
Upstream-AnforderungRS_AP_00120, RS_AP_00121, RS_AP_00130
Thread Safetythread-safe
Rückgabeara::core::ErrorCode

Erzeugt einen ErrorCode aus IdsmErrc und SupportData.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_AIDSM_10703
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10703@rel:R25-11#c506d506
Content hash
c506d506
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10703
Status: valid/unmigrated Version: rel:R25-11#3a30bc7a Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_AIDSM_10703@rel:R25-11#3a30bc7a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#c506d5062026-09-30
  • R24-11rel:R24-11#3a30bc7a2026-10-14
  • R25-11rel:R25-11#3a30bc7a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill