{"id":19873077,"url":"https://github.com/checkpointsw/smart-console-extensions","last_synced_at":"2025-05-02T09:31:31.783Z","repository":{"id":40293874,"uuid":"168524846","full_name":"CheckPointSW/smart-console-extensions","owner":"CheckPointSW","description":"An extension can use JavaScript to interact with SmartConsole. The interactions provide access to information, such as the extension location context, and can perform certain basic operations. For example, navigate to a rule. Interactions can return data asynchronously by matching callbacks.","archived":false,"fork":false,"pushed_at":"2024-06-23T15:02:24.000Z","size":2818,"stargazers_count":22,"open_issues_count":15,"forks_count":11,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-07T00:51:12.152Z","etag":null,"topics":["management-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CheckPointSW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-31T12:54:06.000Z","updated_at":"2023-10-17T22:38:10.000Z","dependencies_parsed_at":"2023-02-06T12:01:14.732Z","dependency_job_id":null,"html_url":"https://github.com/CheckPointSW/smart-console-extensions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fsmart-console-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fsmart-console-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fsmart-console-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Fsmart-console-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheckPointSW","download_url":"https://codeload.github.com/CheckPointSW/smart-console-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252015833,"owners_count":21680831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["management-api"],"created_at":"2024-11-12T16:17:43.248Z","updated_at":"2025-05-02T09:31:31.369Z","avatar_url":"https://github.com/CheckPointSW.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smart-console-interactions\n\n\u003e A JavaScript library to interact with SmartConsole Extension Platform\n\n## Installation\n\n```\n$ npm install smart-console-interactions\n```\n\n## Basic Usage\n\n```jsx\nimport SmartConsoleInteractions from 'smart-console-interactions';\n.\n.\nconst interactions = new SmartConsoleInteractions(demoInteraction);\nconst context = await this.interactions.getContextObject();\n```\n\n## API\n\n**Functions**\n\n- `query` - Execute query to get objects from the Security Management API.\n- `getContextObject` -Extension context provided by SmartConsole.\n- `requestCommit` - Request SmartConsole user to execute list of commands. Used by extensions to apply changes by SmartConsole user private session.\n- `navigate` - Request SmartConsole to navigate to a rule.\n- `closeExtensionWindow` - Request SmartConsole to close the extension window.\n\nSee [SmartConsole Extension Developer Guide](https://sc1.checkpoint.com/documents/SmartConsole/Extensions/index.html?ref=git) for additional information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Fsmart-console-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckpointsw%2Fsmart-console-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Fsmart-console-extensions/lists"}