-
Notifications
You must be signed in to change notification settings - Fork 93
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
How to add collection in TAXII ver2.1 #257
Comments
Hi @over320, You can create the api root with: opentaxii-add-api-root -t "baseapiroot" -d "This is the default api root" --default --public Then you can create the collection with: opentaxii-add-collection --rootid 3289b4eb-5f15-475d-a336-c3a03eb0975e -t "MyCollection" -d "This is a collection" -a "MyCollectionAlias" --public --public-write In this case It would also be helpful if you give more details about the process that you have followed when trying to create the collection. Including the output of each step. |
Update:Cleared the venv, and done a clean git clone again, merged the pull request, and AFTER that I ran the setup.py. Now it works fine! |
Hi, @aams-eam. i've deployed a taxii server step by step flow your article, my taxii server2.1 works fine, but it have some problems. when i push data to server, if i push STIX Domain Objects everything is ok data can push to server, but if i try to push STIX Cyber-observable Objects then it cannot push and have this error |
Can you please provide the STIX Cyber-Observable Object you are using as an example? |
Hi @aams-eam,, "type": "user-account", "spec_version": "2.1", "id": "user-account--0d5b424b-93b8-5cd8-ac36-306e1789d63c", "user_id": "1001", "account_login": "jdoe", "account_type": "unix", "display_name": "John Doe", "is_service_account": false, "is_privileged": false, "can_escalate_privs": true, "account_created": "2016-01-20T12:31:12Z", "credential_last_changed": "2016-01-20T14:27:43Z", "account_first_login": "2016-01-20T14:26:07Z", "account_last_login": "2016-07-22T16:08:28Z" } from here https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html#_azo70vgj1vm2 Here are the logs when i push STIX Domain Objects |
Hi @aams-eam, "type": "user-account", "spec_version": "2.1", "id": "user-account--0d5b424b-93b8-5cd8-ac36-306e1789d63c", "user_id": "1001", "account_login": "jdoe", "account_type": "unix", "display_name": "John Doe", "is_service_account": false, "is_privileged": false, "can_escalate_privs": true, "account_created": "2016-01-20T12:31:12Z", "credential_last_changed": "2016-01-20T14:27:43Z", "account_first_login": "2016-01-20T14:26:07Z", "account_last_login": "2016-07-22T16:08:28Z" } but i have to add "modified" field. Only add that field and i everything is perfect. I'm not sure why? |
Happy everything works now! |
Hello!
I am using TAXII Ver2.1 in OpenTAXII.
I would like to know how to create a collection to TAXII Ver2.1 in OpanTAXII.
If you create a collection in TAXII Ver1.1 in OpenTAXII, you can add a collection by setting the collection in data-configuration.yaml.
Unlike TAXII Ver1.1, if you create a collection in TAXII Ver2.1, you use the command [opentaxii-add-collection] to add a Collection, associating it with an API root ID.
Below is an example of command usage.
opentaxii-add-collection -r -t
However, using the command as above, I am unable to create a collection on the TAXII Ver2.1 server.
Is there a different way to create a collection to the TAXII Ver2.1 server?
If not, please let me know the correct procedure for adding them.
Thanks.
The text was updated successfully, but these errors were encountered: