DEENESPTFRRUARHIKOZHNL

class ara::idsm::ReportingModeProvider

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.

Header: ara/idsm/reporting_mode_provider.h · Spezifikationselemente: 4

User GuideAI-GENERATED

Serves to query and set reporting modes for configured security events in the IdsM.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 8cb9085d91c7 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves to query and set reporting modes for configured security events in the IdsM.

The class ara::idsm::ReportingModeProvider provides mechanisms to query and set reporting modes for security events in the Intrusion Detection System Manager [SWS_AIDSM_10600]. Instantiation is performed thread-safely via a ara::core::InstanceSpecifier for a modeled PPort [SWS_AIDSM_10601]. At runtime, the methods GetReportingMode and SetReportingMode allow reading as well as modifying the mode of a configured event. Since these methods are not thread-safe, concurrent access must be synchronized externally. For unknown event IDs, the methods return the error IdsmErrc::kUnknownEventId.

Context

The class ara::idsm::ReportingModeProvider is defined in the header ara/idsm/reporting_mode_provider.h and serves within the Adaptive module idsm to provide and dynamically control reporting modes for the Intrusion Detection System Manager (IdsM) [SWS_AIDSM_10600]. In a networked vehicle architecture, the IdsM monitors security events. Via the ReportingModeProvider, applications or responsible platform services can address configured security events in order to determine or define in which way an event shall be reported to the IdsM system. Binding to the architecture is established via a modeled PPort that is specified during instantiation [SWS_AIDSM_10601].

Lifecycle

The class is declared as final [SWS_AIDSM_10600], which excludes inheritance or polymorphic specialization. Creation of an object is performed via the explicit constructor ReportingModeProvider(const ara::core::InstanceSpecifier& instance) [SWS_AIDSM_10601]. Via the parameter instance, the binding to the concrete modeled PPort is established [SWS_AIDSM_10601]. Interpretation: The passed instance specifier presumably refers to the interface deployment configured in the AUTOSAR model for the IdsM service. Question Q-a7c5bdfa7e2ba42b (open)

Regarding concurrency, the constructor is specified as thread-safe (thread-safe) [SWS_AIDSM_10601]. The two operational methods for reading and writing the reporting modes, on the other hand, are expressly marked as not thread-safe (not thread-safe) [SWS_AIDSM_10602], [SWS_AIDSM_10603]. If multiple threads access the same instance of ReportingModeProvider in parallel, the caller must synchronize this access externally. The lifecycle of the instance is typically tied to the lifetime of the consuming application, which creates, manages, and destroys the object after the interaction has ended.

Usage Path

Typical usage is divided into initialization, querying the current state, and adapting the reporting mode as needed.

First, the application instantiates the provider for the intended port specifying the corresponding InstanceSpecifier [SWS_AIDSM_10601]. Subsequently, the current reporting mode for a specific configured event can be queried using the method GetReportingMode [SWS_AIDSM_10602]. The method returns a ara::core::Result<ReportingModeType> that encapsulates the mode or indicates an error that occurred [SWS_AIDSM_10602].

If the security situation or diagnostic configuration requires modification, SetReportingMode is called [SWS_AIDSM_10603]. This call accepts the identifier eventId as well as the new reportingMode and returns a ara::core::Result<void> [SWS_AIDSM_10603]. The application checks the result to ensure successful completion of the configuration change.

Nutzungspfad von ReportingModeProviderApplicationprovider: ReportingModeProviderUse Case: InstanziierungReportingModeProvider(instance)Instanz erzeugtUse Case: Modus abfragenGetReportingMode(eventId)Result<ReportingModeType>Use Case: Modus aktualisierenSetReportingMode(eventId, reportingMode)Result<void>

Sequence diagram: Typical usage path for querying and updating a reporting mode via the provider. Sources: [SWS_AIDSM_10601], [SWS_AIDSM_10602], [SWS_AIDSM_10603]

Error Scenarios

All methods of the class are declared with noexcept [SWS_AIDSM_10601], [SWS_AIDSM_10602], [SWS_AIDSM_10603]. Error handling is therefore performed entirely without C++ exceptions via the AUTOSAR-internal error model ara::core::Result.

Both when retrieving via GetReportingMode [SWS_AIDSM_10602] and when setting via SetReportingMode [SWS_AIDSM_10603], it is required that the passed eventId corresponds to a configured security event. If an unknown event identifier or one not stored in the system is passed, the operation fails and the Result contains the error code IdsmErrc::kUnknownEventId [SWS_AIDSM_10602], [SWS_AIDSM_10603]. Calling components must evaluate the Result prior to accessing the value and initiate appropriate error handling or logging in the event of an error.

This guide is based exclusively on the AUTOSAR specification for the Adaptive module idsm in Release R25-11.

Synopsis

class ReportingModeProvider final {...};

Member map

Detail view

Select an entry in the outline.

Declaration

class ReportingModeProvider final {...};

