lab7: цикл обновления секретов не зависит от bootCtx, маркеры сбоев на volume, восстановление staging по HTTPS, purge — остаточный риск
This commit is contained in:
@@ -124,7 +124,8 @@ def main():
|
||||
'worker DB role too broad: %s' % a['db'])
|
||||
check(denied(a['s3'].get('put s/*')) and denied(a['s3'].get('get o/*')) and denied(a['s3'].get('list bucket'))
|
||||
and denied(a['s3'].get('delete o/*')), 'worker S3 key too broad: %s' % a['s3'])
|
||||
check(denied(a['amqp'].get('publish attachments (job)')) and denied(a['amqp'].get('purge attachment.process')),
|
||||
check(denied(a['amqp'].get('publish attachments (job)')) and denied(a['amqp'].get('declare queue evil'))
|
||||
and denied(a['amqp'].get('consume attachment.dead (DLQ)')),
|
||||
'worker broker rights too broad: %s' % a['amqp'])
|
||||
check(denied(a['api_as_lb'].get('result')), 'worker certificate accepted by API')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user