oasis-open / cti-stix-common-objects

OASIS Cyber Threat Intelligence (CTI) TC: A repository for commonly used STIX objects in order to avoid needless duplication. https://github.com/oasis-open/cti-stix-common-objects
BSD 3-Clause "New" or "Revised" License
84 stars 36 forks source link

Added examples and updated adoc #46

Closed azainimitre closed 9 months ago

CLAassistant commented 9 months ago

CLA assistant check
All committers have signed the CLA.

rpiazza commented 9 months ago

I think the text should be something like this:

==== 2.1.2 Example

[source,json]
----
include::examples/example_2.1.json[]
----

and many of the sections have a x.1.1 - so you should use x.1.2

rpiazza commented 9 months ago

You added .1 to the section numbering, but there is already a x.x.1 section called "Relationships". They need to be x.x.2. Also in section 2.3 - put an example section under each Extension subsection. In other words section 2.3.2.1.1 should be the section for the Availability Impact examples.

rpiazza commented 9 months ago

Hi @azainimitre

You can use this command in the extension-definition-specifications directory to generate the html version of the asciidoc. This is the best way to see if the doc looks "good":

asciidoctor -v --failure-level INFO -a stylesheet=../asciidoc-shared/stix.css -D ../../temp incident-core/Incident\ Extension\ Suite.adoc

Then look in ../../temp for Incident Extension Suite.html

A few issues - some of which I should have caught earlier (sorry)

rpiazza commented 9 months ago

@azainimitre,

some things that still need fixing: