Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCTI Integration Error #27

Open
u-ahmad1 opened this issue Mar 28, 2024 · 0 comments
Open

OpenCTI Integration Error #27

u-ahmad1 opened this issue Mar 28, 2024 · 0 comments

Comments

@u-ahmad1
Copy link

Hi.
I have the following environment:
Opencti Version: 5.12.16
Wazuh Version: 4.7.3

I am trying to integrate OpenCTI with wazuh. It seems that query in the script custom-opencti.py is not working for me. I figured the issue was in the graphql query. I extracted the query from the script and tried it in Postman and I get the following error:

{
    "errors": [
        {
            "message": "Unknown type \"StixCyberObservablesFiltering\". Did you mean \"StixCyberObservablesOrdering\", \"StixCyberObservableConnection\", \"StixCyberObservableEdge\", \"StixCyberObservableEditMutations\", or \"StixCyberObservable\"?",
            "locations": [
                {
                    "line": 2,
                    "column": 57
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        },
        {
            "message": "Unknown type \"X509V3ExtensionsType\".",
            "locations": [
                {
                    "line": 266,
                    "column": 8
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        },
        {
            "message": "Unknown type \"XOpenCTICryptographicKey\". Did you mean \"CryptographicKey\"?",
            "locations": [
                {
                    "line": 284,
                    "column": 8
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        },
        {
            "message": "Unknown type \"XOpenCTICryptocurrencyWallet\". Did you mean \"CryptocurrencyWallet\"?",
            "locations": [
                {
                    "line": 287,
                    "column": 8
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        },
        {
            "message": "Unknown type \"XOpenCTIHostname\".",
            "locations": [
                {
                    "line": 290,
                    "column": 8
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        },
        {
            "message": "Unknown type \"XOpenCTIText\". Did you mean \"OpenCtiFile\"?",
            "locations": [
                {
                    "line": 293,
                    "column": 8
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        },
        {
            "message": "Unknown type \"XOpenCTIUserAgent\".",
            "locations": [
                {
                    "line": 296,
                    "column": 8
                }
            ],
            "extensions": {
                "code": "GRAPHQL_VALIDATION_FAILED"
            }
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant