|
2 | 2 | "meta": { |
3 | 3 | "name": "ta_cisco_webex_add_on_for_splunk", |
4 | 4 | "displayName": "Cisco Webex Add-on for Splunk", |
5 | | - "version": "1.2.0", |
| 5 | + "version": "1.3.0", |
6 | 6 | "restRoot": "ta_cisco_webex_add_on_for_splunk", |
7 | | - "schemaVersion": "0.0.9", |
| 7 | + "schemaVersion": "0.0.10", |
8 | 8 | "supportedThemes": [ |
9 | 9 | "light", |
10 | 10 | "dark" |
|
388 | 388 | "access_token_endpoint": "/v1/access_token", |
389 | 389 | "oauth_state_enabled": false |
390 | 390 | } |
| 391 | + }, |
| 392 | + { |
| 393 | + "type": "checkbox", |
| 394 | + "label": "Gov Account", |
| 395 | + "help": "Check this option if you are using a Gov Account.", |
| 396 | + "field": "is_gov_account" |
| 397 | + }, |
| 398 | + { |
| 399 | + "field": "gov_api_reference_link", |
| 400 | + "label": "", |
| 401 | + "type": "helpLink", |
| 402 | + "options": { |
| 403 | + "text": "Click here to learn more about the FedRAMP API limitations.", |
| 404 | + "link": "https://developer-usgov.webex.com/docs/api/guides/api-support" |
| 405 | + } |
391 | 406 | } |
392 | 407 | ] |
393 | 408 | }, |
|
555 | 570 | ] |
556 | 571 | }, |
557 | 572 | "services": [ |
| 573 | + { |
| 574 | + "template": "input_with_helper", |
| 575 | + "name": "webex_generic_endpoint", |
| 576 | + "title": "Webex Generic Endpoint", |
| 577 | + "entity": [ |
| 578 | + { |
| 579 | + "field": "name", |
| 580 | + "label": "Name", |
| 581 | + "type": "text", |
| 582 | + "help": "Enter a unique name for the data input", |
| 583 | + "required": true, |
| 584 | + "validators": [ |
| 585 | + { |
| 586 | + "type": "regex", |
| 587 | + "pattern": "^[a-zA-Z]\\w*$", |
| 588 | + "errorMsg": "Input Name must start with a letter and followed by alphabetic letters, digits or underscores." |
| 589 | + }, |
| 590 | + { |
| 591 | + "type": "string", |
| 592 | + "minLength": 1, |
| 593 | + "maxLength": 100, |
| 594 | + "errorMsg": "Length of input name should be between 1 and 100" |
| 595 | + } |
| 596 | + ] |
| 597 | + }, |
| 598 | + { |
| 599 | + "type": "interval", |
| 600 | + "field": "interval", |
| 601 | + "label": "Interval", |
| 602 | + "help": "Time interval of input in seconds", |
| 603 | + "required": true |
| 604 | + }, |
| 605 | + { |
| 606 | + "field": "index", |
| 607 | + "label": "Index", |
| 608 | + "type": "singleSelect", |
| 609 | + "defaultValue": "default", |
| 610 | + "options": { |
| 611 | + "endpointUrl": "data/indexes", |
| 612 | + "createSearchChoice": true, |
| 613 | + "denyList": "^_.*$" |
| 614 | + }, |
| 615 | + "required": true, |
| 616 | + "validators": [ |
| 617 | + { |
| 618 | + "type": "string", |
| 619 | + "minLength": 1, |
| 620 | + "maxLength": 80, |
| 621 | + "errorMsg": "Length of index name should be between 1 and 80." |
| 622 | + } |
| 623 | + ] |
| 624 | + }, |
| 625 | + { |
| 626 | + "field": "global_account", |
| 627 | + "label": "Global Account", |
| 628 | + "help": "", |
| 629 | + "required": true, |
| 630 | + "type": "singleSelect", |
| 631 | + "options": { |
| 632 | + "referenceName": "account" |
| 633 | + } |
| 634 | + }, |
| 635 | + { |
| 636 | + "field": "webex_endpoint", |
| 637 | + "label": "API Endpoint", |
| 638 | + "help": "The endpoint of the Webex API. Example: devices, devices/12345678, messages", |
| 639 | + "required": true, |
| 640 | + "type": "text", |
| 641 | + "validators": [ |
| 642 | + { |
| 643 | + "type": "regex", |
| 644 | + "pattern": "^(?!/).*", |
| 645 | + "errorMsg": "Do not include a leading slash (/) before the endpoint." |
| 646 | + } |
| 647 | + ] |
| 648 | + }, |
| 649 | + { |
| 650 | + "field": "webex_base_url", |
| 651 | + "label": "Webex Base API URL", |
| 652 | + "type": "text", |
| 653 | + "defaultValue": "webexapis.com", |
| 654 | + "required": true, |
| 655 | + "help": "Enter the base URL for the endpoint (usually webexapis.com). If the endpoint requires the analytics:read_all scope, you may need to use analytics.webexapis.com. Please check the endpoint documentation to confirm which to use." |
| 656 | + }, |
| 657 | + { |
| 658 | + "field": "start_time", |
| 659 | + "label": "Start Time", |
| 660 | + "help": "If required by the endpoint, add a start date and time in the format YYYY-MM-DDTHH:MM:SSZ (inclusive). It is recommended to set the start time to the current time.", |
| 661 | + "required": false, |
| 662 | + "type": "text", |
| 663 | + "validators": [ |
| 664 | + { |
| 665 | + "type": "regex", |
| 666 | + "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", |
| 667 | + "errorMsg": "Start time must be in the format YYYY-MM-DDTHH:MM:SSZ (example:2023-01-01T00:00:00Z)" |
| 668 | + } |
| 669 | + ] |
| 670 | + }, |
| 671 | + { |
| 672 | + "field": "end_time", |
| 673 | + "label": "End Time", |
| 674 | + "help": "End date and time in the format YYYY-MM-DDTHH:MM:SSZ.(Optional). End Time must be after the Start Time.", |
| 675 | + "required": false, |
| 676 | + "type": "text", |
| 677 | + "validators": [ |
| 678 | + { |
| 679 | + "type": "regex", |
| 680 | + "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", |
| 681 | + "errorMsg": "End time must be in the format YYYY-MM-DDTHH:MM:SSZ (example:2033-01-01T00:00:00Z)" |
| 682 | + } |
| 683 | + ] |
| 684 | + }, |
| 685 | + { |
| 686 | + "field": "query_params", |
| 687 | + "label": "Query Params", |
| 688 | + "help": "Add as comma-separated values additional query params to be included in the call of the API, each param will be concatenated to the URL you previously entered. Example: locationId=0000000, messageId=0000000, teamId=0000000.", |
| 689 | + "required": false, |
| 690 | + "type": "text" |
| 691 | + } |
| 692 | + ] |
| 693 | + }, |
558 | 694 | { |
559 | 695 | "template": "input_with_helper", |
560 | 696 | "name": "webex_meetings", |
|
0 commit comments