Attachments uploaded to the Assets objects through the following entry points are checked and filtered:
Object → Attachments
Object schema navigator → Attach Files
/rest/assets/1.0/attachments/object/{objectId}