Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrganisationalInfo seems incomplete #108

Open
rpiazza opened this issue Apr 9, 2014 · 5 comments
Open

OrganisationalInfo seems incomplete #108

rpiazza opened this issue Apr 9, 2014 · 5 comments

Comments

@rpiazza
Copy link

rpiazza commented Apr 9, 2014

No description provided.

@bworrell
Copy link
Contributor

@rpiazza - Are you referring to the CIQ Identity extension's OrganisationInfo element? Are there fields you need implemented?

@rpiazza
Copy link
Author

rpiazza commented Apr 17, 2014

Yes. The 3 I'm currently interested in are:

  • number of employees
  • revenue
  • industry code

I might need more later

@benjaminxscott
Copy link
Contributor

Is the extension's intent to be a complete implementation of CIQ? or a "best effort" one

From reference looks like there is Specification/Revenue , OrganisationInfo/NumberofEmployees and OrganisationInfo/IndustryCode

@bworrell
Copy link
Contributor

The CIQ extension is being filled out on a case-by-case basis and not really intended to be an exhaustive implementation of the CIQ PartyType datatype (and supporting types). The currently defined fields are there mostly because they were asked for by community members or needed for specific use cases. I'm not sure if that answers your question :)

I think the three fields you referred to, @bschmoker, are the ones that @rpiazza was asking for.

@rpiazza
Copy link
Author

rpiazza commented Nov 20, 2014

I agree with @bworrell , I was not looking or a complete implementation. When I was working on the veris2stix converter, there were a few fields in the VERIS schema that fit naturally into CIQ, but they weren't implemented in python-stix.

Here is the relevant part of the VERIS schema:

"victim": {
"additionalProperties": false,
"properties": {
"country": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"employee_count": {
"type": "string"
},
"industry": {
"maxLength":6,
"minLength":2,
"pattern":"\d{2}-?\d{0,4}",
"type": "string"
},
"locations_affected": {
"type": "integer"
},
"notes": {
"minLength": 1,
"type": "string"
},
"region": {
"items": {
"type": "string",
"maxLength":6,
"minLength":6
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"revenue": {
"additionalProperties": false,
"minProperties": 1,
"properties": {
"amount": {
"type": "integer"
},
"iso_currency_code": {
"type": "string"
}
},
"type": "object"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants