-
Notifications
You must be signed in to change notification settings - Fork 451
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
Improvement - Ipsum #3456
Improvement - Ipsum #3456
Conversation
```bash File "/usr/local/lib/python3.12/site-packages/stix2/base.py", line 50, in _check_property kwargs[prop_name], has_custom = prop.clean( ^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/stix2/properties.py", line 175, in _default_clean raise ValueError("must equal '{}'.".format(self._fixed_value)) ValueError: must equal 'identity'.``` Fix the return value
Hello @baptiste-fourmont . Thanks for your contribution. I think that another problem remains in the connector. In fact, the "author" entity seems to never be added to the final STIX bundle. This result in multiple "Missing reference error" when processing the STIX bundle at the platform level ("unresolvedIds":["identity--4178f14f-6c2a-52d0-8e67-f111c9ad7560"]}) |
Hi, should be fixed now @romain-filigran |
According to the template changing to ```python3 last_run_datetime = datetime.fromtimestamp( current_timestamp, tz=timezone.utc ).strftime("%Y-%m-%d %H:%M:%S") ```
@baptiste-fourmont : Thanks a lot for your contribution. |
@baptiste-fourmont: I didn't see it the first time but for your information in this case it's not necessary to pass the “add cleanup_inconsistent_bundle” argument when pushing the STIX bundle. I'll remove this parameter and make some changes mentioned in this issue to be good : #3514 |
Fix the return value from create_author
Proposed changes
Related issues
Checklist
Further comments