Thismeans that the exported GraphQLISODateTime scalar is registered in schema under a changed name - DateTimeISO. If you don't plan to use other DateTime scalar in your project and you need to restore the existing scalar name for an easy upgrade to the latest TypeGraphQL version (without rewriting your GraphQL queries), here's a simple snippet for you to use.
An alternative solution would be to just search for DateTime via CTRL+F in your codebase and replace with DateTimeISO in your queries, if you don't need the backward compatibility for existing released client apps.
In previous releases, this feature was build upon the graphql-subscriptions package and it's PubSub system.However, it's become unmaintained in the last years and some alternatives has been developed in the meantime.
So since v2.0, TypeGraphQL relies on the new @graphql-yoga/subscriptions package which is built on top of latest ECMAScript features. It also has own PubSub implementation which works in a similar fashion, but has a slightly different API.
The reason for this change is that @graphql-yoga/subscriptions package allows to create a type-safe PubSub instance via the generic createPubSub function, so you can add type info about the topics and params required while using .publish() method.
Be aware that you can use any PubSub system you want, not only the graphql-yoga one.The only requirement is to comply with the exported PubSub interface - having proper .subscribe() and .publish() methods.
Hence, the @PubSub decorator was removed - please use dependency injection system if you don't want to have a hardcoded import. The corresponding Publisher type was also removed as it was not needed anymore.
As TypeGraphQL uses @graphql-yoga/subscriptions under the hood, it also aims to use its features. And one of the extension to the old PubSub system used in v1.x is ability to not only use dynamic topics but a topic with a dynamic id.
You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook.After you successfully execute a command, a DBot message appears in the War Room with the command details.
Dismiss or snooze the alerts matching the given filter. Either policy IDs or alert IDs must be provided. When no absolute time nor relative time arguments are provided, the default time range is all times. For snoozing, provide "snooze_unit" and "snooze_value" arguments.
Generates and returns a list of remediation commands for the specified alerts and policies. Data returned for a successful call include fully constructed commands for remediation. Either a policy ID or alert IDs must be provided. The returned information can be retrieved in the UI by clicking the "Remediate" button under the "Actions" column for supported alerts. When no absolute time nor relative time arguments are provided, the default time range is all times.
Remediates the alert with the specified ID, if that alert is associated with a remediable policy. In order to check what remediation would run, use the "prisma-cloud-remediation-command-list" command first.
Search configuration inventory on the Prisma Cloud platform using RQL language. Use this command for all queries that start with "config". When no absolute time nor relative time arguments are provided, the default time range is all times.
Search events inventory on the Prisma Cloud platform using RQL language. Use this command for all queries that start with "event". When no absolute time nor relative time arguments are provided, the default time range is all times.
Search networks inventory on the Prisma Cloud platform using RQL language. Use this command for all queries that start with "networks". When no absolute time nor relative time arguments are provided, the default time range is all times. In order to limit the results returning, use "limit search records to" at the end of the RQL query, followed by a value from one of these options: 1, 10, 100, 1000, and 10,000.
Trigger asynchronous scan of all resources to refresh the current state at Prisma Cloud Code Security. In order to use this command, the "Code Security" module needs to be enabled and accessible in the Prisma Cloud UI.
3a8082e126