From 9150d2d2d8973a2faca41da448bd172a64f09761 Mon Sep 17 00:00:00 2001
From: chubtub <43381989+chubtub@users.noreply.github.com>
Date: Wed, 26 Jan 2022 17:41:58 -0500
Subject: [PATCH] Add link to Base RIM

---
 .../src/main/webapp/WEB-INF/jsp/tpm-events.jsp         | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/tpm-events.jsp b/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/tpm-events.jsp
index c9551bb3..364fbcf1 100644
--- a/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/tpm-events.jsp
+++ b/HIRS_AttestationCAPortal/src/main/webapp/WEB-INF/jsp/tpm-events.jsp
@@ -25,6 +25,7 @@
                         <th>Event Type</th>
                         <th>PCR Index</th>
                         <th>Digest Value</th>
+                        <th>Base RIM</th>
                     </tr>
                 </thead>
             </table>
@@ -48,7 +49,14 @@
                             searchable:false},
                         {data: 'digestValue',
                             orderable: false,
-                            searchable:false}
+                            searchable:false},
+                        {data: 'baseRimId',
+                            orderable: false,
+                            searchable: false,
+                            render: function(data, type, full, meta) {
+                                return rimDetailsLink(full.baseRimId);
+                            }
+                        }
                     ];
 
                 //Set data tables