diff --git a/migrations_lockfile.txt b/migrations_lockfile.txt index c29dcab4e1c180..668f256f793f15 100644 --- a/migrations_lockfile.txt +++ b/migrations_lockfile.txt @@ -9,5 +9,5 @@ feedback: 0004_index_together hybridcloud: 0011_add_hybridcloudapitoken_index nodestore: 0002_nodestore_no_dictfield replays: 0004_index_together -sentry: 0652_alert_rule_activation_condition +sentry: 0653_apitoken_add_token_type social_auth: 0002_default_auto_field diff --git a/src/sentry/migrations/0653_apitoken_add_token_type.py b/src/sentry/migrations/0653_apitoken_add_token_type.py new file mode 100644 index 00000000000000..a94828b1d67d74 --- /dev/null +++ b/src/sentry/migrations/0653_apitoken_add_token_type.py @@ -0,0 +1,31 @@ +# Generated by Django 5.0.2 on 2024-02-23 04:05 + +from django.db import migrations, models + +from sentry.new_migrations.migrations import CheckedMigration + + +class Migration(CheckedMigration): + # This flag is used to mark that a migration shouldn't be automatically run in production. For + # the most part, this should only be used for operations where it's safe to run the migration + # after your code has deployed. So this should not be used for most operations that alter the + # schema of a table. + # Here are some things that make sense to mark as dangerous: + # - Large data migrations. Typically we want these to be run manually by ops so that they can + # be monitored and not block the deploy for a long period of time while they run. + # - Adding indexes to large tables. Since this can take a long time, we'd generally prefer to + # have ops run this and not block the deploy. Note that while adding an index is a schema + # change, it's completely safe to run the operation after the code has deployed. + is_dangerous = False + + dependencies = [ + ("sentry", "0652_alert_rule_activation_condition"), + ] + + operations = [ + migrations.AddField( + model_name="apitoken", + name="token_type", + field=models.CharField(max_length=7, null=True), + ), + ] diff --git a/src/sentry/models/apitoken.py b/src/sentry/models/apitoken.py index 99913ad0d48031..5f03998878b205 100644 --- a/src/sentry/models/apitoken.py +++ b/src/sentry/models/apitoken.py @@ -19,6 +19,7 @@ from sentry.models.apiscopes import HasApiScopes from sentry.models.outbox import OutboxCategory from sentry.types.region import find_all_region_names +from sentry.types.token import AuthTokenType DEFAULT_EXPIRATION = timedelta(days=30) @@ -42,6 +43,7 @@ class ApiToken(ReplicatedControlModel, HasApiScopes): name = models.CharField(max_length=255, null=True) token = models.CharField(max_length=64, unique=True, default=generate_token) hashed_token = models.CharField(max_length=128, null=True) + token_type = models.CharField(max_length=7, choices=AuthTokenType, null=True) token_last_characters = models.CharField(max_length=4, null=True) refresh_token = models.CharField(max_length=64, unique=True, null=True, default=generate_token) hashed_refresh_token = models.CharField(max_length=128, null=True) diff --git a/src/sentry/types/token.py b/src/sentry/types/token.py new file mode 100644 index 00000000000000..e72f7bb6be7018 --- /dev/null +++ b/src/sentry/types/token.py @@ -0,0 +1,16 @@ +from django.db import models + + +class AuthTokenType(models.TextChoices): + """ + Represents the various API/auth token types in the Sentry code base. + The values equate to the expected prefix of each of the token types. + """ + + USER = "sntryu_" + ORG = "sntrys_" + USER_APP = "sntrya_" + INTEGRATION = "sntryi_" + + # tokens created prior to our prefixing + __empty__ = None diff --git a/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap b/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap index 0b68e559bbefd9..37ad0cec25696a 100644 --- a/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap +++ b/tests/sentry/backup/snapshots/ReleaseTests/test_at_head.pysnap @@ -1,18 +1,18 @@ --- -created: '2024-02-22T22:40:50.709355Z' +created: '2024-02-23T04:31:02.724565Z' creator: sentry source: tests/sentry/backup/test_releases.py --- - fields: key: bar - last_updated: '2024-02-22T22:40:50.346Z' + last_updated: '2024-02-23T04:31:02.383Z' last_updated_by: unknown value: '"b"' model: sentry.controloption pk: 1 - fields: - date_added: '2024-02-22T22:40:49.700Z' - date_updated: '2024-02-22T22:40:49.700Z' + date_added: '2024-02-23T04:31:01.932Z' + date_updated: '2024-02-23T04:31:01.932Z' external_id: slack:test-org metadata: {} name: Slack for test-org @@ -22,13 +22,13 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: key: foo - last_updated: '2024-02-22T22:40:50.345Z' + last_updated: '2024-02-23T04:31:02.382Z' last_updated_by: unknown value: '"a"' model: sentry.option pk: 1 - fields: - date_added: '2024-02-22T22:40:49.055Z' + date_added: '2024-02-23T04:31:01.528Z' default_role: member flags: '1' is_test: false @@ -36,92 +36,92 @@ source: tests/sentry/backup/test_releases.py slug: test-org status: 0 model: sentry.organization - pk: 4553540893736960 + pk: 4553542270779392 - fields: - date_added: '2024-02-22T22:40:49.913Z' + date_added: '2024-02-23T04:31:02.073Z' default_role: member flags: '1' is_test: false - name: Boss Catfish - slug: boss-catfish + name: Fancy Ghoul + slug: fancy-ghoul status: 0 model: sentry.organization - pk: 4553540893736964 + pk: 4553542270844928 - fields: config: hello: hello - date_added: '2024-02-22T22:40:49.701Z' - date_updated: '2024-02-22T22:40:49.701Z' + date_added: '2024-02-23T04:31:01.933Z' + date_updated: '2024-02-23T04:31:01.933Z' default_auth_id: null grace_period_end: null integration: 1 - organization_id: 4553540893736960 + organization_id: 4553542270779392 status: 0 model: sentry.organizationintegration pk: 1 - fields: key: sentry:account-rate-limit - organization: 4553540893736960 + organization: 4553542270779392 value: 0 model: sentry.organizationoption pk: 1 - fields: - date_added: '2024-02-22T22:40:49.499Z' + date_added: '2024-02-23T04:31:01.770Z' first_event: null flags: '10' forced_color: null name: project-test-org - organization: 4553540893736960 + organization: 4553542270779392 platform: null public: false slug: project-test-org status: 0 model: sentry.project - pk: 4553540893736962 + pk: 4553542270779394 - fields: - date_added: '2024-02-22T22:40:49.737Z' + date_added: '2024-02-23T04:31:01.957Z' first_event: null flags: '10' forced_color: null name: other-project-test-org - organization: 4553540893736960 + organization: 4553542270779392 platform: null public: false slug: other-project-test-org status: 0 model: sentry.project - pk: 4553540893736963 + pk: 4553542270779395 - fields: - date_added: '2024-02-22T22:40:50.002Z' + date_added: '2024-02-23T04:31:02.152Z' first_event: null flags: '10' forced_color: null - name: Massive Moose - organization: 4553540893736960 + name: Classic Marmot + organization: 4553542270779392 platform: null public: false - slug: massive-moose + slug: classic-marmot status: 0 model: sentry.project - pk: 4553540893802496 + pk: 4553542270844929 - fields: - date_added: '2024-02-22T22:40:50.284Z' + date_added: '2024-02-23T04:31:02.328Z' first_event: null flags: '10' forced_color: null - name: Modest Shad - organization: 4553540893736960 + name: Viable Tick + organization: 4553542270779392 platform: null public: false - slug: modest-shad + slug: viable-tick status: 0 model: sentry.project - pk: 4553540893802497 + pk: 4553542270844930 - fields: config: hello: hello integration_id: 1 - project: 4553540893736962 + project: 4553542270779394 model: sentry.projectintegration pk: 1 - fields: @@ -129,14 +129,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2024-02-22T22:40:49.524Z' + date_added: '2024-02-23T04:31:01.786Z' label: Default - project: 4553540893736962 - public_key: 0aa3779568cf2002db635fa4a3d02e59 + project: 4553542270779394 + public_key: 330403727b27aa2d014e2bdd5443d103 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 3af9f0886882dd9d9d902f9d893845d2 + secret_key: 0ac4f01a86d87cda287c46dbcd420cab status: 0 model: sentry.projectkey pk: 1 @@ -145,14 +145,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2024-02-22T22:40:49.763Z' + date_added: '2024-02-23T04:31:01.972Z' label: Default - project: 4553540893736963 - public_key: 8cc80b583d5573d4647d9ca803546b08 + project: 4553542270779395 + public_key: ab7d0f7263ed684e71fd5161ce236a3b rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 5aeeb85f3fc94e66d5e80df139c0f784 + secret_key: cc56691fd582f3373d64de3f511ec92f status: 0 model: sentry.projectkey pk: 2 @@ -161,14 +161,14 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2024-02-22T22:40:50.028Z' + date_added: '2024-02-23T04:31:02.169Z' label: Default - project: 4553540893802496 - public_key: 533bb853db061f8d8783cfc5c003561d + project: 4553542270844929 + public_key: b534552e55cf8602d65b6996c7d056d2 rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: 1efb36ca70003ac8220def6d59e43234 + secret_key: eb62ba63ae545c3e5a3021eaedf83197 status: 0 model: sentry.projectkey pk: 3 @@ -177,97 +177,97 @@ source: tests/sentry/backup/test_releases.py dynamicSdkLoaderOptions: hasPerformance: true hasReplay: true - date_added: '2024-02-22T22:40:50.309Z' + date_added: '2024-02-23T04:31:02.346Z' label: Default - project: 4553540893802497 - public_key: 3041d101efd970efb846eccc6d70b7ab + project: 4553542270844930 + public_key: 0f0692976da77d6ea08b0124a0bfc54b rate_limit_count: null rate_limit_window: null roles: '1' - secret_key: ab4f0b0acc704291b97c817d78350fa7 + secret_key: b5815f87aa641009021c8228855ee2b8 status: 0 model: sentry.projectkey pk: 4 - fields: key: sentry:relay-rev - project: 4553540893736962 - value: '"94c0ca28c761487eaf7375e39b8ec830"' + project: 4553542270779394 + value: '"01935901784e4bc99bbf87d77068418f"' model: sentry.projectoption pk: 1 - fields: key: sentry:relay-rev-lastchange - project: 4553540893736962 - value: '"2024-02-22T22:40:49.531170Z"' + project: 4553542270779394 + value: '"2024-02-23T04:31:01.791600Z"' model: sentry.projectoption pk: 2 - fields: key: sentry:option-epoch - project: 4553540893736962 + project: 4553542270779394 value: 12 model: sentry.projectoption pk: 3 - fields: key: sentry:relay-rev - project: 4553540893736963 - value: '"61fb3d0585664ce3b3087fec6e07f956"' + project: 4553542270779395 + value: '"27e4616a8a214acbb5920ec8bd3d4cb4"' model: sentry.projectoption pk: 4 - fields: key: sentry:relay-rev-lastchange - project: 4553540893736963 - value: '"2024-02-22T22:40:49.769316Z"' + project: 4553542270779395 + value: '"2024-02-23T04:31:01.976087Z"' model: sentry.projectoption pk: 5 - fields: key: sentry:option-epoch - project: 4553540893736963 + project: 4553542270779395 value: 12 model: sentry.projectoption pk: 6 - fields: key: sentry:relay-rev - project: 4553540893802496 - value: '"3e29acd1bdef4636a0d521f593a33a74"' + project: 4553542270844929 + value: '"e61d8bfc7d4f4c7fb0dff0331675f155"' model: sentry.projectoption pk: 7 - fields: key: sentry:relay-rev-lastchange - project: 4553540893802496 - value: '"2024-02-22T22:40:50.038196Z"' + project: 4553542270844929 + value: '"2024-02-23T04:31:02.174183Z"' model: sentry.projectoption pk: 8 - fields: key: sentry:option-epoch - project: 4553540893802496 + project: 4553542270844929 value: 12 model: sentry.projectoption pk: 9 - fields: key: sentry:relay-rev - project: 4553540893802497 - value: '"ebcea079542742f5a16ed6798372f83c"' + project: 4553542270844930 + value: '"031fd562a46f46d6a26009147b347c42"' model: sentry.projectoption pk: 10 - fields: key: sentry:relay-rev-lastchange - project: 4553540893802497 - value: '"2024-02-22T22:40:50.315683Z"' + project: 4553542270844930 + value: '"2024-02-23T04:31:02.351072Z"' model: sentry.projectoption pk: 11 - fields: key: sentry:option-epoch - project: 4553540893802497 + project: 4553542270844930 value: 12 model: sentry.projectoption pk: 12 - fields: auto_assignment: true codeowners_auto_sync: true - date_created: '2024-02-22T22:40:49.552Z' + date_created: '2024-02-23T04:31:01.806Z' fallthrough: true is_active: true - last_updated: '2024-02-22T22:40:49.552Z' - project: 4553540893736962 + last_updated: '2024-02-23T04:31:01.806Z' + project: 4553542270779394 raw: '{"hello":"hello"}' schema: hello: hello @@ -275,9 +275,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.projectownership pk: 1 - fields: - date_added: '2024-02-22T22:40:49.558Z' - organization: 4553540893736960 - project: 4553540893736962 + date_added: '2024-02-23T04:31:01.813Z' + organization: 4553542270779392 + project: 4553542270779394 redirect_slug: project_slug_in_test-org model: sentry.projectredirect pk: 1 @@ -285,26 +285,26 @@ source: tests/sentry/backup/test_releases.py first_seen: null is_internal: true last_seen: null - public_key: UwuO2WzBOhruhyqYPmgprZkwTTxp10aQI16j4DdyivQ - relay_id: 37d20235-8c38-486c-9118-c15e6d3744e2 + public_key: zIOoR1YvcQMYhy8q3jTZvfS08Oa-JZ9gJKY4c1Csadk + relay_id: efa4c5cc-1ec0-4c8d-95ba-7c08f3111cde model: sentry.relay pk: 1 - fields: - first_seen: '2024-02-22T22:40:50.344Z' - last_seen: '2024-02-22T22:40:50.344Z' - public_key: UwuO2WzBOhruhyqYPmgprZkwTTxp10aQI16j4DdyivQ - relay_id: 37d20235-8c38-486c-9118-c15e6d3744e2 + first_seen: '2024-02-23T04:31:02.380Z' + last_seen: '2024-02-23T04:31:02.380Z' + public_key: zIOoR1YvcQMYhy8q3jTZvfS08Oa-JZ9gJKY4c1Csadk + relay_id: efa4c5cc-1ec0-4c8d-95ba-7c08f3111cde version: 0.0.1 model: sentry.relayusage pk: 1 - fields: config: {} - date_added: '2024-02-22T22:40:49.896Z' + date_added: '2024-02-23T04:31:02.060Z' external_id: null integration_id: 1 languages: '[]' name: getsentry/getsentry - organization_id: 4553540893736960 + organization_id: 4553542270779392 provider: integrations:github status: 0 url: https://github.com/getsentry/getsentry @@ -312,19 +312,19 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: actor: 1 - date_added: '2024-02-22T22:40:49.394Z' + date_added: '2024-02-23T04:31:01.702Z' idp_provisioned: false name: test_team_in_test-org org_role: null - organization: 4553540893736960 + organization: 4553542270779392 slug: test_team_in_test-org status: 0 model: sentry.team - pk: 4553540893736961 + pk: 4553542270779393 - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-22T22:40:48.181Z' + date_joined: '2024-02-23T04:31:01.456Z' email: owner flags: '0' is_active: true @@ -334,11 +334,11 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: true is_unclaimed: false - last_active: '2024-02-22T22:40:48.181Z' + last_active: '2024-02-23T04:31:01.456Z' last_login: null - last_password_change: '2024-02-22T22:40:48.181Z' + last_password_change: '2024-02-23T04:31:01.456Z' name: '' - password: md5$R5l3hZRRmAFjANMAC0flge$203c3151482c2c00d318f339729bd32a + password: md5$KOQDGHDV8qpeH8ugRXybQl$ea458bcace19b891e071a1ee7108a0f1 session_nonce: null username: owner model: sentry.user @@ -346,7 +346,7 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-22T22:40:49.016Z' + date_joined: '2024-02-23T04:31:01.511Z' email: member flags: '0' is_active: true @@ -356,11 +356,11 @@ source: tests/sentry/backup/test_releases.py is_staff: false is_superuser: false is_unclaimed: false - last_active: '2024-02-22T22:40:49.016Z' + last_active: '2024-02-23T04:31:01.511Z' last_login: null - last_password_change: '2024-02-22T22:40:49.016Z' + last_password_change: '2024-02-23T04:31:01.511Z' name: '' - password: md5$0QjmaHdgV3M8FFyDe87OFD$85f5332c32c549da6d62aad41bb228fa + password: md5$R2rS8jJ11PqbZ3wVZsldWk$9c8ace3cc4edc7486d00df4f7890f3f1 session_nonce: null username: member model: sentry.user @@ -368,7 +368,7 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-22T22:40:49.807Z' + date_joined: '2024-02-23T04:31:02.005Z' email: admin@localhost flags: '0' is_active: true @@ -378,11 +378,11 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: true is_unclaimed: false - last_active: '2024-02-22T22:40:49.807Z' + last_active: '2024-02-23T04:31:02.005Z' last_login: null - last_password_change: '2024-02-22T22:40:49.807Z' + last_password_change: '2024-02-23T04:31:02.005Z' name: '' - password: md5$6xreqatTsxbPstdIWLBfeb$962965f510463e3ea85713d17cbdf4d3 + password: md5$dcPpRfbj0cY8eR8YVCH2ci$24606dc3bf6db06cdcf4566a62a339e6 session_nonce: null username: admin@localhost model: sentry.user @@ -390,8 +390,8 @@ source: tests/sentry/backup/test_releases.py - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-22T22:40:49.900Z' - email: 9563b504e4a341e39e3f213f98ea1d1d@example.com + date_joined: '2024-02-23T04:31:02.062Z' + email: c3f017f77ed64790a711a9bad1d24441@example.com flags: '0' is_active: true is_managed: false @@ -400,19 +400,19 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: false is_unclaimed: false - last_active: '2024-02-22T22:40:49.900Z' + last_active: '2024-02-23T04:31:02.062Z' last_login: null - last_password_change: '2024-02-22T22:40:49.900Z' + last_password_change: '2024-02-23T04:31:02.062Z' name: '' - password: md5$1nkCShSzP0ARIBpUTj1Tpu$490b92e1a413df57307885626beae1f9 + password: md5$KYhv7fBiMlEW0jpDqtzQCA$3b977a28b069ee768b6aa44df086ff56 session_nonce: null - username: 9563b504e4a341e39e3f213f98ea1d1d@example.com + username: c3f017f77ed64790a711a9bad1d24441@example.com model: sentry.user pk: 4 - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-22T22:40:49.982Z' + date_joined: '2024-02-23T04:31:02.133Z' email: '' flags: '0' is_active: true @@ -422,20 +422,20 @@ source: tests/sentry/backup/test_releases.py is_staff: false is_superuser: false is_unclaimed: false - last_active: '2024-02-22T22:40:49.982Z' + last_active: '2024-02-23T04:31:02.133Z' last_login: null last_password_change: null name: '' password: '' session_nonce: null - username: test-app-1d4ade27-c289-46c3-9110-c39b89b7780e + username: test-app-02631b95-aa4c-4ed7-a2ac-4be6f7ab54b4 model: sentry.user pk: 5 - fields: avatar_type: 0 avatar_url: null - date_joined: '2024-02-22T22:40:50.267Z' - email: ed62c7d26a994b00a4fdcadf2cdcbeda@example.com + date_joined: '2024-02-23T04:31:02.318Z' + email: ccd475fbfe6b4b2b8407b76ebd4d4d61@example.com flags: '0' is_active: true is_managed: false @@ -444,13 +444,13 @@ source: tests/sentry/backup/test_releases.py is_staff: true is_superuser: false is_unclaimed: false - last_active: '2024-02-22T22:40:50.267Z' + last_active: '2024-02-23T04:31:02.318Z' last_login: null - last_password_change: '2024-02-22T22:40:50.267Z' + last_password_change: '2024-02-23T04:31:02.318Z' name: '' - password: md5$zX52T0JoLYbBIbVQBuQFc7$7ff3e2852532efbed698aa77e1b39500 + password: md5$4vSZIXUDVjLZrW5C1Img3Y$a97b3ccd728cd287506ff0956c0229fe session_nonce: null - username: ed62c7d26a994b00a4fdcadf2cdcbeda@example.com + username: ccd475fbfe6b4b2b8407b76ebd4d4d61@example.com model: sentry.user pk: 6 - fields: @@ -493,24 +493,24 @@ source: tests/sentry/backup/test_releases.py model: sentry.userpermission pk: 1 - fields: - date_added: '2024-02-22T22:40:48.227Z' - date_updated: '2024-02-22T22:40:48.227Z' + date_added: '2024-02-23T04:31:01.480Z' + date_updated: '2024-02-23T04:31:01.480Z' name: test-admin-role permissions: '[]' model: sentry.userrole pk: 1 - fields: - date_added: '2024-02-22T22:40:48.234Z' - date_updated: '2024-02-22T22:40:48.234Z' + date_added: '2024-02-23T04:31:01.484Z' + date_updated: '2024-02-23T04:31:01.484Z' role: 1 user: 1 model: sentry.userroleuser pk: 1 - fields: - date_added: '2024-02-22T22:40:49.888Z' + date_added: '2024-02-23T04:31:02.054Z' is_global: false name: Saved query for test-org - organization: 4553540893736960 + organization: 4553542270779392 owner_id: null query: saved query for test-org sort: date @@ -519,9 +519,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.savedsearch pk: 1 - fields: - date_added: '2024-02-22T22:40:49.887Z' - last_seen: '2024-02-22T22:40:49.887Z' - organization: 4553540893736960 + date_added: '2024-02-23T04:31:02.053Z' + last_seen: '2024-02-23T04:31:02.053Z' + organization: 4553542270779392 query: some query for test-org query_hash: 7c69362cd42207b83f80087bc15ebccb type: 0 @@ -529,42 +529,42 @@ source: tests/sentry/backup/test_releases.py model: sentry.recentsearch pk: 1 - fields: - project: 4553540893736962 - team: 4553540893736961 + project: 4553542270779394 + team: 4553542270779393 model: sentry.projectteam pk: 1 - fields: - project: 4553540893736963 - team: 4553540893736961 + project: 4553542270779395 + team: 4553542270779393 model: sentry.projectteam pk: 2 - fields: - date_added: '2024-02-22T22:40:49.550Z' - project: 4553540893736962 + date_added: '2024-02-23T04:31:01.805Z' + project: 4553542270779394 user_id: 1 model: sentry.projectbookmark pk: 1 - fields: created_by: null - date_added: '2024-02-22T22:40:49.673Z' + date_added: '2024-02-23T04:31:01.912Z' date_deactivated: null date_last_used: null name: token 1 for test-org - organization_id: 4553540893736960 - project_last_used_id: 4553540893736962 + organization_id: 4553542270779392 + project_last_used_id: 4553542270779394 scope_list: '[''org:ci'']' token_hashed: ABCDEFtest-org token_last_characters: xyz1 model: sentry.orgauthtoken pk: 1 - fields: - date_added: '2024-02-22T22:40:49.181Z' + date_added: '2024-02-23T04:31:01.589Z' email: null flags: '0' has_global_access: true invite_status: 0 inviter_id: null - organization: 4553540893736960 + organization: 4553542270779392 role: owner token: null token_expires_at: null @@ -575,13 +575,13 @@ source: tests/sentry/backup/test_releases.py model: sentry.organizationmember pk: 1 - fields: - date_added: '2024-02-22T22:40:49.279Z' + date_added: '2024-02-23T04:31:01.645Z' email: null flags: '0' has_global_access: true invite_status: 0 inviter_id: null - organization: 4553540893736960 + organization: 4553542270779392 role: member token: null token_expires_at: null @@ -594,106 +594,106 @@ source: tests/sentry/backup/test_releases.py - fields: member: 2 requester_id: null - team: 4553540893736961 + team: 4553542270779393 model: sentry.organizationaccessrequest pk: 1 - fields: config: schedule: '* * * * *' schedule_type: 1 - date_added: '2024-02-22T22:40:49.732Z' - guid: 9f54b2b5-cc10-4227-8962-089ab2f0fb74 + date_added: '2024-02-23T04:31:01.954Z' + guid: 0bbe8513-89de-49a1-afd9-fda59d40256a is_muted: false name: '' - organization_id: 4553540893736960 - project_id: 4553540893736962 - slug: 9b304d6e13e3 + organization_id: 4553542270779392 + project_id: 4553542270779394 + slug: 919b0de88805 status: 0 type: 3 model: sentry.monitor pk: 1 - fields: - date_added: '2024-02-22T22:40:49.727Z' - name: reliably key hyena - organization_id: 4553540893736960 + date_added: '2024-02-23T04:31:01.951Z' + name: horribly intense pipefish + organization_id: 4553542270779392 model: sentry.environment pk: 1 - fields: - date_added: '2024-02-22T22:40:48.194Z' + date_added: '2024-02-23T04:31:01.461Z' email: owner model: sentry.email pk: 1 - fields: - date_added: '2024-02-22T22:40:49.032Z' + date_added: '2024-02-23T04:31:01.515Z' email: member model: sentry.email pk: 2 - fields: - date_added: '2024-02-22T22:40:49.812Z' + date_added: '2024-02-23T04:31:02.008Z' email: admin@localhost model: sentry.email pk: 3 - fields: - date_added: '2024-02-22T22:40:49.906Z' - email: 9563b504e4a341e39e3f213f98ea1d1d@example.com + date_added: '2024-02-23T04:31:02.066Z' + email: c3f017f77ed64790a711a9bad1d24441@example.com model: sentry.email pk: 4 - fields: - date_added: '2024-02-22T22:40:49.988Z' + date_added: '2024-02-23T04:31:02.143Z' email: '' model: sentry.email pk: 5 - fields: - date_added: '2024-02-22T22:40:50.274Z' - email: ed62c7d26a994b00a4fdcadf2cdcbeda@example.com + date_added: '2024-02-23T04:31:02.321Z' + email: ccd475fbfe6b4b2b8407b76ebd4d4d61@example.com model: sentry.email pk: 6 - fields: - date_added: '2024-02-22T22:40:49.886Z' - organization: 4553540893736960 + date_added: '2024-02-23T04:31:02.052Z' + organization: 4553542270779392 slug: test-tombstone-in-test-org model: sentry.dashboardtombstone pk: 1 - fields: created_by_id: 1 - date_added: '2024-02-22T22:40:49.880Z' + date_added: '2024-02-23T04:31:02.049Z' filters: null - last_visited: '2024-02-22T22:40:49.880Z' - organization: 4553540893736960 + last_visited: '2024-02-23T04:31:02.049Z' + organization: 4553542270779392 title: Dashboard 1 for test-org visits: 1 model: sentry.dashboard pk: 1 - fields: condition: '{"op":"equals","name":"environment","value":"prod"}' - condition_hash: e87e936dd55117a7b720bef36da100d39a715d19 + condition_hash: 9643bc5e5d4bff9a038a65c929ae14763ac5d94b created_by_id: null - date_added: '2024-02-22T22:40:49.720Z' - end_date: '2024-02-22T23:40:49.714Z' + date_added: '2024-02-23T04:31:01.946Z' + end_date: '2024-02-23T05:31:01.943Z' is_active: true is_org_level: false notification_sent: false num_samples: 100 - organization: 4553540893736960 + organization: 4553542270779392 query: environment:prod event.type:transaction rule_id: 1 sample_rate: 0.5 - start_date: '2024-02-22T22:40:49.714Z' + start_date: '2024-02-23T04:31:01.943Z' model: sentry.customdynamicsamplingrule pk: 1 - fields: - project: 4553540893736962 + project: 4553542270779394 value: 1 model: sentry.counter pk: 1 - fields: config: {} - date_added: '2024-02-22T22:40:49.594Z' + date_added: '2024-02-23T04:31:01.855Z' default_global_access: true default_role: 50 flags: '0' last_sync: null - organization_id: 4553540893736960 + organization_id: 4553542270779392 provider: sentry sync_time: null model: sentry.authprovider @@ -709,16 +709,16 @@ source: tests/sentry/backup/test_releases.py - 3 key4: nested_key: nested_value - date_added: '2024-02-22T22:40:49.629Z' + date_added: '2024-02-23T04:31:01.890Z' ident: 123456789test-org - last_synced: '2024-02-22T22:40:49.629Z' - last_verified: '2024-02-22T22:40:49.629Z' + last_synced: '2024-02-23T04:31:01.890Z' + last_verified: '2024-02-23T04:31:01.890Z' user: 1 model: sentry.authidentity pk: 1 - fields: config: '""' - created_at: '2024-02-22T22:40:48.213Z' + created_at: '2024-02-23T04:31:01.470Z' last_used_at: null type: 1 user: 1 @@ -726,7 +726,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: config: '""' - created_at: '2024-02-22T22:40:49.050Z' + created_at: '2024-02-23T04:31:01.524Z' last_used_at: null type: 1 user: 2 @@ -734,10 +734,10 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: allowed_origins: null - date_added: '2024-02-22T22:40:49.567Z' - key: 25fce4be0612442aabe57abf0606e8f2 + date_added: '2024-02-23T04:31:01.828Z' + key: 3b72c55127fc4312a0ec7cb4418197b9 label: Default - organization_id: 4553540893736960 + organization_id: 4553542270779392 scope_list: '[]' scopes: '0' status: 0 @@ -745,11 +745,11 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: allowed_origins: '' - client_id: 242dc9d1f4137aebbb6b208c8fce148cc8b30674c9c30ad5b48b69d67fc09424 - client_secret: 404b0b13e6347b216334378aaa9f94e412dda990d4bb7f175979f44cde71efa7 - date_added: '2024-02-22T22:40:49.995Z' + client_id: 9d6c7a8f9b1d4cc8adaecd4295f79fc3cdf4199171eb7b308ef43516295c7879 + client_secret: 15116dca097b341fa8a86efdf162467d3354733828c83c40ce35ad6ca61a5760 + date_added: '2024-02-23T04:31:02.147Z' homepage_url: null - name: Evolving Penguin + name: Moral Manatee owner: 5 privacy_url: null redirect_uris: '' @@ -758,63 +758,63 @@ source: tests/sentry/backup/test_releases.py model: sentry.apiapplication pk: 1 - fields: - team: 4553540893736961 + team: 4553542270779393 type: 0 user_id: null model: sentry.actor pk: 1 - fields: - date_hash_added: '2024-02-22T22:40:48.187Z' + date_hash_added: '2024-02-23T04:31:01.459Z' email: owner is_verified: true user: 1 - validation_hash: jVpAQa79Vq5wqGUwlByC9ilP7G1JpoX7 + validation_hash: zZJcYCvOxkcNuKJaAbsWUlZGmb9fplYB model: sentry.useremail pk: 1 - fields: - date_hash_added: '2024-02-22T22:40:49.023Z' + date_hash_added: '2024-02-23T04:31:01.513Z' email: member is_verified: true user: 2 - validation_hash: C202nCF7ky0HhMQcLykaDUBZ1qZmvWbA + validation_hash: bgQxr6OOMgZUWgxAe6ihIXFRmnnQO5jF model: sentry.useremail pk: 2 - fields: - date_hash_added: '2024-02-22T22:40:49.810Z' + date_hash_added: '2024-02-23T04:31:02.006Z' email: admin@localhost is_verified: true user: 3 - validation_hash: kLnH5NClXLa8ZRalznceESTMt75gPHeQ + validation_hash: QEsrgyJ8BC6vbWrV0Sis1nutgjGNk4d8 model: sentry.useremail pk: 3 - fields: - date_hash_added: '2024-02-22T22:40:49.903Z' - email: 9563b504e4a341e39e3f213f98ea1d1d@example.com + date_hash_added: '2024-02-23T04:31:02.064Z' + email: c3f017f77ed64790a711a9bad1d24441@example.com is_verified: true user: 4 - validation_hash: PArm90phZ9JSbQpQpZxgrGhUvRb5NK49 + validation_hash: WM7D4wNVXh6nePN3InncuwY977kuCxb3 model: sentry.useremail pk: 4 - fields: - date_hash_added: '2024-02-22T22:40:49.985Z' + date_hash_added: '2024-02-23T04:31:02.140Z' email: '' is_verified: false user: 5 - validation_hash: 5CXYKIYzU7L0U1PwENJGxhs5fhXyYImC + validation_hash: 4ukLc605VkVAallFIYEtx2FNgPVSLqlj model: sentry.useremail pk: 5 - fields: - date_hash_added: '2024-02-22T22:40:50.270Z' - email: ed62c7d26a994b00a4fdcadf2cdcbeda@example.com + date_hash_added: '2024-02-23T04:31:02.320Z' + email: ccd475fbfe6b4b2b8407b76ebd4d4d61@example.com is_verified: true user: 6 - validation_hash: DDVNDM6iS4Jh8MCXsTR8mq7owhwxcAAR + validation_hash: vfZszVOLjIj4vhD2TwDRfnw8h8x8XGYz model: sentry.useremail pk: 6 - fields: aggregate: count() dataset: events - date_added: '2024-02-22T22:40:49.784Z' + date_added: '2024-02-23T04:31:01.987Z' environment: null query: level:error resolution: 60 @@ -825,7 +825,7 @@ source: tests/sentry/backup/test_releases.py - fields: aggregate: count() dataset: events - date_added: '2024-02-22T22:40:49.823Z' + date_added: '2024-02-23T04:31:02.015Z' environment: null query: level:error resolution: 60 @@ -836,7 +836,7 @@ source: tests/sentry/backup/test_releases.py - fields: aggregate: count() dataset: events - date_added: '2024-02-22T22:40:49.848Z' + date_added: '2024-02-23T04:31:02.032Z' environment: null query: test query resolution: 60 @@ -847,18 +847,18 @@ source: tests/sentry/backup/test_releases.py - fields: application: 1 author: A Company - creator_label: 9563b504e4a341e39e3f213f98ea1d1d@example.com + creator_label: c3f017f77ed64790a711a9bad1d24441@example.com creator_user: 4 - date_added: '2024-02-22T22:40:49.997Z' + date_added: '2024-02-23T04:31:02.148Z' date_deleted: null date_published: null - date_updated: '2024-02-22T22:40:50.212Z' + date_updated: '2024-02-23T04:31:02.274Z' events: '[]' is_alertable: false metadata: {} name: test app overview: null - owner_id: 4553540893736960 + owner_id: 4553542270779392 popularity: 1 proxy_user: 5 redirect_url: null @@ -899,26 +899,26 @@ source: tests/sentry/backup/test_releases.py scopes: '0' slug: test-app status: 0 - uuid: 0fd89d75-af5a-45bb-b0db-acf445bba9ca + uuid: b36fb84e-7298-4b3f-a5e9-d5b079bf4fd3 verify_install: true webhook_url: https://example.com/webhook model: sentry.sentryapp pk: 1 - fields: data: '{"conditions":[{"id":"sentry.rules.conditions.first_seen_event.FirstSeenEventCondition"},{"id":"sentry.rules.conditions.every_event.EveryEventCondition"}],"action_match":"all","filter_match":"all","actions":[{"id":"sentry.rules.actions.notify_event.NotifyEventAction"},{"id":"sentry.rules.actions.notify_event_service.NotifyEventServiceAction","service":"mail"}]}' - date_added: '2024-02-22T22:40:49.708Z' + date_added: '2024-02-23T04:31:01.938Z' environment_id: null label: '' owner: null - project: 4553540893736962 + project: 4553542270779394 source: 0 status: 0 model: sentry.rule pk: 1 - fields: - date_added: '2024-02-22T22:40:49.793Z' - date_updated: '2024-02-22T22:40:49.793Z' - project: 4553540893736962 + date_added: '2024-02-23T04:31:01.997Z' + date_updated: '2024-02-23T04:31:01.997Z' + project: 4553542270779394 query_extra: null snuba_query: 1 status: 1 @@ -927,9 +927,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 1 - fields: - date_added: '2024-02-22T22:40:49.833Z' - date_updated: '2024-02-22T22:40:49.833Z' - project: 4553540893736962 + date_added: '2024-02-23T04:31:02.019Z' + date_updated: '2024-02-23T04:31:02.019Z' + project: 4553542270779394 query_extra: null snuba_query: 2 status: 1 @@ -938,9 +938,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 2 - fields: - date_added: '2024-02-22T22:40:49.856Z' - date_updated: '2024-02-22T22:40:49.856Z' - project: 4553540893736962 + date_added: '2024-02-23T04:31:02.035Z' + date_updated: '2024-02-23T04:31:02.035Z' + project: 4553542270779394 query_extra: null snuba_query: 3 status: 1 @@ -949,9 +949,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 3 - fields: - date_added: '2024-02-22T22:40:50.007Z' - date_updated: '2024-02-22T22:40:50.007Z' - project: 4553540893802496 + date_added: '2024-02-23T04:31:02.155Z' + date_updated: '2024-02-23T04:31:02.155Z' + project: 4553542270844929 query_extra: null snuba_query: 1 status: 1 @@ -960,9 +960,9 @@ source: tests/sentry/backup/test_releases.py model: sentry.querysubscription pk: 4 - fields: - date_added: '2024-02-22T22:40:50.288Z' - date_updated: '2024-02-22T22:40:50.288Z' - project: 4553540893802497 + date_added: '2024-02-23T04:31:02.331Z' + date_updated: '2024-02-23T04:31:02.331Z' + project: 4553542270844930 query_extra: null snuba_query: 1 status: 1 @@ -974,12 +974,12 @@ source: tests/sentry/backup/test_releases.py is_active: true organizationmember: 1 role: null - team: 4553540893736961 + team: 4553542270779393 model: sentry.organizationmemberteam pk: 1 - fields: integration_id: null - organization: 4553540893736960 + organization: 4553542270779392 sentry_app_id: null target_display: Sentry User target_identifier: '1' @@ -990,7 +990,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: integration_id: null - organization: 4553540893736960 + organization: 4553542270779392 sentry_app_id: 1 target_display: Sentry User target_identifier: '1' @@ -1000,23 +1000,23 @@ source: tests/sentry/backup/test_releases.py model: sentry.notificationaction pk: 2 - fields: - disable_date: '2024-02-22T22:40:49.713Z' + disable_date: '2024-02-23T04:31:01.942Z' opted_out: false - organization: 4553540893736960 + organization: 4553542270779392 rule: 1 - sent_final_email_date: '2024-02-22T22:40:49.713Z' - sent_initial_email_date: '2024-02-22T22:40:49.713Z' + sent_final_email_date: '2024-02-23T04:31:01.942Z' + sent_initial_email_date: '2024-02-23T04:31:01.942Z' model: sentry.neglectedrule pk: 1 - fields: environment: 1 is_hidden: null - project: 4553540893736962 + project: 4553542270779394 model: sentry.environmentproject pk: 1 - fields: dashboard: 1 - date_added: '2024-02-22T22:40:49.881Z' + date_added: '2024-02-23T04:31:02.050Z' description: null detail: null display_type: 0 @@ -1030,57 +1030,60 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: custom_dynamic_sampling_rule: 1 - project: 4553540893736962 + project: 4553542270779394 model: sentry.customdynamicsamplingruleproject pk: 1 - fields: application: 1 - date_added: '2024-02-22T22:40:50.132Z' - expires_at: '2024-02-23T06:40:50.132Z' + date_added: '2024-02-23T04:31:02.232Z' + expires_at: '2024-02-23T12:31:02.232Z' hashed_refresh_token: null hashed_token: null name: null - refresh_token: 187fd18054b14398f0e087f239c76bc0ad8fa7f2ea0454df1f24e53f1e0c65ad + refresh_token: 6fc204ed7fd9c2b08c9597b86c469fe5c928ca1b0c00e754893ea2df426fb19f scope_list: '[]' scopes: '0' - token: 68a1b99d71c5f4751749e43c7b5e32630775e4a4f9d8abd866cbea182d68b276 - token_last_characters: b276 + token: 81d2ba63f57dd176c8e5b905b2f43704b5241bee1882c4dd2c0e890deaf9c242 + token_last_characters: c242 + token_type: null user: 5 model: sentry.apitoken pk: 1 - fields: application: 1 - date_added: '2024-02-22T22:40:50.231Z' + date_added: '2024-02-23T04:31:02.284Z' expires_at: null hashed_refresh_token: null hashed_token: null name: create_exhaustive_sentry_app - refresh_token: d090ad1b837dad7d591a8d47aac24cc365762fc7594b10c0a1f51428918f6b3a + refresh_token: 3d8704d66770df434fb9c413c663421a41b9eec6d88c658b5f5ab0f6e76846b8 scope_list: '[]' scopes: '0' - token: c7460dce095328fef3ad7b24ac2945b9f930d467ebef099f401237a8ad683db6 - token_last_characters: 3db6 + token: 959fab1b1e3da760c2b7e9aad68b9fc717a75b0e1866bf69b141bf4208feb008 + token_last_characters: b008 + token_type: null user: 1 model: sentry.apitoken pk: 2 - fields: application: null - date_added: '2024-02-22T22:40:50.348Z' + date_added: '2024-02-23T04:31:02.385Z' expires_at: null hashed_refresh_token: null hashed_token: null name: create_exhaustive_global_configs - refresh_token: 544f2a2188f0c283095af7073b3500d8ae0c954484f9fadfe122d90291584927 + refresh_token: ff74815bf89be28c46c6ecabf6ec0ab5d2df9dbf1de69adfedc4256c7fa2c7fe scope_list: '[]' scopes: '0' - token: 775879ae7c8fd6bfd3ec85cf17c326377ed0a3f04c3ac5d1e795f90af1f5682f - token_last_characters: 682f + token: e79b41fd1a92ac9e90fa88f48198795ff7a734b0e77d7330733b5696975f76f0 + token_last_characters: 76f0 + token_type: null user: 1 model: sentry.apitoken pk: 3 - fields: application: 1 - code: 5579b691e388e3524aa0d2d20c7b83dd65f03826c953ef9fb02dce209b80cb27 + code: 6e09f52d46de2a166829985a5bd65bbab067c9a5d3334940c2585128d99925a1 expires_at: '2022-01-01T11:11:00.000Z' redirect_uri: https://example.com scope_list: '[''openid'', ''profile'', ''email'']' @@ -1090,7 +1093,7 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: application: 1 - date_added: '2024-02-22T22:40:50.229Z' + date_added: '2024-02-23T04:31:02.283Z' scope_list: '[]' scopes: '0' user: 1 @@ -1098,7 +1101,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: application: null - date_added: '2024-02-22T22:40:50.347Z' + date_added: '2024-02-23T04:31:02.384Z' scope_list: '[]' scopes: '0' user: 1 @@ -1106,12 +1109,12 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: comparison_delta: null - date_added: '2024-02-22T22:40:49.787Z' - date_modified: '2024-02-22T22:40:49.787Z' + date_added: '2024-02-23T04:31:01.991Z' + date_modified: '2024-02-23T04:31:01.991Z' include_all_projects: true monitor_type: 0 - name: Special Basilisk - organization: 4553540893736960 + name: Chief Drake + organization: 4553542270779392 owner: null resolve_threshold: null snuba_query: 1 @@ -1124,12 +1127,12 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: comparison_delta: null - date_added: '2024-02-22T22:40:49.827Z' - date_modified: '2024-02-22T22:40:49.827Z' + date_added: '2024-02-23T04:31:02.017Z' + date_modified: '2024-02-23T04:31:02.017Z' include_all_projects: false monitor_type: 1 - name: Pure Kiwi - organization: 4553540893736960 + name: Funny Hyena + organization: 4553542270779392 owner: null resolve_threshold: null snuba_query: 2 @@ -1142,12 +1145,12 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: comparison_delta: null - date_added: '2024-02-22T22:40:49.854Z' - date_modified: '2024-02-22T22:40:49.854Z' + date_added: '2024-02-23T04:31:02.034Z' + date_modified: '2024-02-23T04:31:02.034Z' include_all_projects: false monitor_type: 0 - name: Well Prawn - organization: 4553540893736960 + name: Humble Shark + organization: 4553542270779392 owner: null resolve_threshold: null snuba_query: 3 @@ -1176,13 +1179,13 @@ source: tests/sentry/backup/test_releases.py - fields: api_grant: null api_token: 1 - date_added: '2024-02-22T22:40:50.058Z' + date_added: '2024-02-23T04:31:02.186Z' date_deleted: null - date_updated: '2024-02-22T22:40:50.092Z' - organization_id: 4553540893736960 + date_updated: '2024-02-23T04:31:02.210Z' + organization_id: 4553542270779392 sentry_app: 1 status: 1 - uuid: a575e13e-bd19-41bf-a050-b1feea0ec4d8 + uuid: 3c7d652c-467e-4da5-873a-b2c727bf50f1 model: sentry.sentryappinstallation pk: 1 - fields: @@ -1220,12 +1223,12 @@ source: tests/sentry/backup/test_releases.py type: alert-rule-action sentry_app: 1 type: alert-rule-action - uuid: 3760a013-d59b-4ef6-a244-3644c170ca50 + uuid: 0de6fb1a-bdac-4b0d-888e-e6a652913377 model: sentry.sentryappcomponent pk: 1 - fields: alert_rule: null - date_added: '2024-02-22T22:40:49.711Z' + date_added: '2024-02-23T04:31:01.940Z' owner_id: 1 rule: 1 until: null @@ -1233,7 +1236,7 @@ source: tests/sentry/backup/test_releases.py model: sentry.rulesnooze pk: 1 - fields: - date_added: '2024-02-22T22:40:49.710Z' + date_added: '2024-02-23T04:31:01.939Z' rule: 1 type: 1 user_id: null @@ -1241,26 +1244,26 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: action: 1 - project: 4553540893736962 + project: 4553542270779394 model: sentry.notificationactionproject pk: 1 - fields: action: 2 - project: 4553540893736962 + project: 4553542270779394 model: sentry.notificationactionproject pk: 2 - fields: alert_rule: 3 - date_added: '2024-02-22T22:40:49.865Z' + date_added: '2024-02-23T04:31:02.039Z' date_closed: null - date_detected: '2024-02-22T22:40:49.862Z' - date_started: '2024-02-22T22:40:49.862Z' + date_detected: '2024-02-23T04:31:02.038Z' + date_started: '2024-02-23T04:31:02.038Z' detection_uuid: null identifier: 1 - organization: 4553540893736960 + organization: 4553542270779392 status: 1 status_method: 3 - title: Just Cow + title: Crack Urchin type: 2 model: sentry.incident pk: 1 @@ -1268,8 +1271,8 @@ source: tests/sentry/backup/test_releases.py aggregates: null columns: null conditions: '' - date_added: '2024-02-22T22:40:49.883Z' - date_modified: '2024-02-22T22:40:49.883Z' + date_added: '2024-02-23T04:31:02.051Z' + date_modified: '2024-02-23T04:31:02.051Z' field_aliases: null fields: '[]' name: Test Query for test-org @@ -1281,8 +1284,8 @@ source: tests/sentry/backup/test_releases.py - fields: alert_rule: 1 alert_threshold: 100.0 - date_added: '2024-02-22T22:40:49.801Z' - label: Musical Egret + date_added: '2024-02-23T04:31:02.002Z' + label: Sought Troll resolve_threshold: null threshold_type: null model: sentry.alertruletrigger @@ -1290,27 +1293,27 @@ source: tests/sentry/backup/test_releases.py - fields: alert_rule: 2 alert_threshold: 100.0 - date_added: '2024-02-22T22:40:49.844Z' - label: Composed Ladybird + date_added: '2024-02-23T04:31:02.029Z' + label: Stable Satyr resolve_threshold: null threshold_type: null model: sentry.alertruletrigger pk: 2 - fields: alert_rule: 2 - date_added: '2024-02-22T22:40:49.829Z' - project: 4553540893736962 + date_added: '2024-02-23T04:31:02.018Z' + project: 4553542270779394 model: sentry.alertruleprojects pk: 1 - fields: alert_rule: 1 - date_added: '2024-02-22T22:40:49.791Z' - project: 4553540893736963 + date_added: '2024-02-23T04:31:01.995Z' + project: 4553542270779395 model: sentry.alertruleexcludedprojects pk: 1 - fields: alert_rule: 1 - date_added: '2024-02-22T22:40:49.796Z' + date_added: '2024-02-23T04:31:01.998Z' previous_alert_rule: null type: 1 user_id: null @@ -1318,7 +1321,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: alert_rule: 2 - date_added: '2024-02-22T22:40:49.834Z' + date_added: '2024-02-23T04:31:02.020Z' previous_alert_rule: null type: 1 user_id: null @@ -1326,7 +1329,7 @@ source: tests/sentry/backup/test_releases.py pk: 2 - fields: alert_rule: 3 - date_added: '2024-02-22T22:40:49.858Z' + date_added: '2024-02-23T04:31:02.036Z' previous_alert_rule: null type: 1 user_id: null @@ -1335,28 +1338,28 @@ source: tests/sentry/backup/test_releases.py - fields: alert_rule: 2 condition_type: 0 - date_added: '2024-02-22T22:40:49.840Z' - label: Active Sunfish + date_added: '2024-02-23T04:31:02.024Z' + label: Musical Falcon model: sentry.alertruleactivationcondition pk: 1 - fields: - date_added: '2024-02-22T22:40:49.874Z' - end: '2024-02-22T22:40:49.874Z' + date_added: '2024-02-23T04:31:02.044Z' + end: '2024-02-23T04:31:02.044Z' period: 1 - start: '2024-02-21T22:40:49.874Z' + start: '2024-02-22T04:31:02.044Z' values: '[[1.0, 2.0, 3.0], [1.5, 2.5, 3.5]]' model: sentry.timeseriessnapshot pk: 1 - fields: actor_id: 1 application_id: 1 - date_added: '2024-02-22T22:40:50.084Z' + date_added: '2024-02-23T04:31:02.205Z' events: '[]' - guid: c1685b2f23384ddcb34adc2b5b9c8ef8 + guid: bdadc0b9fe8c4ab08e9fc83bf4be2807 installation_id: 1 - organization_id: 4553540893736960 + organization_id: 4553542270779392 project_id: null - secret: 62dbd14d088260cdfb5cb4865244d6dbd1ae9f6b8021b1f62582bb022fde09fc + secret: 2398d25f77ea210916e5f8e0eed71d01725b6bf3c0fa6f3ce7311266eb5afbb5 status: 0 url: https://example.com/webhook version: 0 @@ -1365,40 +1368,40 @@ source: tests/sentry/backup/test_releases.py - fields: actor_id: 6 application_id: 1 - date_added: '2024-02-22T22:40:50.328Z' + date_added: '2024-02-23T04:31:02.361Z' events: '[''event.created'']' - guid: d14a425a144d41cfa1f5649aa03682a8 + guid: da97490466de46f2a6c87a143ccecff5 installation_id: 1 - organization_id: 4553540893736960 - project_id: 4553540893802497 - secret: 03dbe544bec476b205feb4c105ce98f4bb336bc794aae62bda347fd55ba1d24f + organization_id: 4553542270779392 + project_id: 4553542270844930 + secret: 9955c242a88862f39e64dd320bf83d28bb6d2dc22f8036a7608d3e9987972647 status: 0 url: https://example.com/sentry/webhook version: 0 model: sentry.servicehook pk: 2 - fields: - date_added: '2024-02-22T22:40:49.879Z' + date_added: '2024-02-23T04:31:02.048Z' incident: 1 - target_run_date: '2024-02-23T02:40:49.879Z' + target_run_date: '2024-02-23T08:31:02.048Z' model: sentry.pendingincidentsnapshot pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2024-02-22T22:40:49.878Z' - date_modified: '2024-02-22T22:40:49.878Z' + date_added: '2024-02-23T04:31:02.047Z' + date_modified: '2024-02-23T04:31:02.047Z' incident: 1 status: 1 model: sentry.incidenttrigger pk: 1 - fields: - date_added: '2024-02-22T22:40:49.876Z' + date_added: '2024-02-23T04:31:02.046Z' incident: 1 user_id: 1 model: sentry.incidentsubscription pk: 1 - fields: - date_added: '2024-02-22T22:40:49.875Z' + date_added: '2024-02-23T04:31:02.045Z' event_stats_snapshot: 1 incident: 1 total_events: 1 @@ -1407,7 +1410,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: comment: hello test-org - date_added: '2024-02-22T22:40:49.872Z' + date_added: '2024-02-23T04:31:02.043Z' incident: 1 notification_uuid: null previous_value: null @@ -1418,8 +1421,8 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: dashboard_widget_query: 1 - date_added: '2024-02-22T22:40:49.884Z' - date_modified: '2024-02-22T22:40:49.884Z' + date_added: '2024-02-23T04:31:02.052Z' + date_modified: '2024-02-23T04:31:02.052Z' extraction_state: disabled:not-applicable spec_hashes: '[]' spec_version: null @@ -1427,13 +1430,13 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2024-02-22T22:40:49.802Z' + date_added: '2024-02-23T04:31:02.002Z' query_subscription: 1 model: sentry.alertruletriggerexclusion pk: 1 - fields: alert_rule_trigger: 1 - date_added: '2024-02-22T22:40:49.821Z' + date_added: '2024-02-23T04:31:02.014Z' integration_id: null sentry_app_config: null sentry_app_id: null @@ -1445,7 +1448,7 @@ source: tests/sentry/backup/test_releases.py pk: 1 - fields: alert_rule_trigger: 2 - date_added: '2024-02-22T22:40:49.846Z' + date_added: '2024-02-23T04:31:02.031Z' integration_id: null sentry_app_config: null sentry_app_id: null