Skip to content

Commit 5504e63

Browse files
committed
initialize develop branch for github repo
initialize develop branch for github repo, first commit on this branch is ahead of D3FEND release 0.10.0-BETA-2 which is tagged in our private repository.
0 parents  commit 5504e63

40 files changed

+22915
-0
lines changed

Diff for: .gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.vscode/settings.json
2+
bin
3+
build
4+
reports
5+
dist
6+
.DS_Store
7+

Diff for: .gitlab-ci.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This file is a template, and might need editing before it works on your project.
2+
# To contribute improvements to CI/CD templates, please follow the Development guide at:
3+
# https://docs.gitlab.com/ee/development/cicd/templates.html
4+
# This specific template is located at:
5+
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
6+
7+
# This is a sample GitLab CI/CD configuration file that should run without any modifications.
8+
# It demonstrates a basic 3 stage CI/CD pipeline. Instead of real tests or scripts,
9+
# it uses echo commands to simulate the pipeline execution.
10+
#
11+
# A pipeline is composed of independent jobs that run scripts, grouped into stages.
12+
# Stages run in sequential order, but jobs within stages run in parallel.
13+
#
14+
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
15+
16+
stages: # List of stages for jobs, and their order of execution
17+
- build
18+
- test
19+
20+
build: # This job runs in the build stage, which runs first.
21+
stage: build
22+
script:
23+
#- yum install make -y
24+
- make install-deps
25+
- make clean
26+
- make all
27+
28+
test: # This job runs in the test stage
29+
stage: test
30+
script:
31+
- make install-deps
32+
- make reports
33+
artifacts:
34+
paths:
35+
- reports/

Diff for: CONTRIBUTING.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Contributing to D3FEND
2+
3+
Thank you for your interest in contributing to D3FEND! This document briefly details the guidelines for contributing to the project. Please [reach out to us](mailto:[email protected]) if you have any questions or need clarification.
4+
5+
## Contribution Guidelines
6+
7+
**Before spending lots of time on something, ask for feedback on your idea first!**
8+
9+
Please search [issues](../../issues/) and [pull requests](../../pulls/) before adding something new! This helps avoid duplicating efforts and conversations.
10+
11+
### Contribution Types
12+
13+
Please determine what type of contribution you are submitting and then follow any specified instructions. If you are not comfortable with a pull request please feel free to send us an email with your contribution.
14+
15+
- **Technique**: submitting or recommending a new defensive technique.
16+
> Process: please email submission with this [mailto template](mailto:[email protected]?subject=New%20D3FEND%20Technique%20Submission&body=Definition%3A%0D%0A-%0D%0A%0D%0APublic%20Reference%20Links%3A%0D%0A-%0D%0A-).
17+
- **Correction**: grammar, typos, broken links.
18+
> Process: [Create issue](#create-issue) -> [Submit pull request](#pull-request).
19+
- **Reference**: adding a reference to the ontology.
20+
> Process: [Create issue](#create-issue) -> [Submit pull request](#pull-request).
21+
- **Ontology**: adding a digital artifact or creating a new artifact relationship. New classes, individuals, or properties.
22+
> Process: [Create issue](#create-issue) -> [Submit pull request](#pull-request).
23+
24+
## Processes
25+
26+
### Pull Request
27+
28+
Please create an issue before you send a pull request. Also please read about our [conventions](CONVENTIONS.md) (they are still a work in progress).
29+
30+
### Create Issue
31+
32+
1. Identify which [type of contribution](#contribution-types) you are making.
33+
1. Create a Github issue.
34+
1. Title the issue with a prefix of the type of contribution, e.g.:
35+
1. `[Reference] Add new reference for File Content Rules`
36+
1. `[Correction] Typo in File Content Rules KB article`
37+
38+
## Code of Conduct
39+
40+
All contributors are expected to conduct themselves in a professional manner.

Diff for: CONVENTIONS.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# D3FEND Ontology Conventions
2+
3+
1. Defensive Techniques are punned as instances of their parent classes.
4+
1. CamelCase [IRIs](https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier), capitalize all words in the IRI fragment.
5+
1. Do not use bracket characters in IRIs.
6+
1. Do not use unicode characters in IRIs.

Diff for: DESIGN.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Design Details for the D3FEND Ontology
2+
3+
## IRI naming approach
4+
The the ontology iri was selected to satisfy two key requirements:
5+
1. The ontology prefix shall be a resolvable file.
6+
2. A full IRI shall result in a resolvable file.
7+
8+
### Constraints
9+
1. Must be compatible with standard static web file server

Diff for: LICENSE.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2022 The MITRE Corporation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

0 commit comments

Comments
 (0)