Specification of Intrusion Detection System Manager, No.977, CP, AUTOSAR R22-11, CP, 20230421

AUTOSARは自動車用OSの業界団体規格です。　
業務で利用する場合には、会員になることを条件にしています。

2002年から20年経ち、当初の狙いの段階に近づいてきました。

MATLABでモデルさえ記述すれば、あとは自動生成だけでソフトが完成するところまで、あと一歩です。
Ethernet, UNIXが生まれて20年で大衆化したのと同じように考えると分かりやすいでしょう。　

AUTOSARの上で動く、クラウド対応のミドルウェアが出て、開発も運用もクラウドになれば、一気にAUTOSARは大衆化するでしょう。

AUTOSAR Abstract Platformへの道 R22-11

https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

 ＜この記事は書きかけです。順次追記します。＞
 This article is not completed. I will add some words in order.


# 2023年4月URL変更
この項は2023年4月21日、AUTOSARの文書のURLが変更になった。
/classic/22-11/
が
/R22-11/CP/
過去記事で、URLでエラーが出たら書き換えてみてください。

/adaptive/22-11/
は　
/R22-11/AP/

/foundation/22-11/
は　
/R22-11/FO/
です。
## 2023年11月URL変更
2023年11月にもAUTOSAR文書のURLが変更になっている。
/user_upload/standards/classic/21-11/
を
/standards/R21-11/CP/
などに書き換えてください。

/user_upload/standards/adaptive/21-11/
を
/standards/R21-11/AP/

/user_upload/standards/foundation/21-11/
を
/standards/R21-11/FO/

お手数をおかけします。
１年に２度URLを変更するなんて、新しい記事が書ける。とても嬉しい。

# 一覧

AUTOSAR R22-11 Qiita記事一覧 20230421 。

https://qiita.com/kaizen_nagoya/items/81a35774f1aa3d64d3f6

この記事の表題の最後に「20230421」を加えます。

AUTOSARが、2022年の版、R22-11を公開しました。

https://www.autosar.org/fileadmin/standards/R22-11/CP/AUTOSAR_SWS_IntrusionDetectionSystemManager.pdf

R21-11

https://www.autosar.org/fileadmin/standards/R21-11/CP/AUTOSAR_SWS_IntrusionDetectionSystemManager.pdf

R20-11

https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_IntrusionDetectionSystemManager.pdf

R19-11

https://www.autosar.org/fileadmin/standards/R19-11/CP/AUTOSAR_SWS_IntrusionDetectionSystemManager.pdf

https://www.autosar.org/

文書は検索してダウンロードできます。

R20-11,R21-11, R22-11の３年分だけになりました。

公開行事の模様は

AUTOSAR R22-11 Release Event 20221208

https://qiita.com/kaizen_nagoya/items/18471d0b340480fdcd42

Classic Platform Release Overview, AUTOSAR No.0 ,R22-11, CP, 20230421

https://qiita.com/kaizen_nagoya/items/9d22c8722cbc0f42b137

Foundation Release Overview, AUTOSAR, 781, R22-11, FO, 20230421

https://qiita.com/kaizen_nagoya/items/596a7e2ec86913daa3c2

Adaptive Platform Release Overview, AUTOSAR 782, R22-11, AP, 20230421

https://qiita.com/kaizen_nagoya/items/fc8e02e8cb07411dbc2a

# 要求仕様対応(Requirement and Specification)
# Abstract Platformとの関係
RS統合

<この項は書きかけです。順次追記します。>

## 文書変更(Document Change) 

>• Security Events - Added additional context data
• Added SWS_IdsM_01034

## 用語(terms)

