A method of generating data in an oil and gas supply chain for compatibility with external systems, comprising: capturing, by a gateway, collected data from at least a first set of sensors; storing, by the gateway, the collected data in a secure intermediary hardware platform comprising at least one software component; and adding, by the gateway, attributes to the collected data using a business rules engine of the gateway to create enhanced data, the method wherein at least part of the collected data sent to the secure intermediary hardware platform is received, by the gateway, from at least one of a secure/trusted sensor and a secure/trusted industrial control system, ICS, connected with the first set of sensors located along the oil and gas supply chain, and further comprising, at the gateway, securely collecting and verifying the collected data from at least one sensor of the first set of sensors using the at least one of the secure/trusted sensors and ICS, checking the collected and verified data to confirm the accuracy of information in the collected data prior to transferring them to the secure intermediary hardware platform, and protecting the secure intermediary hardware platform from at least one of tampering, injection of unwanted data and unauthorized access, wherein the checking of the collected and verified data to confirm the accuracy of information in the collected data is performed by comparing the collected data with that from other nearby sensors measuring similar or related physical phenomena to make sure they are coherent, and optionally wherein machine learning techniques for anomaly detection are performed on past and present data of the collected data to detect anomalous sensor readings. capturing, by a gateway, collected data from at least a first set of sensors; storing, by the gateway, the collected data in a secure intermediary hardware platform comprising at least one software component; and adding, by the gateway, attributes to the collected data using a business rules engine of the gateway to create enhanced data, the method wherein at least part of the collected data sent to the secure intermediary hardware platform is received, by the gateway, from at least one of a secure/trusted sensor and a secure/trusted industrial control system, ICS, connected with the first set of sensors located along the oil and gas supply chain, and further comprising, at the gateway, securely collecting and verifying the collected data from at least one sensor of the first set of sensors using the at least one of the secure/trusted sensors and ICS, checking the collected and verified data to confirm the accuracy of information in the collected data prior to transferring them to the secure intermediary hardware platform, and protecting the secure intermediary hardware platform from at least one of tampering, injection of unwanted data and unauthorized access, wherein the checking of the collected and verified data to confirm the accuracy of information in the collected data is performed by comparing the collected data with that from other nearby sensors measuring similar or related physical phenomena to make sure they are coherent, and optionally wherein machine learning techniques for anomaly detection are performed on past and present data of the collected data to detect anomalous sensor readings. <EOS>