Skip to content

Commit

Permalink
added inspec_tools to supported tools faq
Browse files Browse the repository at this point in the history
Signed-off-by: Will Dower <[email protected]>
  • Loading branch information
wdower committed Jun 9, 2020
1 parent c97b2a9 commit 836390d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/assets/data/faqs.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@
"links": [
{
"name": "InSpec (and our InSpec profiles)",
"link": "https://cmsgov.github.io/saf/#/validation",
"router_link": "/validation",
"desc": " for assessing configuration settings, vulnerabilities, and least functionality"
},
{
"name": "InSpec Tools",
"link": "https://inspec-tools.mitre.org",
"desc": "to create and format InSpec data like profiles and results"
},
{
"name": "Heimdall Server",
"link": "https://heimdall.mitre.org",
Expand Down
4 changes: 3 additions & 1 deletion src/components/faqInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<ul>
<li v-for="(link, i) in faq.links" :key="i">
<span>
<router-link v-if="link.router_link" :to="link.router_link">{{link.name}}</router-link>
<a
v-else
:href="link.download_link ? link.download_link : link.link"
target="_blank"
:download="link.download_link"
Expand Down Expand Up @@ -71,7 +73,7 @@ export default {
computed: {
panel() {
//allow for a URL to specify which faq to open by default
var panel = parseInt(this.$route.hash.slice(1)) - 1
var panel = parseInt(this.$route.hash.slice(1)) - 1;
return [panel];
}
}
Expand Down

0 comments on commit 836390d

Please sign in to comment.