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

Fix some TAXII 2 issues #267

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

aams-eam
Copy link

@aams-eam aams-eam commented Jan 2, 2024

This pull request makes the following changes:

  • Add examples/data-configuration-accounts.yml. An example about configure accounts for accessing private taxii1 and taxii2 collections
  • Modified opentaxii/auth/manager.py so data-configuration-accounts.ymlworks and you can specify taxii1 and taxii2 collections.
  • Fixed examples/docker-compose.yml. version and services fields were missing.
  • Add examples/pullpushsub.py, a script to test pull, push, and subscribe functionalities.
  • Add field --public when creating TAXII2 API roots with opentaxii-add-api-root.
  • Modify opentaxii/defaults.yml with TAXII2 configuration.
  • Fix opentaxii/taxii2/entities.py. modify allows reading and writting to collections.
  • Fix "UUID is not JSON serializable" in opentaxii/taxii2/http.py.

- Added example on how to define accounts with permissions for taxii2
  and taxii1.
- Fixed authentication for taxii2. Now accounts can be defined to access
  private collections with 'read' or 'modify' access.
When a collection that does not exist is used in a data-configuration
file, a warning is produced
If no credentials are provided and you try to access a public
collection, there is an error. Now it has been fixed.
Also expanded the example for taxii2 data-configuration-accounts
The script can be used to test push, pull, and subscribe functionality
with taxii2-client
docker-compose.yml was missing version and services.
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

Successfully merging this pull request may close these issues.

None yet

1 participant