Skip to content

Commit

Permalink
Added attribution (#515)
Browse files Browse the repository at this point in the history
* Added attribution

* Removed images

* Added images
  • Loading branch information
asa1997 authored Jan 9, 2024
1 parent 6195e0f commit 813e29e
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/aishield_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 14 additions & 1 deletion src/pages/FuzzingModel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import MKBox from "../../components/MKBox";
import { useLocation } from "react-router-dom";
import { besecureMlAssessmentDataStore } from "../../dataStore";
import { fetchJsonData } from "../BesVersionHistory/AssessmentReport";

import MKTypography from "../../components/MKTypography";
import aishieldLogo from "../../assets/images/aishield_logo.png"
const lineOptions = {
startPlug: "disc",
color: "red",
Expand Down Expand Up @@ -222,6 +223,18 @@ function FuzzingModelPage() {
<DefenseSummary />
<RightFuzzing />
</Grid>
<Grid container style={{ display: "flex", width: "100%", placeContent: "center", alignItems: "center", height: "24px" }}>
<Grid item>

<MKTypography style={{ fontSize: "12px" }}>
Powered by
</MKTypography>
</Grid>
<Grid item style={{ paddingLeft: "8px" }}>

<img style={{ width: "60px", height: "75px", paddingTop: "6px" }} src={aishieldLogo} />
</Grid>
</Grid>
</div>
);
}
Expand Down
14 changes: 14 additions & 0 deletions src/pages/ModelVulnerabilitiesDetailed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import routes from "../../routes";
import MKBox from "../../components/MKBox";
import { Card, Grid } from "@mui/material";
import ModelVulnerabilitiesDetailedTable from "./ModelVulnerabilitiesDetailedTable";
import MKTypography from "../../components/MKTypography";
import watchtowerLogo from "../../assets/images/AIShield-watchtower-final-logo.png"


function ModelVulnerabilitiesDetailed() {
Expand All @@ -20,6 +22,18 @@ function ModelVulnerabilitiesDetailed() {
</Card>
</Grid>
</Grid>
<Grid pt={47} container style={{ width: "100%", placeContent: "center", alignItems: "center", height: "fit-content" }}>
<Grid item>

<MKTypography style={{ fontSize: "12px" }}>
Powered by
</MKTypography>
</Grid>
<Grid item style={{ paddingLeft: "8px" }}>

<img style={{ width: "70px", height: "30px" }} src={watchtowerLogo} />
</Grid>
</Grid>
</MKBox>
</>
);
Expand Down
17 changes: 16 additions & 1 deletion src/pages/ShowModelDetails/AdversarialAttackSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,22 @@ const AdversarialAttackSummary = () => {
</TableBody>
</Table>
</TableContainer>

<Typography color="black"
pt={1}
pb={1}
style={{ fontSize: "12px", float: "right" }}>
Powered by <a
style={{
color: "grey",
cursor: "pointer"
}}
href={`https://www.boschaishield.com/home.html`}
title={"Click to view boschaishield webpage"}
target="_blank"
>
Bosch AIShield
</a>
</Typography>
{dividerDiv(1)}
{attackGraph(selectedMenu, attackMap)}
</>
Expand Down
16 changes: 16 additions & 0 deletions src/pages/ShowModelDetails/StaticAnalysisSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,22 @@ export default function StaticAnalysisSummary({ data }: any): any {
})}
</Grid>
)}
<MKTypography
pt={1}
style={{ float: "right", fontSize: "12px" }}
>
Powered by <a
style={{
color: "grey",
cursor: "pointer"
}}
href={`https://github.com/bosch-aisecurity-aishield/watchtower`}
title={"Click to view watchtower repo"}
target="_blank"
>
AIShield Watchtower
</a>
</MKTypography>
</>
);
}

0 comments on commit 813e29e

Please sign in to comment.