auto-tag icon indicating copy to clipboard operation
auto-tag copied to clipboard

Custom Tags - Length exception

Open jr-air opened this issue 6 years ago • 3 comments

Hi, we noticed we are occasionally hitting a "length" limit when using custom tags. AWS seems to have an upper limit of 256 chars in one request, but since our accounts are federated, sometimes the combination of all our tags exceeds this limit. Is there any easy way to update tagging to multiple request instead of a single api call?

'1 validation error detected: Value '{AutoTag_ClientInfo=SourceIP: 71.38.00.00, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0, AutoTag_UserIdentityType=AssumedRole, AutoTag_CreateTime=2020-01-20T03:08:24Z, AutoTag_Creator=arn:aws:sts::750000000000:assumed-role/AWS-Role-xxxxxxx/xxxx}' at 'tags' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 256, Member must have length greater than or equal to 0, Member must satisfy regular expression pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$]' ]

jr-air avatar Jan 22 '20 00:01 jr-air

Hi @jr-air, this is interesting, I'll take a look..

rayjanoka avatar Jan 22 '20 23:01 rayjanoka

Yes, we added three custom tags to our deployment.

Thanks,

Jose Rivera Analyst - Information Security

From: Ray [email protected] Sent: Wednesday, January 22, 2020 3:30 PM To: GorillaStack/auto-tag [email protected] Cc: Jose Rivera [email protected]; Mention [email protected] Subject: [EXTERNAL] Re: [GorillaStack/auto-tag] Custom Tags - Length exception (#77)

Are you using the custom tags feature?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/GorillaStack/auto-tag/issues/77?email_source=notifications&email_token=AOLAH6RVLZ72HUOGKZHLPOTQ7DJHHA5CNFSM4KJ547C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJVPMDI#issuecomment-577435149, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOLAH6XQG2WWRZVUAWJQWSTQ7DJHHANCNFSM4KJ547CQ.

Caution: Sender is from outside Allegiant Travel Company. Take caution before opening links/attachments or replying with sensitive data. If suspicious, forward to [email protected]mailto:[email protected]

jr-air avatar Jan 22 '20 23:01 jr-air

Seems like most of the APIs have this limit, I'm working on a patch. Thanks for passing this along.

rayjanoka avatar Jan 27 '20 00:01 rayjanoka