GithubHelp home page GithubHelp logo

pandaninjas / stix-editor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cisagov/stix-editor

0.0 0.0 0.0 14.42 MB

License: MIT License

JavaScript 47.48% Ruby 0.11% CSS 0.15% HTML 52.11% Pug 0.15%

stix-editor's Introduction

Getting Started

To get started you can simply download this project repository.

Prerequisites

Download and install Node.js (https://nodejs.org/en/download/). Node.js(https://nodejs.org/en/) is a javascript runtime and comes with npm installed. Node.js comes with a preinstalled http server. Or, you may use any other web server of your choice.

Set user Namespace configuration The settings(/settings) need to be set to ensure all @ids are prefixed properly. The namespaces settings are located at the root of the project directory (settings.json) for your convenience. Populate the XML_Prefix and XML_URI keys with your values (e.g. "XML_Prefix":"YOUR_COMPANY_NAME","XML_URI":"YOUR_DOMAIN") and save!

Run the Application

Change to the directory containing your project and type:

npm start

Now browse to the app at [localhost:8000/index.html][local-app-url].

Settings

Each user will provide their own values for XML Prefix and URI through settings.json. This file is located at in the app directory.

Directory Layout

app/                    --> all of the source files and dependecies for the application
  courses_of_action/    --> Courses of Action
  exploit_targets/      --> Exploit Targets
  export/               --> saving user provided input into valid STIX output
  indicators/           --> Indicators
  layout/               --> main view, settings and release notes
  observables/          --> Observables. This object is 
  package/              --> stix package module and service
  shared/               --> views and services shared by all components
  stix_header/          --> stix header
  ttps/                 --> Tactics, Techniques and Procedures
  settings.json         --> this file specifies XML Prefix and XML URI
  dashboard.css         --> default stylesheet
  app.module.js         --> main application module
  index.html            --> app layout file (the main html template file of the app)

stix-editor's People

Contributors

hanymorcos avatar pandaninjas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.