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

[backend] change timestamp from 23rd of august to 7th #4022

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

yassine-ouaamou
Copy link
Member

@yassine-ouaamou yassine-ouaamou commented Aug 9, 2023

The goal is to fix the timestamp of the last migration background-tasks-scope which was corresponding to the 23rd of august

Once this code merged and fetched, you should run this following script to have the right lastRun value in your DB:

POST /opencti_internal_objects-000001/_update_by_query
{
"script": {
"source": "ctx._source.lastRun = '1691398780000-background-tasks-scope.js'"
},
"query": {
"term": {
"entity_type.keyword": "MigrationStatus"
}
}
}

@yassine-ouaamou yassine-ouaamou self-assigned this Aug 9, 2023
@Kedae Kedae added the filigran team use to identify PR from the Filigran team label Aug 9, 2023
@yassine-ouaamou yassine-ouaamou marked this pull request as ready for review August 9, 2023 11:54
@yassine-ouaamou yassine-ouaamou merged commit b19a1e0 into master Aug 9, 2023
6 checks passed
@yassine-ouaamou yassine-ouaamou deleted the fix-timestamp-migration branch August 9, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants