Repository Public MIT Research preview
1% MA03-F02 — Architecture « zéro confiance » des outils et des agents.2% Idée : aucun agent ne touche le monde ; il DEMANDE un appel à une passerelle qui ne le croit pas sur parole. Six3% règles s'appliquent dans l'ordre, la première qui tranche décide ; toute décision, refus compris, est journalisée ;4% ce qui revient d'un outil revient comme une DONNÉE, assainie. La confiance ne vient ni du rôle ni du message.5% Source : projet-integrateur/src/atlas_agents/politiques.py et outils.py. Schéma ; les nombres d'outils par classe6% de risque viennent du moteur (MA03-donnees.tex).7\input{MA03-donnees.tex}%8\begin{tikzpicture}[x=1mm, y=1mm]9 \path (0,0) rectangle (142,56);10 % Zone non fiable11 \draw[atlas region] (0,5) rectangle (35,51);12 \node[atlas heading, anchor=north west] at (1.4,50.6) {Non fiable};13 \node[atlas note, anchor=north west] at (1.4,46.2) {agents, et ce qu'ils lisent};14 \node[atlas note, anchor=west, font=\AtlasSizeTiny] at (1.4,13.6) {retour de la passerelle :};15 \node[ma agent, minimum width=28mm, minimum height=7mm] (sup) at (17.5,37.6) {superviseur};16 \node[ma sous agent, minimum width=28mm, minimum height=7mm] (spe) at (17.5,28.6) {spécialiste};17 \node[ma sous agent, minimum width=28mm, minimum height=7mm, draw=maDecision] (ver) at (17.5,19.6) {vérificateur};18 % Passerelle : six règles, dans l'ordre19 \draw[ma frontiere] (38.4,3) -- (38.4,53);20 \draw[ma frontiere] (97.6,3) -- (97.6,53);21 \node[atlas tag=maRisque, anchor=south] at (68,51.4) {PASSERELLE : TOUT APPEL D'OUTIL PASSE ICI};22 \foreach \k/\nom/\quoi in {1/{P1 outil interdit}/{jamais, pour personne}, 2/{P2 moindre privilège}/{selon l'agent},23 3/{P3 portée de la tâche}/{selon le contrat}, 4/{P4 arguments}/{schéma strict}, 5/{P5 quota}/{appels par outil},24 6/{P6 approbation}/{accord d'une personne}}{25 \node[draw=maNeutre, fill=maPanneau, line width=.8pt, minimum width=50mm, minimum height=5.6mm] (p\k) at (70,54.4-6.6*\k) {};26 \node[atlas label, anchor=west, font=\AtlasSizeTiny\bfseries] at (46,54.4-6.6*\k) {\nom};27 \node[atlas note, anchor=east, font=\AtlasSizeTiny] at (94.2,54.4-6.6*\k) {\quoi};}28 \draw[maNeutre, line width=.8pt, -{Stealth[length=4pt,width=3.6pt]}] (42.2,49.6) -- (42.2,13);29 \draw[atlas arrow] (spe.east) -- (38.4,28.6);30 % Journal31 \node[atlas block, minimum width=54mm, minimum height=5.6mm, inner ysep=1pt, font=\AtlasSizeTiny] (jou) at (70,4.2) {journal chaîné : toute décision, refus compris};32 \draw[atlas arrow muted] (p6.south) -- (jou.north);33 % Outils, par classe de risque34 \draw[atlas region] (101,12) rectangle (141.4,51);35 \node[atlas heading, anchor=north west] at (102.4,50.6) {Outils simulés};36 \foreach \k/\nom/\coul in {0/{\textbf{lecture} · \MCOutilsLecture\ outils}/maValide, 1/{\textbf{écriture} · registre}/maActeur,37 2/{\textbf{sensible} · publication}/maDecision, 3/{\textbf{interdite} · coffre, réseau}/maRisque}{38 \node[ma outil, draw=\coul, minimum width=37mm, minimum height=6mm, font=\AtlasSizeTiny] (o\k) at (121.2,40.4-7.8*\k) {\nom};}39 \draw[atlas arrow valid] (97.6,40.4) -- (o0.west);40 \draw[atlas arrow valid] (97.6,32.6) -- (o1.west);41 \draw[atlas arrow, draw=maDecision] (97.6,24.8) -- (o2.west);42 \draw[atlas arrow hazard] (97.6,17) -- (100.4,17);43 \pic[maRisque, scale=.3] at (101.4,17) {atlas cross};44 \MaSilhouette{(106,5.6)}[maDecision]45 \node[atlas note, anchor=west, font=\AtlasSizeTiny] at (109,5.6) {accorde ou refuse};46 % Retours vers l'agent47 \draw[atlas arrow valid, line width=.9pt, dash pattern=on 3pt off 2pt] (38.4,10) -- (31.6,10);48 \draw[atlas arrow hazard, line width=.9pt] (38.4,7) -- (31.6,7);49 \node[atlas note, anchor=east, font=\AtlasSizeTiny, text=maValide, inner sep=1pt] at (31,10) {une donnée, assainie};50 \node[atlas note, anchor=east, font=\AtlasSizeTiny, text=maRisque, inner sep=1pt] at (31,7) {ou un refus motivé};51\end{tikzpicture}52