|Term|Description|
|:--|:--|
|API |Application Programming Interface
|BSW |Basic Software
|BswM |Basic Software Mode Manager
|CDD |Complex Device Driver
|Classic Platform |AUTOSAR Classic Platform
|Csm |Crypto Service Manager
|Dcm |Diagnostic Communication Manager
|Dem |Diagnostic Event Manager module
|DET| Default Error Tracer
|ECU |Electronic Control Unit
|ECUC| ECU configuration
|ID |Identifier
|IDS| Intrusion Detection System
|IdsM |Intrusion Detection System Manager
|IdsR |Intrusion Detection System Reporter
|IF |Interface
|MCU| Microcontroller Unit
|NvM |Non-volatile memory
|NVRAM |Non-volatile random access memory
|OEM |Original Equipment Manufacturer
|PDU| Protocol Data Unit
|PDU ID |PDU Identifier
|PduR |PDU Router
|QSEv |Qualified Security Event
|RTE |Runtime Environment
|SecXT |Security Extract
|Sem| Security Event Memory
|SEv| On-board Security Event
|StbM |Synchronized Time-Base Manager
|SW-C| Software Component
|SOC| Security Operation Center
|TP |Transport Protocol
|Context Data Buffer |Buffer with variable sizes to fit to the needs of the context data of the SEvs.
|Context Data| Relevant information to a SEv. It is optional data that provides a broader understanding of the security event (e.g. the corrupted data ). The content and encoding of the context data is externally defined by the sensor and unknown to the IdsM module.
|Event Buffer |Buffer to temporarily store the reported SEv IDS.
|Filter |A modifier of the security events which can drop or alter an incoming SEv.
|Filter Chain |One configured sequence of filters.
|IdsM block state|State reported by the BswM via IdsM_BswM_StateChanged. The states are used to suspend the collection of security events.
|Intrusion Detection System Manager|The Intrusion Detection System Manager handles security events reported by security sensors.
|IdsR |The IdsR is an OEM specific adaptive application that can be used to further propagate the QSEvs to the SOC.
|Qualified Security Event (QSEv)| Events that have passed their corresponding filter chain and are sent to the configured sink.
|Security Event (SEv) |On-board Security Events are instances of security event types which are reported by BSW or SW-C to the IdsM. They are structured data originating from a sensor which serve as fundamental input and output data format for filters. These reported events to the IdsM that are indicative of an ongoing attack or are somehow suited to assess the security state of the vehicle. This means that events can occur during the normal operation without any ongoing attack.
|Security Event Type| A security event type can be identified by its security event type ID. Instances of security event types are called security events and share the same security event type ID.
|Sem |Security event memory is a Dem Module user defined memory which is separated from the Dem’s primary memory.
|Sensor |Reporting identity that informs the IdsM module about SEvs. It can be a BSW Module, a proprietary CDD or an SW-C Application.
|Sink |Destination of a QSEv. Depending on the configuration the QSEv can be persisted, propagated or both.
|Timestamp Provider |Service or SW-Component which provides a TimeStamp. e.g. in CP Stbm.

## 英日単語帳
日本語は仮訳

T.B.D.

## 参考(reference)

[1] Requirements on Intrusion Detection System
AUTOSAR_RS_IntrusionDetectionSystem
[2] Glossary, AUTOSAR_TR_Glossary
https://www.autosar.org/fileadmin/standards/R22-11/FO/AUTOSAR_TR_Glossary.pdf
[3] General Specification of Basic Software Modules
AUTOSAR_SWS_BSWGeneral
[4] Specification of Intrusion Detection System Protocol
AUTOSAR_PRS_IntrusionDetectionSystem
[5] Standardized M1 Models used for the Definition of AUTOSAR
AUTOSAR_MOD_GeneralDefinitions
[6] Security Extract Template
AUTOSAR_TPS_SecurityExtractTemplate
[7] General Requirements on Basic Software Modules
AUTOSAR_SRS_BSWGenera


 
# 関連文書(Related document)

AUTOSAR Abstract Platformへの道 R22-11

https://qiita.com/kaizen_nagoya/items/8ac2826635a8c536c7ec

自動車　記事　１００

https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Basic principles, ボッシュ自動車handbook(英語)11版まとめ<2>

https://qiita.com/kaizen_nagoya/items/24a1ba5da3d09b2a95d1

JAXA/IPA クリティカルソフトウェアワークショップ WOCS言語関連発表(改定版)

https://qiita.com/kaizen_nagoya/items/4789832baf494cb74626

CAN(controller area network) 

https://qiita.com/kaizen_nagoya/items/e8c0bd7bfb2827b83de9

「はじめてのCAN/CANFD 」 ベクタージャパン ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/1fee270be00ef90ca4ec


三方良し　Udemy 車載LAN入門講座 CAN通信編

https://qiita.com/kaizen_nagoya/items/bed038c52510fea72c0a


詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(1) 著者　 ＜エンジニア夏休み企画 読書感想文＞

https://qiita.com/kaizen_nagoya/items/e9971698a108c3dba794

詳解 車載ネットワーク CAN, CAN FD, LIN, CXPI, Ethernetの仕組みと設計のために(2)参考文献 ＜エンジニア夏休み企画>【読書感想文】

https://qiita.com/kaizen_nagoya/items/e156cbdd5fce9263776e

詳解 車載ネットワーク CAN、CAN FD、LIN、CXPI、Ethernetの仕組みと設計のために

https://qiita.com/kaizen_nagoya/items/44a9e6b0f5363b4a5b35

 ＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong. 

# 文書履歴(document history)
ver. 0.01 初稿　　20230813

### 最後までおよみいただきありがとうございました。

いいね　💚、フォローをお願いします。

####  Thank you very much for reading to the last sentence.

Please press the like icon 💚　and follow me for your happy life.