Ontology node properties statement warnings on S3 logging
module:AWS
### Expected behavior
> Describe what should be happening instead of the bug, for example: Cartography should not crash, the expected value isn't returned, the data schema is wrong, etc.
According to https://github.com/cartography-cncf/cartography/blob/4c31097deddad84fa874673ffb0e56c86f6f5b0e/cartography/graph/querybuilder.py#L294-L302, this warning message should not occur due to unit test..
### Actual behavior
> Describe what is actually happening.
.. but it is occurring.
### To Reproduce
> Steps to reproduce the behavior. Provide all data and inputs required to reproduce the issue.
Run AWS sync on typical environment.
### Logs
> If applicable, copy and paste your console log with the failing stack trace.
```
INFO:cartography.client.core.tx:Loaded 4 S3Bucket nodes
WARNING:cartography.graph.querybuilder:Field 'name' not found in node properties for node schema S3BucketPolicySchema
WARNING:cartography.graph.querybuilder:Field 'region' not found in node properties for node schema S3BucketPolicySchema
WARNING:cartography.graph.querybuilder:Field 'default_encryption' not found in node properties for node schema S3BucketPolicySchema
WARNING:cartography.graph.querybuilder:Field 'versioning_status' not found in node properties for node schema S3BucketPolicySchema
INFO:cartography.client.core.tx:Loaded 4 S3Bucket nodes
```
### Please complete the following information:
> - Cartography release version or commit hash [e.g. 0.12.0 or 95e8e11913e2a44a4d4682506d8364a638ceac69]
4c31097deddad84fa874673ffb0e56c86f6f5b0e
关闭于 2026-04-02 0 条评论