forked from gdg-x/aura
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from mitre/wd-faq
FAQ tab
- Loading branch information
Showing
15 changed files
with
201 additions
and
101 deletions.
There are no files selected for viewing
Binary file added
BIN
+6.31 MB
public/MITRE_InSpec_Profiles_and_HDF_include_NIST_SP-800-53_Associations.pdf
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"faqs": [ | ||
{ | ||
"question": "How do I know which NIST SP 800-53 Security Controls are addressed using this framework?", | ||
"answer": "NIST SP 800-53 associations are included in all InSpec profiles and output from other security tools processed through Heimdall_tools. See our presentation to learn more!", | ||
"links": [ | ||
{ | ||
"name": "InSpec, HDF, and NIST SP 800-53 Security Controls", | ||
"download_link": "MITRE_InSpec_Profiles_and_HDF_include_NIST_SP-800-53_Associations.pdf" | ||
} | ||
] | ||
}, | ||
{ | ||
"question": "How can I use InSpec tests in my CI/CD pipeline?", | ||
"answer": "InSpec tests can be integrated as part of a test battery in your favorite CI platform. For example, you can add InSpec testing to your Travis CI file to run InSpec automatically. For further details, please see our Advanced InSpec Developer's Course.", | ||
"code": "// travis.yml\n\nsudo: required\n\n# blocklist\n#branches:\n# except:\n# - development\n\n# safelist\n#branches:\n# only:\n# - master\n# - stable\n\nlanguage: ruby\nrvm:\n - 2.6.1\n\ncache: bundler\n\naddons:\n apt:\n sources:\n - chef-current-xenial\n # packages:\n # - chef-workstation\n #artifacts: true\n\n# Don't `bundle install` which takes about 1.5 mins\ninstall:\n\nservices: docker\n\nenv:\n matrix:\n - INSTANCE=default-ubuntu-1604\n\nbefore_script:\n - wget https://packages.chef.io/files/stable/chef-workstation/0.5.1/ubuntu/16.04/chef-workstation_0.5.1-1_amd64.deb\n - sudo dpkg -i chef-workstation_*.deb\n - rm chef-workstation_*.deb\n - sudo iptables -L DOCKER || ( echo \"DOCKER iptables chain missing\" ; sudo iptables -N DOCKER )\n - eval\\$(chef shell-init bash)\"\n - gem install bundler:2.0.1\n - gem install inspec_tools\n - inspec --version\n - CHEF_LICENSE=accept chef gem update inspec\n - CHEF_LICENSE=accept chef gem update inspec-bin\n - /opt/chef-workstation/embedded/bin/gem update inspec\n - /opt/chef-workstation/embedded/bin/gem update inspec-bin\n - inspec --version\n - bundle update --bundler\n - bundle install\n - chef --version\n - cookstyle --version\n - foodcritic --version\n\nscript: \n - CHEF_LICENSE=accept-no-persist KITCHEN_LOCAL_YAML=kitchen.dokken.yml CHEF_VERSION=\\${CHEF_VERSION} kitchen verify \\${INSTANCE} || true\n - export RESULTS=\\$(ls results/*.json)\n - inspec_tools compliance -j $RESULTS -f threshold.yml", | ||
"links": [ | ||
{ | ||
"name": "InSpec Pipeline Integration Example", | ||
"link": "https://mitre-inspec-advanced-developer.netlify.com/course/4.html" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<template> | ||
<v-container fluid> | ||
<v-row align="center"> | ||
<v-col md="12" sm="12" cols="12"> | ||
<p class="google-font" style="color: #1a73e8; font-weight: 350; font-size:200% "> | ||
<slot name="title"></slot> | ||
</p> | ||
<slot name="subtitle" class="google-font mt-0" style="font-size:120%"></slot> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<template> | ||
<v-container fluid> | ||
<v-expansion-panels accordion tile v-model="panel" multiple flat> | ||
<v-expansion-panel v-for="faq in faqs" :key="faq"> | ||
<v-expansion-panel-header | ||
class="google-font" | ||
style="color: #1a73e8; font-weight: 200; font-size:120% " | ||
>{{faq.question}}</v-expansion-panel-header> | ||
<v-expansion-panel-content>{{faq.answer}}</v-expansion-panel-content> | ||
<v-expansion-panel-content v-if="faq.links"> | ||
<div v-for="link in faq.links" :key="link"> | ||
<a | ||
:href="link.download_link ? link.download_link : link.link" | ||
target="_blank" | ||
:download="link.download_link" | ||
>{{link.name}}</a> | ||
</div> | ||
</v-expansion-panel-content> | ||
<v-expansion-panel-content v-if="faq.code" class="hidden-sm-and-down"> | ||
<v-row> | ||
<v-col xs="3"> | ||
<code class="pa-2" v-if="faq.code">{{faq.code}}</code> | ||
</v-col> | ||
</v-row> | ||
</v-expansion-panel-content> | ||
</v-expansion-panel> | ||
</v-expansion-panels> | ||
|
||
<!-- <v-list-item :key="faq.question"> | ||
<v-list-item-content> | ||
<v-list-item> | ||
<p | ||
class="google-font" | ||
style="color: #1a73e8; font-weight: 200; font-size:120% " | ||
>{{faq.question}}</p> | ||
</v-list-item> | ||
<v-list-item class="google-font"> | ||
<p>{{faq.answer}}</p> | ||
</v-list-item> | ||
<v-list-item class="google-font" v-show="faq.link"> | ||
<a :href="faq.link" download>{{faq.link_text}}</a> | ||
</v-list-item> | ||
<v-list-item class="google-font" v-show="faq.img"> | ||
<p>{{faq.img}}</p> | ||
</v-list-item> | ||
<v-list-item v-show="faq.code"> | ||
<pre><code class="pa-2">{{faq.code}}</code></pre> | ||
</v-list-item> | ||
</v-list-item-content> | ||
</v-list-item>--> | ||
</v-container> | ||
</template> | ||
|
||
<script> | ||
import faqs from "@/assets/data/faqs.json"; | ||
export default { | ||
data: () => ({ | ||
faqs: faqs.faqs, | ||
panel: [0, 1], | ||
}) | ||
}; | ||
</script> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<template> | ||
<v-content class="pa-0"> | ||
<v-container fluid class="pa-0 mt-2"> | ||
<v-row | ||
justify="center" | ||
align="center" | ||
:class="this.$vuetify.theme.dark == true?'grey darken-4':'grey lighten-4'" | ||
class="py-0 my-0" | ||
> | ||
<v-col md="12" lg="10" xs="12" class="py-3 my-0"> | ||
<Header> | ||
<h3 slot="title">Frequently Asked Questions</h3> | ||
<p slot="subtitle"> | ||
Have a question you don't see covered here? Please contact | ||
<a | ||
style="color:#1565C0;text-decoration: none;" | ||
:href="`mailto:${communityData.communityEmail}`" | ||
>{{communityData.communityEmail}}</a> | ||
</p> | ||
</Header> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
|
||
<v-container fluid class="pa-0 py-2"> | ||
<v-row justify="center" align="center"> | ||
<v-col md="12" lg="10" xs="12" class="py-0"> | ||
<faqInfo /> | ||
</v-col> | ||
</v-row> | ||
</v-container> | ||
</v-content> | ||
</template> | ||
|
||
<script> | ||
import Header from "@/components/core/Header.vue"; | ||
import faqInfo from "@/components/faqInfo.vue"; | ||
import communityData from "@/assets/data/communityData.json"; | ||
export default { | ||
data() { | ||
return { | ||
communityData: communityData | ||
}; | ||
}, | ||
components: { | ||
Header, | ||
faqInfo | ||
} | ||
}; | ||
</script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.