mozilla-iam / cis

Home of Mozilla IAM change integration service repository.
Mozilla Public License 2.0
10 stars 22 forks source link

Flat profile instead of individual columns #419

Closed andrewkrug closed 5 years ago

andrewkrug commented 5 years ago

This now represents the flattened profile as a singular map object.

andrewkrug commented 5 years ago

This code makes this work btw:

aws dynamodb scan \
    --table-name testing-identity-vault \
    --projection-expression "flat_profile" \
    --filter-expression 'contains(flat_profile.access_information.hris.managers_primary_work_email,:mpwe)' \
    --expression-attribute-values '{":mpwe":{"S":"jbryner@mozilla.com"}}' \
    --page-size 100