{
  "_meta": {
    "documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-dll.html",
    "ecs_version": "8.7.0-dev"
  },
  "template": {
    "mappings": {
      "properties": {
        "dll": {
          "properties": {
            "code_signature": {
              "properties": {
                "digest_algorithm": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "exists": {
                  "type": "boolean"
                },
                "signing_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "status": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "subject_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "team_id": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "timestamp": {
                  "type": "date"
                },
                "trusted": {
                  "type": "boolean"
                },
                "valid": {
                  "type": "boolean"
                }
              }
            },
            "hash": {
              "properties": {
                "md5": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha1": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha256": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha384": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sha512": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "ssdeep": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "tlsh": {
                  "ignore_above": 1024,
                  "type": "keyword"
                }
              }
            },
            "name": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "path": {
              "ignore_above": 1024,
              "type": "keyword"
            },
            "pe": {
              "properties": {
                "architecture": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "company": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "description": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "file_version": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "go_import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "go_imports": {
                  "type": "flattened"
                },
                "go_imports_names_entropy": {
                  "type": "long"
                },
                "go_imports_names_var_entropy": {
                  "type": "long"
                },
                "go_stripped": {
                  "type": "boolean"
                },
                "imphash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "import_hash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "imports": {
                  "type": "flattened"
                },
                "imports_names_entropy": {
                  "type": "long"
                },
                "imports_names_var_entropy": {
                  "type": "long"
                },
                "original_file_name": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "pehash": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "product": {
                  "ignore_above": 1024,
                  "type": "keyword"
                },
                "sections": {
                  "properties": {
                    "entropy": {
                      "type": "long"
                    },
                    "name": {
                      "ignore_above": 1024,
                      "type": "keyword"
                    },
                    "physical_size": {
                      "type": "long"
                    },
                    "var_entropy": {
                      "type": "long"
                    },
                    "virtual_size": {
                      "type": "long"
                    }
                  },
                  "type": "nested"
                }
              }
            }
          }
        }
      }
    }
  }
}
