title: checkov custom policy working only with terraform code and not with cloudformation
body: <p>I created a Checkov custom YAML policy and noticed that only terraform files are getting scanned with the custom policy. Did not find any documentation that confirms this as the expected behavior. How can I scan cloudformation code with custom policy?</p>
  <p>Here is the custom policy I used (Basic query) - <a href="https://www.checkov.io/3.Custom%20Policies/Examples.html" rel="nofollow noreferrer">https://www.checkov.io/3.Custom%20Policies/Examples.html</a></p>
  <p>Below are the commands</p>
  <pre><code># cd to cfn folder
  # my custom policy is in my_extra_checks folder
  checkov -d . --external-checks-dir my_extra_checks
  </code></pre>
  <p>output has other scans but not the custom scan.</p>
  <pre><code>cloudformation scan results:
  Passed checks: 1, Failed checks: 1, Skipped checks: 0
  </code></pre>