Constructors and destructor

explicit ReportingModeProvider(const ara::core::InstanceSpecifier& instance) noexcept;

Methods

ara::core::Result<ReportingModeType> GetReportingMode(EventIdType eventId) noexcept;
ara::core::Result<void> SetReportingMode(EventIdType eventId, ReportingModeType reportingMode) noexcept;

Documentation of methods and types

class ReportingModeProvider [SWS_AIDSM_10600]

class ReportingModeProvider final {...};
Headerara/idsm/reporting_mode_provider.h
Upstream-AnforderungRS_Ids_00310

Klasse zum Bereitstellen von Reporting Modes für IdsM.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10600
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10600@rel:R25-11#71b48333
Content hash
71b48333
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10600
Status: valid/unmigrated Version: rel:R25-11#6969c3dc 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_10600@rel:R25-11#6969c3dc
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#71b483332026-09-30
  • R24-11rel:R24-11#3e3d83bb2026-10-14
  • R25-11rel:R25-11#6969c3dc2026-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 ReportingModeProvider [SWS_AIDSM_10601]

explicit ReportingModeProvider(const ara::core::InstanceSpecifier& instance) noexcept;
Headerara/idsm/reporting_mode_provider.h
Upstream-AnforderungRS_Ids_00310
Thread Safetythread-safe

Erstellt einen ReportingModeProvider für den modellierten PPort.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10601
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10601@rel:R25-11#b33ea923
Content hash
b33ea923
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10601
Status: valid/unmigrated Version: rel:R25-11#420eba9f 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_10601@rel:R25-11#420eba9f
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b33ea9232026-09-30
  • R24-11rel:R24-11#5d8a04772026-10-14
  • R25-11rel:R25-11#420eba9f2026-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 GetReportingMode [SWS_AIDSM_10602]

ara::core::Result<ReportingModeType> GetReportingMode(EventIdType eventId) noexcept;
Headerara/idsm/reporting_mode_provider.h
Upstream-AnforderungRS_Ids_00310
Thread Safetynot thread-safe
RückgabeResult<ReportingModeType>; Fehler: IdsmErrc::kUnknownEventId

Liest den Reporting Mode eines konfigurierten Events.

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

Record
AUTOSAR/AP/record/SWS_AIDSM_10602
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10602@rel:R25-11#19fe9b64
Content hash
19fe9b64
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10602
Status: valid/unmigrated Version: rel:R25-11#b485efdd 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_10602@rel:R25-11#b485efdd
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f2ea15a12026-09-30
  • R24-11rel:R24-11#b485efdd2026-10-14
  • R25-11rel:R25-11#b485efdd2026-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 SetReportingMode [SWS_AIDSM_10603]

ara::core::Result<void> SetReportingMode(EventIdType eventId, ReportingModeType reportingMode) noexcept;
Headerara/idsm/reporting_mode_provider.h
Upstream-AnforderungRS_Ids_00310
Thread Safetynot thread-safe
RückgabeResult<void>; Fehler: IdsmErrc::kUnknownEventId

Setzt den Reporting Mode eines konfigurierten Events.

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

The function SetReportingMode is provided via the header ara/idsm/reporting_mode_provider.h and serves to set the reporting mode of a configured security event at runtime [SWS_AIDSM_10603].

Usage and Parameters:

  • eventId (type EventIdType): Designates the identifier of the configured event [SWS_AIDSM_10603].
  • reportingMode (type ReportingModeType): Specifies the reporting mode to be set for the event [SWS_AIDSM_10603].

Since the signature directly returns a ara::core::Result<void> and no asynchronous type, the call is presumably synchronous [SWS_AIDSM_10603]. Question Q-5549fb6428e9ac88 (open)

Error handling and return values:

The result of the operation is returned as ara::core::Result<void> [SWS_AIDSM_10603]:

  • In the case of success, the function returns an empty Result object [SWS_AIDSM_10603].
  • If the passed eventId is not known or not configured, the call fails with the error code IdsmErrc::kUnknownEventId [SWS_AIDSM_10603].

Concurrency and restrictions:

The function is qualified with noexcept and does not throw exceptions [SWS_AIDSM_10603]. Since the specification explicitly identifies SetReportingMode as not thread-safe, synchronization during concurrent calls from multiple threads is likely the responsibility of the caller [SWS_AIDSM_10603]. Question Q-cac27942b29355f2 (open)

This usage note was automatically created based on the specification.

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_10603
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_AIDSM_10603@rel:R25-11#4d20ae7d
Content hash
4d20ae7d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_IntrusionDetectionSystemManager.pdf#nameddest=SWS_AIDSM_10603
Status: valid/unmigrated Version: rel:R25-11#f29b91a5 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_10603@rel:R25-11#f29b91a5
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#b139f5722026-09-30
  • R24-11rel:R24-11#09ee51852026-10-14
  • R25-11rel:R25-11#f29b91a52026-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